/**
 * Auth Modal Styles - COMPACT VERSION
 * Modern, elegant authentication modal - optimized for single view
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --auth-primary: #ffc107;
    --auth-primary-dark: #e0a800;
    --auth-primary-glow: rgba(255, 193, 7, 0.3);
    --auth-bg: #0a1628;
    --auth-bg-light: #0f1f3d;
    --auth-bg-card: rgba(15, 31, 61, 0.98);
    --auth-text: #ffffff;
    --auth-text-muted: #8899aa;
    --auth-border: rgba(255, 255, 255, 0.1);
    --auth-success: #28a745;
    --auth-danger: #dc3545;
    --auth-warning: #ffc107;
    --auth-info: #17a2b8;
    --auth-radius: 12px;
    --auth-radius-sm: 6px;
    --auth-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
    --auth-transition: all 0.2s ease;
}

/* ============================================
   MODAL OVERLAY
   ============================================ */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: var(--auth-transition);
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Higher z-index when opened from checkout modal */
.auth-modal-overlay.checkout-context {
    z-index: 200001;
}

/* ============================================
   MODAL CONTAINER - COMPACT
   ============================================ */
.auth-modal {
    background: var(--auth-bg-card);
    border-radius: var(--auth-radius);
    border: 1px solid var(--auth-border);
    box-shadow: var(--auth-shadow);
    width: 100%;
    max-width: 420px;
    position: relative;
    transform: scale(0.95) translateY(10px);
    transition: var(--auth-transition);
    overflow: hidden;
}

.auth-modal-overlay.active .auth-modal {
    transform: scale(1) translateY(0);
}

/* ============================================
   CLOSE BUTTON
   ============================================ */
.auth-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--auth-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--auth-transition);
    z-index: 100;
    font-size: 0.9rem;
}

.auth-modal-close:hover {
    background: rgba(220, 53, 69, 0.2);
    color: var(--auth-danger);
}

/* ============================================
   TABS HEADER - COMPACT
   ============================================ */
.auth-modal-header {
    padding: 44px 16px 0;
}

.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--auth-radius-sm);
    padding: 3px;
    gap: 3px;
}

.auth-tab {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: var(--auth-text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--auth-transition);
}

.auth-tab:hover {
    color: var(--auth-text);
    background: rgba(255, 255, 255, 0.05);
}

.auth-tab.active {
    background: var(--auth-primary);
    color: var(--auth-bg);
    box-shadow: 0 2px 8px var(--auth-primary-glow);
}

.auth-tab i {
    font-size: 0.9rem;
}

/* ============================================
   MODAL BODY - COMPACT
   ============================================ */
.auth-modal-body {
    padding: 14px 16px 12px;
}

/* ============================================
   FORM STYLES - COMPACT
   ============================================ */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--auth-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-label i {
    color: var(--auth-primary);
    font-size: 0.7rem;
}

.form-label .optional {
    color: var(--auth-text-muted);
    font-weight: 400;
    font-size: 0.7rem;
    opacity: 0.7;
}

.form-input {
    width: 100%;
    padding: 8px 10px;
    background: var(--auth-bg);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius-sm);
    color: var(--auth-text);
    font-family: inherit;
    font-size: 0.85rem;
    transition: var(--auth-transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 2px var(--auth-primary-glow);
}

.form-input::placeholder {
    color: var(--auth-text-muted);
    font-size: 0.8rem;
}

/* Error/Success States */
.form-input.error {
    border-color: var(--auth-danger);
}

.form-input.success {
    border-color: var(--auth-success);
}

/* ============================================
   SPLIT ROW (Name Fields) - COMPACT
   ============================================ */
.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* ============================================
   ROW BETWEEN - COMPACT
   ============================================ */
.form-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

/* ============================================
   INPUT WRAPPER (Status Icon)
   ============================================ */
.input-wrapper {
    position: relative;
}

.input-wrapper .form-input {
    padding-right: 32px;
}

.input-status {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0;
    transition: var(--auth-transition);
}

.input-status.valid {
    opacity: 1;
    color: var(--auth-success);
}

.input-status.invalid {
    opacity: 1;
    color: var(--auth-danger);
}

/* ============================================
   EMAIL SUGGESTION - COMPACT
   ============================================ */
.email-suggestion {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.75rem;
    color: var(--auth-text);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.email-suggestion strong {
    color: var(--auth-primary);
}

.suggestion-btn {
    background: var(--auth-primary);
    color: var(--auth-bg);
    border: none;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
}

/* ============================================
   PHONE INPUT - COMPACT
   ============================================ */
.phone-input-wrapper {
    display: flex;
    gap: 6px;
}

.country-code-selector {
    position: relative;
    flex-shrink: 0;
}

.country-code-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 8px;
    background: var(--auth-bg);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius-sm);
    color: var(--auth-text);
    cursor: pointer;
    transition: var(--auth-transition);
    font-size: 0.8rem;
}

.country-code-btn:hover {
    border-color: var(--auth-primary);
}

.country-flag {
    font-size: 1rem;
    line-height: 1;
}

.country-code {
    font-size: 0.75rem;
    font-weight: 500;
}

.country-code-btn i {
    font-size: 0.6rem;
    color: var(--auth-text-muted);
}

.country-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 220px;
    max-height: 180px;
    background: var(--auth-bg-light);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius-sm);
    box-shadow: var(--auth-shadow);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: var(--auth-transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.country-code-selector.open .country-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.country-search {
    width: 100%;
    padding: 8px;
    background: var(--auth-bg);
    border: none;
    border-bottom: 1px solid var(--auth-border);
    color: var(--auth-text);
    font-size: 0.8rem;
}

.country-search:focus {
    outline: none;
}

.country-list {
    overflow-y: auto;
    max-height: 140px;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    cursor: pointer;
    transition: var(--auth-transition);
    font-size: 0.8rem;
}

.country-item:hover {
    background: rgba(255, 193, 7, 0.1);
}

.country-item .flag {
    font-size: 1rem;
}

.country-item .name {
    flex: 1;
    color: var(--auth-text);
}

.country-item .code {
    color: var(--auth-text-muted);
    font-size: 0.75rem;
}

.phone-input {
    flex: 1;
}

/* Phone Input Validation Status */
.phone-input-wrapper {
    position: relative;
}

.phone-status {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--auth-transition);
    pointer-events: none;
}

.phone-status.valid {
    opacity: 1;
    color: var(--auth-success);
}

.phone-status.invalid {
    opacity: 1;
    color: var(--auth-danger);
}

.phone-input.has-status {
    padding-right: 36px;
}

/* ============================================
   PASSWORD INPUT - COMPACT
   ============================================ */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 36px;
}

.password-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #f59e0b;
    cursor: pointer;
    padding: 6px 8px;
    font-size: 1rem;
    min-width: 36px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--auth-transition);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    z-index: 2;
}

.password-toggle:hover,
.password-toggle:active {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

/* ============================================
   PASSWORD STRENGTH - COMPACT
   ============================================ */
.password-strength {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.strength-bar {
    flex: 1;
    height: 3px;
    background: var(--auth-border);
    border-radius: 2px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: var(--auth-transition);
}

.strength-fill.weak {
    width: 25%;
    background: var(--auth-danger);
}

.strength-fill.fair {
    width: 50%;
    background: var(--auth-warning);
}

.strength-fill.good {
    width: 75%;
    background: var(--auth-info);
}

.strength-fill.strong {
    width: 100%;
    background: var(--auth-success);
}

.strength-text {
    font-size: 0.65rem;
    color: var(--auth-text-muted);
    white-space: nowrap;
}

.strength-text.weak {
    color: var(--auth-danger);
}

.strength-text.fair {
    color: var(--auth-warning);
}

.strength-text.good {
    color: var(--auth-info);
}

.strength-text.strong {
    color: var(--auth-success);
}

/* ============================================
   CHECKBOX - COMPACT
   ============================================ */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--auth-text);
    position: relative;
    padding-left: 22px;
    line-height: 1.3;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 1px;
    width: 15px;
    height: 15px;
    background: var(--auth-bg);
    border: 1px solid var(--auth-border);
    border-radius: 3px;
    transition: var(--auth-transition);
}

.checkbox-label:hover .checkmark {
    border-color: var(--auth-primary);
}

.checkbox-label input:checked~.checkmark {
    background: var(--auth-primary);
    border-color: var(--auth-primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 3px;
    height: 7px;
    border: solid var(--auth-bg);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked~.checkmark:after {
    display: block;
}

.terms-text a {
    color: var(--auth-primary);
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

.terms-group {
    margin-top: 4px;
}

/* ============================================
   SUBMIT BUTTON - COMPACT
   ============================================ */
.btn-auth-submit {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-dark));
    color: var(--auth-bg);
    border: none;
    border-radius: var(--auth-radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--auth-transition);
    position: relative;
    margin-top: 4px;
}

.btn-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--auth-primary-glow);
}

.btn-auth-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-auth-submit .btn-loader {
    position: absolute;
}

/* ============================================
   AUTH MESSAGE - COMPACT
   ============================================ */
.auth-message {
    padding: 8px 10px;
    border-radius: var(--auth-radius-sm);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-message.success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #a3e4b1;
}

.auth-message.error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #f5a5ae;
}

/* ============================================
   DIVIDER - COMPACT
   ============================================ */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--auth-border);
}

.auth-divider span {
    font-size: 0.7rem;
    color: var(--auth-text-muted);
    white-space: nowrap;
}

/* ============================================
   GOOGLE BUTTON - COMPACT
   ============================================ */
.btn-google {
    width: 100%;
    padding: 8px 16px;
    background: #ffffff;
    color: #3c4043;
    border: none;
    border-radius: var(--auth-radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--auth-transition);
}

.btn-google:hover {
    background: #f1f3f4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-google svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ============================================
   FORGOT PASSWORD - COMPACT
   ============================================ */
.forgot-link {
    color: var(--auth-primary);
    font-size: 0.75rem;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.forgot-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.forgot-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--auth-text);
    margin: 0;
}

.back-to-login {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--auth-border);
    background: transparent;
    color: var(--auth-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--auth-transition);
}

.back-to-login:hover {
    border-color: var(--auth-primary);
    color: var(--auth-primary);
}

.forgot-description {
    color: var(--auth-text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* ============================================
   MODAL FOOTER - COMPACT
   ============================================ */
.auth-modal-footer {
    padding: 10px 16px;
    border-top: 1px solid var(--auth-border);
    display: flex;
    justify-content: center;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--auth-text-muted);
    font-size: 0.7rem;
}

.security-badge i {
    color: var(--auth-success);
    font-size: 0.75rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
    .auth-modal-overlay {
        padding: 12px;
        overflow-x: hidden;
    }

    .auth-modal {
        max-width: calc(100% - 8px);
        margin: 0 auto;
        overflow: hidden;
    }

    .auth-modal-close {
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
    }

    .auth-modal-header {
        padding: 10px 12px 0;
        padding-top: 40px;
        /* Espacio para el botón X */
    }

    .auth-modal-body {
        padding: 12px;
    }

    .auth-tab {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .auth-tab i {
        display: none;
    }

    .form-row-split {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    /* 20% increase in input height and font size for mobile */
    .form-input {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .form-label {
        font-size: 0.8rem;
    }

    .password-input-wrapper .form-input {
        padding-right: 40px;
    }

    .phone-input.has-status {
        padding-right: 40px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

.shake {
    animation: shake 0.25s ease;
}

/* ============================================
   GUEST LIMIT BANNER
   ============================================ */
.guest-limit-banner {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 2px solid #34d399;
    border-radius: var(--auth-radius);
    padding: 14px 16px;
    margin: 12px;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: bannerSlideIn 0.4s ease;
}

.guest-limit-banner>i {
    font-size: 1.5rem;
    color: #fff;
    margin-top: 2px;
    flex-shrink: 0;
}

.guest-limit-banner .banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guest-limit-banner .banner-text strong {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.4;
}

.guest-limit-banner .banner-text span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    line-height: 1.4;
}

.guest-limit-banner .banner-text span strong {
    color: #fef08a;
}

@keyframes bannerSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .guest-limit-banner {
        padding: 12px;
        margin: 8px;
        margin-bottom: 0;
        gap: 10px;
    }

    .guest-limit-banner>i {
        font-size: 1.2rem;
    }

    .guest-limit-banner .banner-text strong {
        font-size: 0.85rem;
    }

    .guest-limit-banner .banner-text span {
        font-size: 0.75rem;
    }
}

/* ============================================
   LIGHT THEME SUPPORT - AUTH MODAL
   ============================================ */

[data-theme="light"] {
    --auth-bg: #f4f6f9;
    --auth-bg-card: #ffffff;
    --auth-bg-light: #f8fafc;
    --auth-text: #0a1628;
    --auth-text-muted: #4b5563;
    --auth-border: rgba(15, 23, 42, 0.12);
    --auth-primary: #b8860b;
    --auth-primary-dark: #a67c00;
    --auth-primary-glow: rgba(184, 134, 11, 0.25);
}

/* Modal Background */
[data-theme="light"] .auth-modal-overlay {
    background: rgba(15, 23, 42, 0.5);
}

[data-theme="light"] .auth-modal {
    box-shadow: 0 25px 80px rgba(15, 23, 42, 0.2);
}

/* Tabs */
[data-theme="light"] .auth-tabs {
    background: #f0f4f8;
}

[data-theme="light"] .auth-tab {
    color: #374151;
}

[data-theme="light"] .auth-tab.active {
    background: #ffffff;
    color: #0a1628;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* Form Inputs */
[data-theme="light"] .form-label {
    color: #4b5563;
}

[data-theme="light"] .form-label i {
    color: #b8860b;
}

[data-theme="light"] .form-input {
    background: #f4f6f9;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #0a1628;
}

[data-theme="light"] .form-input:focus {
    border-color: #b8860b;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
    background: #ffffff;
}

[data-theme="light"] .form-input::placeholder {
    color: #6b7280;
}

/* Country Dropdown */
[data-theme="light"] .country-code-btn {
    background: #f4f6f9;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #0a1628;
}

[data-theme="light"] .country-dropdown {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .country-search {
    background: #f4f6f9;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    color: #0a1628;
}

[data-theme="light"] .country-item:hover {
    background: rgba(184, 134, 11, 0.08);
}

[data-theme="light"] .country-item .name {
    color: #0a1628;
}

[data-theme="light"] .country-item .code {
    color: #6b7280;
}

/* Password Toggle */
[data-theme="light"] .password-toggle {
    color: #b8860b;
    background: rgba(184, 134, 11, 0.08);
    border-color: rgba(184, 134, 11, 0.2);
}

[data-theme="light"] .password-toggle:hover,
[data-theme="light"] .password-toggle:active {
    color: #92400e;
    background: rgba(184, 134, 11, 0.15);
    border-color: rgba(184, 134, 11, 0.3);
}

/* Checkbox */
[data-theme="light"] .checkbox-label {
    color: #374151;
}

[data-theme="light"] .checkmark {
    background: #f4f6f9;
    border: 1px solid rgba(15, 23, 42, 0.2);
}

[data-theme="light"] .checkbox-label input:checked~.checkmark {
    background: #b8860b;
    border-color: #b8860b;
}

[data-theme="light"] .checkmark:after {
    border-color: #ffffff;
}

[data-theme="light"] .terms-text a {
    color: #b8860b;
}

/* Auth Submit Button */
[data-theme="light"] .btn-auth-submit {
    background: linear-gradient(135deg, #b8860b, #a67c00);
    color: #ffffff;
}

[data-theme="light"] .btn-auth-submit:hover {
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
}

/* Auth Messages */
[data-theme="light"] .auth-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #059669;
}

[data-theme="light"] .auth-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

/* Divider */
[data-theme="light"] .auth-divider::before,
[data-theme="light"] .auth-divider::after {
    background: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .auth-divider span {
    color: #6b7280;
}

/* Forgot Password */
[data-theme="light"] .forgot-link {
    color: #b8860b;
}

[data-theme="light"] .forgot-header h3 {
    color: #0a1628;
}

[data-theme="light"] .back-to-login {
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: #4b5563;
}

[data-theme="light"] .back-to-login:hover {
    border-color: #b8860b;
    color: #b8860b;
}

[data-theme="light"] .forgot-description {
    color: #4b5563;
}

/* Modal Footer */
[data-theme="light"] .auth-modal-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .security-badge {
    color: #6b7280;
}

[data-theme="light"] .security-badge i {
    color: #059669;
}

/* Email Suggestion */
[data-theme="light"] .email-suggestion {
    background: rgba(184, 134, 11, 0.08);
    border: 1px solid rgba(184, 134, 11, 0.25);
}

[data-theme="light"] .email-suggestion strong {
    color: #b8860b;
}

[data-theme="light"] .suggestion-btn {
    background: #b8860b;
    color: #ffffff;
}

/* Google Button - Light Mode (Dark variant for contrast) */
[data-theme="light"] .btn-google {
    background: #131314;
    color: #ffffff;
    border: 1px solid #131314;
}

[data-theme="light"] .btn-google:hover {
    background: #303134;
    border-color: #303134;
    box-shadow: 0 4px 12px rgba(19, 19, 20, 0.25);
}