/* ═══════════════════════════════════════
   AUTH LAYOUT
═══════════════════════════════════════ */
.auth-layout {
    min-height: 100vh;
    width: 100%;
}


/* ═══════════════════════════════════════
   AUTH NAVBAR
═══════════════════════════════════════ */
.auth-navbar {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.auth-logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.1rem;
    font-weight: 400;
    letter-spacing: 0.55em;
    margin-right: -0.55em;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    transition: opacity 0.18s;
    white-space: nowrap;
}

.auth-logo:hover { opacity: 0.7; color: #111; }

/* ═══════════════════════════════════════
   LOGIN / REGISTER PAGE
═══════════════════════════════════════ */
.login-page.beauty {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #ffffff 0%, #f4f2ef 100%);
    padding: 2rem 1rem;
}

.login-page.beauty .login-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem 3rem 2.5rem;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.08);
    border: 0.5px solid #e8e8e8;
    animation: softFade 0.45s ease;
}

.login-page.beauty .login-brand {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 6px;
}

.login-page.beauty .login-title {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.login-page.beauty .login-subtitle {
    text-align: center;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}


/* ── FORM ── */
.login-page.beauty .form-group {
    margin-bottom: 1.4rem;
}

.login-page.beauty .form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    margin-bottom: 6px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.login-page.beauty .form-control {
    height: 52px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 12px;
    background: #fafaf8;
    border: 1.5px solid #e8e8e8;
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    color: #111;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.login-page.beauty .form-control:focus {
    border-color: #111;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(17,17,17,.06);
}

.login-page.beauty .validation-message {
    font-size: 12px;
    color: #e53935;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}


/* ── BUTTON ── */
.login-page.beauty .btn-dark {
    width: 100%;
    height: 52px;
    border-radius: 100px;
    background: #111;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
    margin-top: 0.5rem;
}

.login-page.beauty .btn-dark:hover {
    background: #2a2a2a;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0,0,0,.22);
}

.login-page.beauty .btn-dark:active { transform: scale(0.98); }


/* ── LINKS ── */
.login-page.beauty a {
    color: #111;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.18s;
}

.login-page.beauty a:hover { opacity: 0.7; }

.login-page.beauty .form-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 13px;
    color: #aaa;
}

.login-page.beauty .form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1.5rem 0;
    color: #ccc;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.login-page.beauty .form-divider::before,
.login-page.beauty .form-divider::after {
    content: '';
    flex: 1;
    height: 0.5px;
    background: #e8e8e8;
}


/* ── ACCOUNT TYPE SWITCH ── */
.account-type {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
    background: #f5f3f0;
    border-radius: 100px;
    padding: 4px;
}

.type-option {
    flex: 1;
    padding: 11px 0;
    border-radius: 100px;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.22s, color 0.22s, box-shadow 0.22s;
    font-family: 'DM Sans', sans-serif;
    color: #888;
}

.type-option.active {
    background: #111;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
}

.divider {
    margin: 1.5rem 0 1rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ccc;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 12px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 0.5px;
    background: #e8e8e8;
}


/* ═══════════════════════════════════════
   PASSWORD RULES CHECKLIST
═══════════════════════════════════════ */
.pw-rules {
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: #fafaf8;
    border: 1.5px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: -8px;
    margin-bottom: 18px;
    animation: softFade 0.22s ease;
}

.pw-rule {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.pw-rule i {
    font-size: 11px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.pw-rule--fail {
    color: #bbb;
}

.pw-rule--fail i {
    background: #f5f3f0;
    color: #ccc;
}

.pw-rule--pass {
    color: #2e7d32;
}

.pw-rule--pass i {
    background: #e8f5e9;
    color: #2e7d32;
}


/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 768px) {
    .auth-navbar {
        padding: 0 14px;
        height: 56px;
    }

    .auth-logo {
        font-size: 1.55rem;
        letter-spacing: 0.42em;
        margin-right: -0.42em;
    }

    .auth-links {
        gap: 14px;
    }

    .login-page.beauty {
        padding: 1.5rem 14px;
        align-items: center;
    }

    .login-page.beauty .login-card {
        max-width: 100%;
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
}

@media (max-width: 400px) {
    .login-page.beauty .login-card {
        padding: 1.75rem 1.25rem;
    }
}
