/* --- AUTH PAGE STYLES --- */
.auth-page-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
}

.auth-page-container {
    width: 100%;
    max-width: 520px;
}

.auth-page-card {
    padding: 40px 35px;
}

.auth-page-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-page-header h2 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(180deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Cinzel', serif;
    margin-bottom: 8px;
}

.auth-page-header p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* --- PROGRESS STEPS --- */
.auth-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
    padding: 0 10px;
}

.auth-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
    background: rgba(8, 8, 20, 0.5);
}

.auth-step.active .step-number {
    border-color: #d4af37;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.auth-step.completed .step-number {
    border-color: #26a69a;
    color: #26a69a;
    background: rgba(38, 166, 154, 0.15);
}

.step-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

.auth-step.active .step-label {
    color: #d4af37;
}

.auth-step.completed .step-label {
    color: #26a69a;
}

.auth-step-line {
    width: 50px;
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
    margin: 0 5px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

/* --- FORM STEPS --- */
.form-step {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.form-step.active {
    display: block;
}

.input-group {
    margin-bottom: 18px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(212, 175, 55, 0.7);
    margin-bottom: 6px;
    font-weight: 600;
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.input-field:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.08);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

/* --- PASSWORD STRENGTH --- */
.password-strength {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.strength-bar {
    width: 25%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-bar.weak {
    background: #ef5350;
}

.strength-bar.medium {
    background: #d4af37;
}

.strength-bar.strong {
    background: #26a69a;
}

.strength-text {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- STEP BUTTONS --- */
.step-buttons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.auth-submit-btn {
    flex: 1;
    padding: 14px 24px;
    background: linear-gradient(135deg, #d4af37, #b8942e);
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-submit-btn:hover {
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.auth-back-btn {
    padding: 14px 20px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.auth-back-btn:hover {
    border-color: #d4af37;
    color: #d4af37;
}

/* --- SUMMARY BOX --- */
.summary-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.summary-box h4 {
    color: #d4af37;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.06);
    font-size: 13px;
}

.summary-label {
    color: rgba(255, 255, 255, 0.5);
}

.summary-value {
    color: #fff;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

/* --- TERMS CHECK --- */
.terms-check {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 1px;
}

.checkbox-label input:checked + .checkmark {
    background: #26a69a;
    border-color: #26a69a;
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 11px;
    font-weight: bold;
}

.checkbox-label a {
    color: #d4af37;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.auth-footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.auth-footer-text a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}

/* --- MINIMAL TOAST --- */
/* --- MINIMAL TOAST --- */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    width: calc(100% - 40px);
    pointer-events: none;
}

.toast {
    background: rgba(6, 6, 16, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    animation: toastSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    position: relative;
    overflow: hidden;
    transform-origin: right center;
}

.toast.toast-removing {
    animation: toastSlideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 12px;
}

.toast-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    flex: 1;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    font-size: 15px;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.toast-close:hover {
    color: #fff;
}

.toast-timer-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #b8942e, #d4af37);
    animation: toastTimer 3s linear forwards;
}

.toast.success .toast-timer-line {
    background: linear-gradient(90deg, #26a69a, #4db6ac, #26a69a);
}

.toast.error .toast-timer-line {
    background: linear-gradient(90deg, #ef5350, #f44336, #ef5350);
}

.toast.warning .toast-timer-line {
    background: linear-gradient(90deg, #d4af37, #f0c040, #d4af37);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes toastTimer {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}


/* --- SIGNIN SPECIFIC --- */
.forgot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.forgot-link {
    font-size: 11px;
    color: rgba(212, 175, 55, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #d4af37;
    text-decoration: underline;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .auth-page-card {
        padding: 30px 20px;
    }

    .auth-page-header h2 {
        font-size: 24px;
    }

    .toast-container {
        right: 10px;
        left: 10px;
        max-width: none;
        top: 10px;
    }

    .step-buttons {
        flex-direction: column;
    }

    .auth-step-line {
        width: 30px;
    }

    .toast-text {
        font-size: 11px;
    }
}