/* ══════════════════════════════════════════════════════════════════════
   AUTHENTICATION & VERIFICATION — HAUTE-COUTURE EDITORIAL SYSTEM
   Warm Ecru Cream & Obsidian Dark Mode Harmonization
   ══════════════════════════════════════════════════════════════════════ */

.auth-page-wrapper {
    min-height: 100vh;
    background-color: var(--bg);
    color: var(--text);
    padding: 120px 20px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Background Atmospheric Elements */
.auth-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.auth-decor-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--bg-circle) 0%, transparent 70%);
    opacity: 0.45;
    filter: blur(40px);
}

.auth-decor-circle-1 {
    width: 600px;
    height: 600px;
    top: -150px;
    right: -100px;
}

.auth-decor-circle-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    left: -100px;
}

/* Main Auth Card */
.auth-card-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.auth-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: clamp(32px, 5vw, 48px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .auth-card {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--text);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.auth-monogram:hover {
    transform: rotate(360deg);
}

.auth-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent-warm);
    margin-bottom: 8px;
}

.auth-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.8vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.auth-subtitle {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-family: var(--font-body);
}

/* Thank You Editorial Quote Banner */
.auth-thankyou-banner {
    background-color: var(--bg-secondary);
    border-left: 3px solid var(--accent-warm);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin-bottom: 28px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text);
    font-style: italic;
    font-family: var(--font-serif);
}

.auth-thankyou-author {
    display: block;
    margin-top: 6px;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-warm);
}

/* Form Groups & Inputs */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text);
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.2s ease;
}

.auth-form-input {
    width: 100%;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 13px 16px 13px 44px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.auth-form-input:focus {
    border-color: var(--text);
    box-shadow: 0 0 0 3px rgba(20, 20, 20, 0.08);
    background-color: var(--bg-card);
}

[data-theme="dark"] .auth-form-input:focus {
    box-shadow: 0 0 0 3px rgba(243, 239, 234, 0.12);
}

.auth-input-wrapper:focus-within .auth-input-icon {
    color: var(--accent-warm);
}

.auth-form-input::placeholder {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Form Helper & Errors */
.field-error {
    font-size: 0.76rem;
    color: #E53935;
    margin-top: 4px;
    font-family: var(--font-body);
}

.non-field-errors {
    background-color: rgba(229, 57, 53, 0.08);
    border: 1px solid rgba(229, 57, 53, 0.25);
    border-radius: 8px;
    padding: 12px 16px;
    color: #E53935;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

/* Remember Me & Forgot Password Row */
.auth-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-top: -4px;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.auth-form-checkbox {
    accent-color: var(--text);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.auth-link {
    color: var(--accent-warm);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.auth-link:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* Primary Action Button */
.auth-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--bg-contrast);
    color: var(--text-inverse);
    border: 1px solid var(--bg-contrast);
    border-radius: 8px;
    padding: 14px 24px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.auth-btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.92;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
}

.auth-divider-line {
    flex: 1;
    height: 1px;
    background-color: var(--border);
}

.auth-divider-text {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--text);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-left: 4px;
}

/* ══════════════════════════════════════════════════════════════════════
   VERIFICATION CODE PAGE STYLING
   ══════════════════════════════════════════════════════════════════════ */
.verify-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--accent-warm);
    margin-bottom: 20px;
}

.masked-email-badge {
    display: inline-block;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 6px 16px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin: 12px 0 20px;
}

/* Verification Code Input (Large Centered Monospace) */
.code-input-container {
    margin: 18px 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-code-input {
    width: 100%;
    max-width: 320px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    padding: 16px 20px;
    background-color: var(--bg);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-code-input:focus {
    border-color: var(--accent-warm);
    box-shadow: 0 0 0 4px rgba(196, 149, 106, 0.18);
}

.code-expiration-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Resend Action Row */
.resend-row {
    margin-top: 24px;
    text-align: center;
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.resend-form {
    display: inline;
}

.resend-btn {
    background: none;
    border: none;
    color: var(--accent-warm);
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    padding: 0;
    margin-left: 6px;
    transition: opacity 0.2s ease;
}

.resend-btn:hover {
    opacity: 0.8;
}

/* Dev Mode Hint Badge */
.dev-code-hint {
    background-color: rgba(196, 149, 106, 0.1);
    border: 1px dashed var(--accent-warm);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: var(--accent-warm);
    text-align: center;
    font-family: var(--font-mono);
}

/* ══════════════════════════════════════════════════════════════════════
   USER PROFILE & NAVBAR DROPDOWN STYLING
   ══════════════════════════════════════════════════════════════════════ */
.nav-auth-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-auth-link {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    padding: 7px 12px;
    transition: color 0.2s ease;
}

.nav-auth-link:hover {
    color: var(--accent-warm);
}

.nav-auth-btn {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-inverse);
    background-color: var(--bg-contrast);
    border: 1px solid var(--bg-contrast);
    border-radius: 50px;
    padding: 7px 16px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-auth-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* User Menu in Navbar */
.nav-user-dropdown {
    position: relative;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 5px 12px 5px 6px;
    cursor: pointer;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-user-btn:hover {
    border-color: var(--text);
    background-color: var(--bg-card);
}

.user-avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-contrast);
    color: var(--text-inverse);
    font-size: 0.7rem;
    font-weight: 700;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1000;
}

.nav-user-dropdown.open .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dropdown-user-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
}

.dropdown-user-email {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border);
    margin: 6px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 0.82rem;
    color: var(--text);
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover {
    background-color: var(--bg-secondary);
    color: var(--accent-warm);
}

.dropdown-item.logout-item {
    color: #E53935;
}

.dropdown-item.logout-item:hover {
    background-color: rgba(229, 57, 53, 0.08);
    color: #E53935;
}

/* Profile Page Layout */
.profile-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: clamp(32px, 5vw, 48px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.profile-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(46, 125, 50, 0.1);
    color: #2E7D32;
    border: 1px solid rgba(46, 125, 50, 0.25);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

[data-theme="dark"] .verified-badge {
    background-color: rgba(129, 199, 132, 0.15);
    color: #81C784;
}

@media (max-width: 600px) {
    .auth-page-wrapper {
        padding: 100px 16px 60px;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .auth-code-input {
        font-size: 1.8rem;
        letter-spacing: 0.2em;
    }
}

/* ══════════════════════════════════════════════════════════════════════
   SPLIT MODAL LOGIN EXPERIENCE (MODERN ART & DRIBBBLE SYSTEM)
   ══════════════════════════════════════════════════════════════════════ */
.login-split-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 20px 70px;
    background: #EBEFF8;
    position: relative;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .login-split-page {
    background: #0B0E17;
}

.login-split-modal {
    width: 100%;
    max-width: 1020px;
    background: #FFFFFF;
    border-radius: 28px;
    box-shadow: 0 24px 60px -15px rgba(24, 32, 79, 0.12), 0 0 1px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .login-split-modal {
    background: #131826;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.6);
}

/* Left Form Panel */
.login-split-form-panel {
    padding: clamp(36px, 5vw, 56px) clamp(30px, 4.5vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-brand-header {
    margin-bottom: 24px;
}

.split-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.split-brand-mark:hover {
    transform: scale(1.08) rotate(2deg);
}

.split-heading-group {
    margin-bottom: 28px;
}

.split-page-title {
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.85rem, 2.5vw, 2.25rem);
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0 0 8px 0;
}

[data-theme="dark"] .split-page-title {
    color: #F8FAFC;
}

.split-page-subtitle {
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.92rem;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

[data-theme="dark"] .split-page-subtitle {
    color: #94A3B8;
}

/* Form Groups & Inputs */
.split-auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.split-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 580px) {
    .split-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.split-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.split-label {
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    color: #1F2937;
    letter-spacing: -0.01em;
}

[data-theme="dark"] .split-label {
    color: #E2E8F0;
}

.split-req-star {
    color: #EF4444;
    margin-left: 2px;
}

.split-input-control {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

[data-theme="dark"] .split-input-control {
    background: #1A2035;
    border-color: #2D3748;
    color: #F1F5F9;
}

.split-input-control::placeholder {
    color: #9CA3AF;
    font-size: 0.9rem;
}

[data-theme="dark"] .split-input-control::placeholder {
    color: #64748B;
}

.split-input-control:focus {
    border-color: #4A3AFF;
    box-shadow: 0 0 0 3.5px rgba(74, 58, 255, 0.15);
}

[data-theme="dark"] .split-input-control:focus {
    border-color: #6366F1;
    box-shadow: 0 0 0 3.5px rgba(99, 102, 241, 0.25);
}

/* Password Toggle Wrapper */
.split-pwd-wrapper {
    position: relative;
    width: 100%;
}

.split-pwd-wrapper .split-input-control {
    padding-right: 48px;
}

.split-pwd-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #9CA3AF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.2s ease;
}

.split-pwd-toggle:hover {
    color: #4A3AFF;
}

[data-theme="dark"] .split-pwd-toggle:hover {
    color: #818CF8;
}

/* Remember & Forgot Row */
.split-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.86rem;
    margin-top: 2px;
}

.split-remember-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

[data-theme="dark"] .split-remember-label {
    color: #CBD5E1;
}

.split-checkbox-input {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border: 1.5px solid #CBD5E1;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    background: #FFFFFF;
    position: relative;
    display: inline-grid;
    place-content: center;
    transition: all 0.18s ease;
}

[data-theme="dark"] .split-checkbox-input {
    background: #1A2035;
    border-color: #475569;
}

.split-checkbox-input:checked {
    background: #4A3AFF;
    border-color: #4A3AFF;
}

.split-checkbox-input:checked::before {
    content: "";
    width: 8px;
    height: 4px;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    transform: rotate(-45deg) translate(1px, -1px);
}

.split-forgot-link {
    color: #4A3AFF;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

[data-theme="dark"] .split-forgot-link {
    color: #818CF8;
}

.split-forgot-link:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* Primary Log In Button */
.split-btn-login {
    width: 100%;
    height: 48px;
    background: #4A3AFF;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px -5px rgba(74, 58, 255, 0.35);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-btn-login:hover {
    background: #3B2BE8;
    transform: translateY(-1.5px);
    box-shadow: 0 14px 28px -6px rgba(74, 58, 255, 0.45);
}

.split-btn-login:active {
    transform: translateY(0);
}

/* Divider */
.split-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0;
}

.split-divider-line {
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}

[data-theme="dark"] .split-divider-line {
    background: #2D3748;
}

.split-divider-text {
    font-size: 0.78rem;
    color: #9CA3AF;
    font-weight: 500;
}

[data-theme="dark"] .split-divider-text {
    color: #64748B;
}

/* Google OAuth Button */
.split-btn-google {
    width: 100%;
    height: 48px;
    background: #FFFFFF;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

[data-theme="dark"] .split-btn-google {
    background: #1A2035;
    border-color: #2D3748;
    color: #E2E8F0;
}

.split-btn-google:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

[data-theme="dark"] .split-btn-google:hover {
    background: #232A42;
    border-color: #3B4568;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.split-google-icon {
    flex-shrink: 0;
}

/* Footer Register Row */
.split-footer-row {
    text-align: center;
    margin-top: 24px;
    font-size: 0.88rem;
    color: #6B7280;
}

[data-theme="dark"] .split-footer-row {
    color: #94A3B8;
}

.split-register-link {
    color: #4A3AFF;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 4px;
    transition: opacity 0.2s ease;
}

[data-theme="dark"] .split-register-link {
    color: #818CF8;
}

.split-register-link:hover {
    opacity: 0.85;
}

/* Right Artwork Panel */
.login-split-art-panel {
    position: relative;
    background: #0B0E20;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
}

.split-artwork-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none;
    transition: transform 0.8s ease;
}

.login-split-modal:hover .split-artwork-image {
    transform: scale(1.02);
}

/* Field Errors */
.split-field-error {
    font-size: 0.78rem;
    color: #EF4444;
    font-weight: 500;
    margin-top: 3px;
}

.split-alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 10px;
    padding: 10px 14px;
    color: #DC2626;
    font-size: 0.84rem;
    margin-bottom: 16px;
}

.split-alert-info {
    background: rgba(74, 58, 255, 0.08);
    border: 1px solid rgba(74, 58, 255, 0.25);
    border-radius: 10px;
    padding: 10px 14px;
    color: #4A3AFF;
    font-size: 0.84rem;
    margin-bottom: 16px;
}

[data-theme="dark"] .split-alert-info {
    background: rgba(129, 140, 248, 0.12);
    border-color: rgba(129, 140, 248, 0.3);
    color: #A5B4FC;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .login-split-modal {
        grid-template-columns: 1fr;
        max-width: 480px;
        border-radius: 24px;
    }

    .login-split-art-panel {
        order: -1;
        height: 180px;
    }

    .login-split-form-panel {
        padding: 32px 24px 36px;
    }

    .split-brand-header {
        margin-bottom: 18px;
    }

    .split-heading-group {
        margin-bottom: 22px;
    }
}

/* ══════════════════════════════════════════════════════════════════════
   EDITORIAL HAUTE-COUTURE MINIMAL AUTHENTICATION (SATURN AESTHETIC)
   Warm Ecru Cream & Obsidian Dark Mode Harmonization
   ══════════════════════════════════════════════════════════════════════ */
.editorial-auth-page {
    min-height: 100vh;
    background-color: #F8F6F1;
    color: #1A1A1A;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 36px 48px;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .editorial-auth-page {
    background-color: #0E1015;
    color: #F5F3EF;
}

/* Atmospheric Organic Background Accents */
.editorial-bg-art {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Soft textured sphere (top-right, prominent in create account) */
.editorial-lunar-sphere {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(226, 216, 201, 0.65) 0%, rgba(214, 201, 182, 0.35) 50%, rgba(248, 246, 241, 0) 75%);
    filter: blur(25px);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .editorial-lunar-sphere {
    background: radial-gradient(circle at 40% 40%, rgba(35, 41, 56, 0.7) 0%, rgba(24, 28, 40, 0.4) 50%, transparent 75%);
    opacity: 0.5;
}

/* Soft botanical leaf shadow overlay (bottom-left, prominent in sign-in) */
.editorial-botanical-shadow {
    position: absolute;
    bottom: -60px;
    left: -80px;
    width: 440px;
    height: 440px;
    pointer-events: none;
    opacity: 0.18;
    filter: blur(10px);
    transform: rotate(-10deg);
}

[data-theme="dark"] .editorial-botanical-shadow {
    opacity: 0.06;
    filter: blur(14px) invert(1);
}

/* Top Navigation Bar */
.editorial-nav {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 20px;
}

.editorial-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1A1A1A;
    transition: opacity 0.2s ease;
}

[data-theme="dark"] .editorial-brand {
    color: #F5F3EF;
}

.editorial-brand:hover {
    opacity: 0.8;
}

.editorial-planet-icon {
    width: 28px;
    height: 24px;
    color: #1A1A1A;
    flex-shrink: 0;
}

[data-theme="dark"] .editorial-planet-icon {
    color: #F5F3EF;
}

.editorial-brand-text {
    font-family: var(--font-serif), 'Cinzel', Georgia, serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.editorial-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-body), 'Plus Jakarta Sans', sans-serif;
    font-size: 0.84rem;
    color: #4A4A4A;
    transition: color 0.2s ease;
}

[data-theme="dark"] .editorial-back-link {
    color: #A3A8B5;
}

.editorial-back-link:hover {
    color: #1A1A1A;
}

[data-theme="dark"] .editorial-back-link:hover {
    color: #FFFFFF;
}

.editorial-dash {
    display: inline-block;
    width: 24px;
    height: 1.5px;
    background-color: currentColor;
    transition: width 0.25s ease;
}

.editorial-back-link:hover .editorial-dash {
    width: 34px;
}

/* Center Form Container */
.editorial-center-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
}

/* Editorial Auth Mode Switch Tabs (Login / Register) */
.editorial-auth-tabs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid #E5E0D8;
    border-radius: 999px;
    padding: 4px;
    margin: 0 auto 24px;
    gap: 4px;
    width: fit-content;
}

[data-theme="dark"] .editorial-auth-tabs {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.editorial-auth-tab {
    font-family: var(--font-body), 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #737373;
    text-decoration: none;
    padding: 7px 24px;
    border-radius: 999px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .editorial-auth-tab {
    color: #9499A8;
}

.editorial-auth-tab.active {
    background: #1C1C1C;
    color: #FAF8F5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .editorial-auth-tab.active {
    background: #EDECE8;
    color: #12141A;
}

.editorial-auth-tab:not(.active):hover {
    color: #1A1A1A;
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .editorial-auth-tab:not(.active):hover {
    color: #F5F3EF;
    background: rgba(255, 255, 255, 0.05);
}

/* Titles */
.editorial-title {
    font-family: var(--font-serif), 'Playfair Display', Georgia, serif;
    font-size: clamp(2.35rem, 4.5vw, 2.9rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    color: #1A1A1A;
    text-align: center;
    line-height: 1.15;
    margin: 0 0 10px;
}

[data-theme="dark"] .editorial-title {
    color: #F5F3EF;
}

.editorial-subtitle {
    font-family: var(--font-body), 'Plus Jakarta Sans', sans-serif;
    font-size: 0.96rem;
    color: #737373;
    text-align: center;
    line-height: 1.5;
    margin: 0 0 34px;
}

[data-theme="dark"] .editorial-subtitle {
    color: #9499A8;
}

/* Form Styles */
.editorial-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.editorial-field-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.editorial-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #8C8C8C;
    pointer-events: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .editorial-input-icon {
    color: #6C7280;
}

.editorial-input {
    width: 100%;
    height: 52px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #E5E0D8;
    border-radius: 12px;
    padding: 0 48px 0 50px;
    font-family: var(--font-body), 'Plus Jakarta Sans', sans-serif;
    font-size: 0.94rem;
    color: #1A1A1A;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

[data-theme="dark"] .editorial-input {
    background: rgba(24, 27, 34, 0.85);
    border-color: #272B35;
    color: #EDECE8;
}

.editorial-input::placeholder {
    color: #9E9E9E;
    font-size: 0.92rem;
}

[data-theme="dark"] .editorial-input::placeholder {
    color: #686F80;
}

.editorial-field-wrap:focus-within .editorial-input {
    background: #FFFFFF;
    border-color: #1A1A1A;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.05);
}

[data-theme="dark"] .editorial-field-wrap:focus-within .editorial-input {
    background: #181B22;
    border-color: #EDECE8;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.editorial-field-wrap:focus-within .editorial-input-icon {
    color: #1A1A1A;
}

[data-theme="dark"] .editorial-field-wrap:focus-within .editorial-input-icon {
    color: #F5F3EF;
}

.editorial-input.no-right-icon {
    padding-right: 18px;
}

/* Eye Toggle Button */
.editorial-eye-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #8C8C8C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s ease;
}

[data-theme="dark"] .editorial-eye-btn {
    color: #6C7280;
}

.editorial-eye-btn:hover {
    color: #1A1A1A;
}

[data-theme="dark"] .editorial-eye-btn:hover {
    color: #F5F3EF;
}

/* Options / Checkbox Row */
.editorial-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-top: 4px;
    margin-bottom: 6px;
}

.editorial-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #4A4A4A;
    cursor: pointer;
    user-select: none;
    font-size: 0.88rem;
}

[data-theme="dark"] .editorial-checkbox-label {
    color: #A3A8B5;
}

.editorial-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border: 1.5px solid #D6D0C5;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.85);
    position: relative;
    display: inline-grid;
    place-content: center;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

[data-theme="dark"] .editorial-checkbox {
    background: #181B22;
    border-color: #383E4D;
}

.editorial-checkbox:checked {
    background: #1A1A1A;
    border-color: #1A1A1A;
}

[data-theme="dark"] .editorial-checkbox:checked {
    background: #EDECE8;
    border-color: #EDECE8;
}

.editorial-checkbox:checked::before {
    content: "";
    width: 8px;
    height: 4px;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    transform: rotate(-45deg) translate(1px, -1px);
}

[data-theme="dark"] .editorial-checkbox:checked::before {
    border-color: #0E1015;
}

/* Warm Caramel Accent Links */
.editorial-caramel-link {
    color: #967140;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

[data-theme="dark"] .editorial-caramel-link {
    color: #CBB084;
}

.editorial-caramel-link:hover {
    text-decoration: underline;
    color: #7A5B30;
}

[data-theme="dark"] .editorial-caramel-link:hover {
    color: #DFCAA5;
}

/* Primary Button */
.editorial-btn-primary {
    width: 100%;
    height: 52px;
    background: #1C1C1C;
    color: #FAF8F5;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body), 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

[data-theme="dark"] .editorial-btn-primary {
    background: #EDECE8;
    color: #12141A;
}

.editorial-btn-primary:hover {
    background: #000000;
    transform: translateY(-1.5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

[data-theme="dark"] .editorial-btn-primary:hover {
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.editorial-btn-arrow {
    transition: transform 0.2s ease;
}

.editorial-btn-primary:hover .editorial-btn-arrow {
    transform: translateX(4px);
}

/* Divider */
.editorial-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 22px 0;
}

.editorial-divider-line {
    flex: 1;
    height: 1px;
    background: #E8E3DA;
}

[data-theme="dark"] .editorial-divider-line {
    background: #252933;
}

.editorial-divider-text {
    font-size: 0.72rem;
    color: #A39E96;
    letter-spacing: 0.18em;
    font-weight: 600;
    text-transform: uppercase;
}

[data-theme="dark"] .editorial-divider-text {
    color: #6C7280;
}

/* Google Button */
.editorial-btn-google {
    width: 100%;
    height: 52px;
    background: #FFFFFF;
    border: 1px solid #E5E0D8;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body), 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: #262626;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

[data-theme="dark"] .editorial-btn-google {
    background: #181B22;
    border-color: #272B35;
    color: #EDECE8;
}

.editorial-btn-google:hover {
    background: #FAF8F5;
    border-color: #D6D0C5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .editorial-btn-google:hover {
    background: #1E222B;
    border-color: #383E4D;
}

.editorial-google-icon {
    flex-shrink: 0;
}

/* Footer Link */
.editorial-auth-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #666666;
}

[data-theme="dark"] .editorial-auth-footer {
    color: #8C91A0;
}

.editorial-auth-footer a {
    margin-left: 4px;
}

/* Error/Notification Banners */
.editorial-alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 10px;
    padding: 10px 14px;
    color: #DC2626;
    font-size: 0.85rem;
    margin-bottom: 16px;
    text-align: center;
}

.editorial-alert-info {
    background: rgba(150, 113, 64, 0.08);
    border: 1px solid rgba(150, 113, 64, 0.25);
    border-radius: 10px;
    padding: 10px 14px;
    color: #967140;
    font-size: 0.85rem;
    margin-bottom: 16px;
    text-align: center;
}

[data-theme="dark"] .editorial-alert-info {
    color: #CBB084;
    border-color: rgba(203, 176, 132, 0.3);
}

.editorial-field-error {
    font-size: 0.78rem;
    color: #DC2626;
    margin-top: 4px;
    padding-left: 6px;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .editorial-auth-page {
        padding: 24px 20px 36px;
    }

    .editorial-center-wrapper {
        margin: 24px auto;
    }

    .editorial-title {
        font-size: 2.15rem;
    }
}


