/* =========================
   SELLER LOGIN PAGE STYLING
   ========================= */

:root {
    --primary-accent: #22c55e;
    --branding-accent: #e5c36d;
    --hover-accent: #fde047;
    --bg-dark-navy: #080c12;
    --card-bg: rgba(16, 22, 30, 0.95);
    --border-color: #29313b;
    --text-main: #ffffff;
    --text-muted: #9ba4af;
    --text-sub: #dfe3e8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark-navy);
    overflow-x: hidden;
}

.seller-login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px clamp(16px, 5vw, 40px);
    background-color: #0c1118;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--branding-accent);
    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--primary-accent);
}

.brand > span {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-main);
    text-decoration: none;
}

.brand small {
    margin-top: 2px;
    color: var(--branding-accent);
    font-size: 9px;
    letter-spacing: 2px;
}
.seller-login-header .logo {
    color: var(--branding-accent);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
}

.seller-login-header .logo span {
    color: var(--text-main);
}

.seller-login-header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.seller-login-header nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.seller-login-header nav a:hover {
    color: var(--branding-accent);
}

/* LOGIN PAGE CONTAINER */
.seller-login-page {
    min-height: calc(100vh - 70px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
}

/* LOGIN CARD */
.seller-login-card {
    width: 100%;
    max-width: 420px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
}

/* LOGO MARK */
.login-logo {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 12px;
    background-color: #0b1016;
    border: 1px solid var(--border-color);
    color: var(--branding-accent);
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* HEADING */
.seller-login-card h1 {
    text-align: center;
    color: var(--text-main);
    font-size: clamp(24px, 5vw, 28px);
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}

.login-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin: 0 0 24px;
    line-height: 1.5;
}

/* FORM FIELDS */
.seller-login-card .form-group {
    margin-bottom: 18px;
}

.seller-login-card .form-group label {
    display: block;
    color: var(--text-sub);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.seller-login-card .form-group input {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 14px;
    background-color: #0b1016;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.seller-login-card .form-group input::placeholder {
    color: #6b7280;
}

.seller-login-card .form-group input:focus {
    border-color: var(--branding-accent);
    box-shadow: 0 0 0 3px rgba(229, 195, 109, 0.15);
}

/* PASSWORD FIELD & TOGGLE */
.password-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-field input {
    width: 100%;
    padding-right: 70px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--branding-accent);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 4px;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--hover-accent);
}

.password-toggle:focus {
    outline: none;
}

/* LOGIN OPTIONS */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 22px;
    font-size: 13px;
    gap: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
}

.remember-me input {
    accent-color: var(--branding-accent);
    width: 16px;
    height: 16px;
}

.forgot-password {
    color: var(--branding-accent);
    text-decoration: none;
    font-weight: 600;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* LOGIN BUTTON */
.login-button {
    width: 100%;
    min-height: 48px;
    padding: 13px 16px;
    border: none;
    border-radius: 10px;
    background-color: var(--branding-accent);
    color: #080c12;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.login-button:hover:not(:disabled) {
    background-color: var(--hover-accent);
    box-shadow: 0 6px 16px rgba(229, 195, 109, 0.25);
    transform: translateY(-1px);
}

.login-button:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* SLEEK FIXED TOP POPUP NOTIFICATION */
.login-message {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 90%;
    max-width: 440px;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    display: none;
}

.login-message.success {
    display: block;
    background-color: #064e3b;
    color: #22c55e;
    border: 1px solid #10b981;
    animation: slideDown 0.3s ease-out;
}

.login-message.error {
    display: block;
    background-color: #450a0a;
    color: #f87171;
    border: 1px solid #ef4444;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* REGISTER FOOTER SECTION */
.login-register {
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 22px;
    padding-top: 18px;
}

.login-register p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0 0 6px;
}

.login-register a {
    color: var(--branding-accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.login-register a:hover {
    text-decoration: underline;
}

/* =========================
   MOBILE RESPONSIVE BREAKPOINTS
   ========================= */
@media (max-width: 768px) {
    .seller-login-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
    }

    .seller-login-header nav {
        justify-content: center;
        width: 100%;
        gap: 14px;
        padding-top: 8px;
        border-top: 1px solid var(--border-color);
    }

    .seller-login-page {
        padding: 16px 12px;
        min-height: calc(100vh - 90px);
    }

    .seller-login-card {
        padding: 24px 18px;
        border-radius: 14px;
    }
}