/* ============================================
   ZIRO13 - Premium Authentication System
   Modern SaaS Login & Register
   ============================================ */

/* Auth Page Container */
.auth-page {
    min-height: 100vh;
    display: flex;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Auth Split Layout */
.auth-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Branding Side (Left) */
.auth-branding {
    flex: 1;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.auth-branding::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(0, 206, 201, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.branding-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    text-align: center;
}

.branding-logo {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 auto 2rem;
    box-shadow: none;
    animation: float 6s ease-in-out infinite;
}

.branding-logo-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: inherit;
}

.branding-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.branding-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.branding-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: left;
}

.branding-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(108, 92, 231, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.branding-feature i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.branding-feature-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.branding-feature-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

/* Dashboard Preview in Branding */
.dashboard-illustration {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.illustration-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.illustration-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.illustration-dot.active {
    background: var(--accent);
}

.illustration-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 100px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    opacity: 0.6;
    animation: chartGrow 2s ease forwards;
}

.chart-bar:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.chart-bar:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.chart-bar:nth-child(3) { height: 45%; animation-delay: 0.3s; }
.chart-bar:nth-child(4) { height: 90%; animation-delay: 0.4s; }
.chart-bar:nth-child(5) { height: 70%; animation-delay: 0.5s; }
.chart-bar:nth-child(6) { height: 85%; animation-delay: 0.6s; }
.chart-bar:nth-child(7) { height: 55%; animation-delay: 0.7s; }

@keyframes chartGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: floatParticle 15s infinite;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    25% {
        transform: translate(100px, -50px) scale(1.5);
        opacity: 0.5;
    }
    50% {
        transform: translate(200px, 0) scale(1);
        opacity: 0.3;
    }
    75% {
        transform: translate(100px, 50px) scale(0.5);
        opacity: 0.1;
    }
}

/* Form Side (Right) */
.auth-form-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background: var(--bg-primary);
}

.auth-form-wrapper {
    width: 100%;
    max-width: 440px;
}

.auth-form-header {
    margin-bottom: 2.5rem;
}

.auth-form-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-form-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-form-subtitle a {
    color: var(--primary-light);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.auth-form-subtitle a:hover {
    color: var(--primary);
}

/* Social Auth Buttons */
.social-auth {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-social:hover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.05);
    transform: translateY(-1px);
}

.btn-social i {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-google:hover {
    border-color: #4285F4;
    background: rgba(66, 133, 244, 0.05);
}

.btn-discord:hover {
    border-color: #5865F2;
    background: rgba(88, 101, 242, 0.05);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: var(--font-primary);
    transition: all var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
    background: var(--bg-secondary);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input.error {
    border-color: #FF4757;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.15);
}

.form-input.success {
    border-color: #2ED573;
    box-shadow: 0 0 0 3px rgba(46, 213, 115, 0.15);
}

/* Input with Icon */
.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-muted);
    pointer-events: none;
}

.has-icon .form-input {
    padding-left: 3rem;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
}

.password-toggle:hover {
    color: var(--text-primary);
}

/* Form Options */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.remember-me input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary);
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.forgot-password:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Terms Checkbox */
.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.terms-check input[type="checkbox"] {
    margin-top: 0.125rem;
    accent-color: var(--primary);
}

.terms-check a {
    color: var(--primary-light);
    text-decoration: none;
}

.terms-check a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 0.875rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    box-shadow: var(--glow-primary);
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit.loading {
    color: transparent;
    pointer-events: none;
}

.btn-submit .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.btn-submit.loading .spinner {
    display: block;
}

/* Form Error Message */
.form-error {
    font-size: 0.8125rem;
    color: #FF4757;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.25rem;
    animation: fadeIn 0.2s ease;
}

.form-error i {
    width: 1rem;
    height: 1rem;
}

.form-success {
    font-size: 0.8125rem;
    color: #2ED573;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.25rem;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
}

.turnstile-wrapper {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0 1rem;
    min-height: 65px;
}

.strength-bar {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.375rem;
}

.strength-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    width: 0%;
}

.strength-fill.weak {
    width: 25%;
    background: #FF4757;
}

.strength-fill.fair {
    width: 50%;
    background: #FFA502;
}

.strength-fill.good {
    width: 75%;
    background: #2ED573;
}

.strength-fill.strong {
    width: 100%;
    background: #00CEC9;
}

.strength-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Notification Toast */
.auth-toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    z-index: var(--z-toast);
    animation: slideLeft 0.3s ease;
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 400px;
}

.auth-toast.success {
    border-color: rgba(46, 213, 115, 0.3);
}

.auth-toast.error {
    border-color: rgba(255, 71, 87, 0.3);
}

.auth-toast i {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.auth-toast.success i {
    color: #2ED573;
}

.auth-toast.error i {
    color: #FF4757;
}

/* Auth Background Animation */
.auth-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: float 25s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: -50px;
    left: -50px;
    animation: float 20s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    top: 50%;
    left: 50%;
    animation: float 30s ease-in-out infinite;
}

/* Transition between login/register */
.auth-transition {
    animation: fadeInUp 0.5s ease;
}

/* Mobile Responsive */
@media (max-width: 1023px) {
    .auth-container {
        flex-direction: column;
    }
    
    .auth-branding {
        padding: 2rem;
        min-height: auto;
    }
    
    .branding-logo {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .branding-title {
        font-size: 1.75rem;
    }
    
    .branding-features {
        grid-template-columns: 1fr;
    }
    
    .dashboard-illustration {
        display: none;
    }
    
    .auth-form-container {
        padding: 2rem;
    }
    
    .auth-form-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 599px) {
    .auth-page {
        overflow-y: auto;
    }

    .auth-container {
        min-height: 100dvh;
    }

    .auth-branding {
        display: none;
    }
    
    .branding-title {
        font-size: 1.5rem;
    }
    
    .branding-subtitle {
        font-size: 0.9375rem;
    }
    
    .auth-form-container {
        min-height: 100dvh;
        padding: 5rem 1rem 2rem;
        align-items: flex-start;
    }
    
    .auth-form-title {
        font-size: 1.5rem;
    }
    
    .social-auth {
        flex-direction: column;
    }
    
    .form-options {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .back-to-home {
        top: 1rem;
        left: 1rem;
        padding: 0.55rem 0.9rem;
        font-size: 0.8rem;
    }
}


/* ============================================
   BACK TO HOME BUTTON
   ============================================ */
.back-to-home {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    z-index: 10;
    transition: all var(--transition-base);
}

.back-to-home:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.1);
    transform: translateX(-2px);
}

.back-to-home i {
    width: 1.1rem;
    height: 1.1rem;
}






/* ============================================
   FORGOT PASSWORD - PREMIUM REDESIGN
   ============================================ */

/* Grid Background */
.auth-grid-bg {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Extra shape */
.shape-4 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 60%;
    right: 10%;
    opacity: 0.06;
    border-radius: 50%;
    animation: float 18s ease-in-out infinite reverse;
}

/* Centered Container */
.forgot-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Forgot Card */
.forgot-card {
    width: 100%;
    padding: 2.5rem;
    animation: fadeInUp 0.5s ease;
}

.forgot-card.error-card {
    border-color: rgba(255, 71, 87, 0.3);
}

/* Card Header */
.forgot-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.forgot-icon-circle {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border: 2px solid rgba(108, 92, 231, 0.3);
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    transition: all var(--transition-base);
}

.forgot-icon-circle i {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary-light);
}

.forgot-icon-circle.success {
    background: rgba(46, 213, 115, 0.1);
    border-color: rgba(46, 213, 115, 0.3);
}

.forgot-icon-circle.success i {
    color: #2ED573;
}

.forgot-icon-circle.error {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.3);
}

.forgot-icon-circle.error i {
    color: #FF4757;
}

.forgot-icon-circle.large {
    width: 88px;
    height: 88px;
}

.forgot-icon-circle.large i {
    width: 2.25rem;
    height: 2.25rem;
}

.forgot-card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.forgot-card-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Success Badge Glow */
.success-badge-glow {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: #2ED573;
    margin-bottom: 0.75rem;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(46, 213, 115, 0.2); }
    50% { box-shadow: 0 0 25px rgba(46, 213, 115, 0.4); }
}

/* Form */
.forgot-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.forgot-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.forgot-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.forgot-input-wrapper {
    position: relative;
}

.forgot-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 1.2rem;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

.forgot-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 3rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: all var(--transition-base);
    outline: none;
}

.forgot-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1), 0 0 20px rgba(108, 92, 231, 0.1);
    background: var(--bg-secondary);
}

.forgot-input::placeholder {
    color: var(--text-muted);
}

.forgot-input.error {
    border-color: #FF4757;
    box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.1);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* Password Toggle */
.forgot-pass-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.35rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    z-index: 2;
}

.forgot-pass-toggle:hover {
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.1);
}

.forgot-pass-toggle i {
    width: 1.1rem;
    height: 1.1rem;
}

/* Security Info */
.forgot-security-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(108, 92, 231, 0.05);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.forgot-security-info i {
    width: 1rem;
    height: 1rem;
    color: var(--primary-light);
    flex-shrink: 0;
}

.forgot-security-info strong {
    color: var(--text-primary);
}

/* Password Meter */
.password-meter {
    margin-top: 0.5rem;
}

.meter-bar {
    height: 5px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.meter-fill {
    height: 100%;
    width: 0%;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    background: #FF4757;
}

.meter-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Password Checklist */
.password-checklist {
    margin-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.check-item i {
    width: 0.9rem;
    height: 0.9rem;
    flex-shrink: 0;
}

/* Match Status */
.match-status {
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.match-status i {
    width: 0.9rem;
    height: 0.9rem;
}

/* Device Info */
.forgot-device-info {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.device-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.device-info-item i {
    width: 0.9rem;
    height: 0.9rem;
    color: var(--primary-light);
}

/* Info Cards */
.forgot-info-cards {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent);
}

.info-card.warning {
    border-left-color: #FFBD2E;
}

.info-card i {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.info-card:first-child i { color: var(--accent); }
.info-card.warning i { color: #FFBD2E; }

.info-card strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.info-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Buttons */
.forgot-btn-submit {
    width: 100%;
    padding: 0.85rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    text-decoration: none;
}

.forgot-btn-submit:hover {
    box-shadow: var(--glow-primary);
    transform: translateY(-1px);
}

.forgot-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.forgot-btn-submit.loading {
    color: transparent;
    position: relative;
}

.forgot-btn-submit i {
    width: 1.1rem;
    height: 1.1rem;
}

.forgot-btn-resend {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
}

.forgot-btn-resend:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 206, 201, 0.05);
}

.forgot-btn-resend i {
    width: 1rem;
    height: 1rem;
}

#resend-countdown {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.forgot-btn-outline {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    text-decoration: none;
}

.forgot-btn-outline:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.05);
}

.forgot-btn-outline i {
    width: 1rem;
    height: 1rem;
}

/* Success Actions */
.forgot-success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* Card Footer */
.forgot-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--glass-border);
}

.forgot-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.forgot-back-link:hover {
    color: var(--text-primary);
}

.forgot-back-link i {
    width: 1rem;
    height: 1rem;
}

.forgot-alt-link {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.forgot-alt-link:hover {
    color: var(--primary);
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner-small {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--glass-border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Toast Container */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast-notif {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.15rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
    animation: slideInRight 0.3s ease;
    max-width: 380px;
    box-shadow: var(--glass-shadow);
}

.toast-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem;
    border-radius: var(--radius-sm);
    margin-left: auto;
    transition: color var(--transition-fast);
}

.toast-close-btn:hover {
    color: var(--text-primary);
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
    .forgot-container {
        padding: 1rem;
        max-width: 100%;
    }
    
    .forgot-card {
        padding: 1.75rem;
    }
    
    .forgot-card-header h2 {
        font-size: 1.3rem;
    }
    
    .forgot-card-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}
