        .auth-card {background:linear-gradient(135deg,#ffffffcc,#f0faffcc);-webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,0.5);box-shadow:0 12px 38px -10px rgba(30,60,120,0.25),0 2px 6px -2px rgba(30,60,120,0.18);border-radius:28px;overflow:hidden;}
        .auth-heading {font-family:"Poppins","Inter",-apple-system,sans-serif;font-weight:700;font-size:clamp(22px, 4vw + 0.5rem, 30px);line-height:1.32;letter-spacing:0.01em;background:linear-gradient(135deg,#1a4a66 0%,#2574a0 40%,#3a96c9 75%,#4da8db 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;}
        .subtle-text {font-family:"Inter","Poppins",-apple-system,sans-serif;color:#4b5563;font-size:16px;line-height:1.65;letter-spacing:0.015em;-webkit-font-smoothing:antialiased;}
        .form-label {font-family:"Inter","Poppins",-apple-system,sans-serif;font-size:15px;font-weight:700;color:#374151;letter-spacing:0.01em;margin-bottom:10px;display:block;}
        .input-modern {border-radius:16px;padding:15px 18px;border:1px solid #d1dde6;background:#fbfeff;transition:border-color .25s, box-shadow .25s;font-family:"Inter","Poppins",-apple-system,sans-serif;font-size:16px;}
        .input-modern:focus {border-color:#48b2ff;box-shadow:0 0 0 4px rgba(72,178,255,0.28);}
        .input-modern::placeholder {color:#98a8b5;}
        .input-modern.is-invalid {border-color:#f87171;box-shadow:0 0 0 4px rgba(248,113,113,0.15);}
        
        /* Premium Gradient Button */
        .gradient-btn {background:linear-gradient(135deg,#0ea5e9 0%,#06b6d4 50%,#10b981 100%);border:none;color:#fff;font-family:"Poppins","Inter",-apple-system,sans-serif;font-weight:600;font-size:17px;letter-spacing:0.02em;border-radius:14px;padding:16px 24px;position:relative;overflow:hidden;cursor:pointer;transition:all .4s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 15px -3px rgba(14,165,233,0.4),0 2px 6px -2px rgba(16,185,129,0.25);display:flex;align-items:center;justify-content:center;}
        .gradient-btn::before {content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.25),transparent);transition:left .6s ease;}
        .gradient-btn:hover {transform:translateY(-3px);box-shadow:0 8px 25px -5px rgba(14,165,233,0.5),0 4px 12px -4px rgba(16,185,129,0.35),0 0 0 1px rgba(255,255,255,0.1) inset;}
        .gradient-btn:hover::before {left:100%;}
        .gradient-btn:active {transform:translateY(-1px);}
        .gradient-btn .fw-bold {text-shadow:0 1px 2px rgba(0,0,0,0.15);letter-spacing:0.03em;}
        
        /* Loading State */
        .gradient-btn.is-loading {pointer-events:none;background-size:200% 200%;animation:gradientPulse 2s ease infinite;}
        .gradient-btn.is-loading::before {animation:shimmerSweep 1.5s ease-in-out infinite;}
        .gradient-btn .btn-text {display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;}
        .gradient-btn .btn-loader {display:none;align-items:center;justify-content:center;gap:12px;width:100%;}
        .gradient-btn.is-loading .btn-text {display:none;}
        .gradient-btn.is-loading .btn-loader {display:flex;animation:fadeInLoader 0.3s ease forwards;}
        .loader-spinner {width:22px;height:22px;border:3px solid rgba(255,255,255,0.3);border-top-color:#fff;border-radius:50%;animation:spinLoader 0.8s linear infinite;}
        .loader-dots {display:flex;gap:5px;align-items:center;}
        .loader-dots span {width:6px;height:6px;background:#fff;border-radius:50%;animation:dotPulse 1.2s ease-in-out infinite;}
        .loader-dots span:nth-child(1) {animation-delay:0s;}
        .loader-dots span:nth-child(2) {animation-delay:0.15s;}
        .loader-dots span:nth-child(3) {animation-delay:0.3s;}
        .loader-text {font-weight:600;letter-spacing:0.03em;}
        
        @keyframes gradientPulse {0%,100%{background-position:0% 50%;}50%{background-position:100% 50%;}}
        @keyframes shimmerSweep {0%{left:-100%;}100%{left:100%;}}
        @keyframes spinLoader {to{transform:rotate(360deg);}}
        @keyframes dotPulse {0%,60%,100%{transform:scale(1);opacity:0.6;}30%{transform:scale(1.4);opacity:1;}}
        @keyframes fadeInLoader {from{opacity:0;transform:scale(0.9);}to{opacity:1;transform:scale(1);}}
        
        .divider-soft {height:1px;background:linear-gradient(90deg,transparent,#c9d6df,transparent);margin:26px 0 18px;border:none;}
        .link-accent {color:#1f6fb2;font-weight:600;transition:.25s color ease;text-decoration:none;}
        .link-accent:hover {color:#0e4f7a;}
        .link-accent:visited {color:#1f6fb2;}
        /* Call-to-action attractor - animated gradient underline (same as login) */
        .cta-attract {position:relative;display:inline-block;text-decoration:none;}
        .cta-attract::after {content:"";position:absolute;left:0;right:0;bottom:-2px;height:3px;border-radius:3px;opacity:.0;transform-origin:left;transform:scaleX(0);background:linear-gradient(90deg,#bde302 0%,#a8e10a 35%,#ffd166 70%,#ffb703 85%,#bde302 100%);background-size:220% 100%;filter:saturate(1.18) brightness(1.02);box-shadow:0 0 8px rgba(189,227,2,0.38),0 0 3px rgba(255,183,3,0.38);animation:ctaSweep 4s ease-in-out infinite;}
        .cta-attract:hover::after, .cta-attract:focus-visible::after {opacity:1;transform:scaleX(1);background-position:100% 50%;animation:none;filter:saturate(1.25) brightness(1.05);box-shadow:0 0 10px rgba(189,227,2,0.45),0 0 4px rgba(255,183,3,0.45);}
        @keyframes ctaSweep {0%,70%{opacity:0;transform:scaleX(0);background-position:0% 50%;}75%{opacity:.85;}85%{opacity:1;transform:scaleX(1);background-position:100% 50%;}100%{opacity:0;transform:scaleX(0);}}
        .cta-attract:focus-visible {outline:2px solid rgba(189,227,2,0.55);outline-offset:2px;border-radius:4px;}
        @media (prefers-reduced-motion: reduce) {
            .cta-attract::after {animation:none;opacity:1;transform:scaleX(1);background-position:100% 50%;}
        }
        .auth-card .row.g-0 {background:linear-gradient(135deg, rgba(255,255,255,0.95), rgba(244,251,255,0.95));}
        .auth-visual img {width:100%;height:100%;object-fit:cover;object-position:center 22%;}
        .fp-stack{justify-content:flex-start;}
        .fp-brand{padding-top:22px !important;padding-bottom:18px !important;text-align:center;}
        .fp-brand img{height:108px;width:auto;}
        .fp-content{margin-top:12px;}
        .fp-heading-group{text-align:center;}
        /* Single-field form - fully centered for a calm, focused look */
        .fp-content form .form-label{text-align:center;margin-bottom:12px;}
        .fp-content form .input-modern{text-align:center;}
        .fp-content form .input-modern::placeholder{text-align:center;}
        /* Desktop: center the whole column against the tall image,
           with a generous, symmetric rhythm - same as login. */
        @media (min-width: 992px) {
            /* Center card + bottom link vertically in the viewport */
            .account-pages {
                min-height: 100vh;
                min-height: 100dvh;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }
            .account-pages > .container { width: 100%; }
            .fp-stack{justify-content:center;padding:20px 0;}
            .fp-brand{padding-top:0 !important;padding-bottom:14px !important;}
            .auth-heading{margin-bottom:14px !important;}
            .subtle-text.mb-3{margin-bottom:32px !important;}
            .divider-soft{margin:32px 0 28px;}
            form .mb-3{margin-bottom:1.5rem;}
        }
        @media (min-width: 1400px) {
            .fp-stack{padding:26px 0;}
            .fp-brand img{height:116px;}
            .subtle-text.mb-3{margin-bottom:36px !important;}
            .divider-soft{margin:36px 0 32px;}
        }
        
        /* ============================================
           SUCCESS STATE - Full Screen Success
           ============================================ */
        .success-state {text-align:center;padding:10px 0 20px;animation:successFadeIn 0.6s ease forwards;}
        @keyframes successFadeIn {0%{opacity:0;transform:translateY(20px);}100%{opacity:1;transform:translateY(0);}}
        
        .success-icon-container {position:relative;width:100px;height:100px;margin:0 auto 24px;}
        .success-icon-circle {width:100px;height:100px;border-radius:50%;background:linear-gradient(145deg, #10b981 0%, #059669 100%);display:flex;align-items:center;justify-content:center;box-shadow:0 12px 35px -8px rgba(16, 185, 129, 0.5);position:relative;z-index:2;animation:successBounce 0.6s ease 0.2s forwards;transform:scale(0);opacity:0;}
        @keyframes successBounce {0%{transform:scale(0);opacity:0;}50%{transform:scale(1.15);}70%{transform:scale(0.95);}100%{transform:scale(1);opacity:1;}}
        .success-icon-circle svg {width:50px;height:50px;color:#fff;stroke-width:2.5;}
        .success-pulse {position:absolute;top:0;left:0;width:100px;height:100px;border-radius:50%;background:rgba(16, 185, 129, 0.3);animation:successPulse 2s ease-in-out infinite;z-index:1;}
        @keyframes successPulse {0%,100%{transform:scale(1);opacity:0.5;}50%{transform:scale(1.4);opacity:0;}}
        
        .success-title {font-family:"Poppins","Inter",-apple-system,sans-serif;font-size:26px;font-weight:700;color:#065f46;margin:0 0 10px;line-height:1.3;}
        .success-subtitle {font-family:"Inter","Poppins",-apple-system,sans-serif;font-size:15px;color:#047857;margin:0 0 24px;line-height:1.6;font-weight:500;}
        
        .success-instructions-card {background:linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);border:2px solid #a7f3d0;border-radius:18px;padding:20px;margin:0 0 24px;text-align:left;}
        .instruction-row {display:flex;align-items:flex-start;gap:14px;padding:12px 0;border-bottom:1px solid rgba(16, 185, 129, 0.15);}
        .instruction-row:last-child {border-bottom:none;padding-bottom:0;}
        .instruction-row:first-child {padding-top:0;}
        .instruction-icon {width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
        .instruction-icon svg {width:22px;height:22px;color:#fff;}
        .instruction-icon.inbox {background:linear-gradient(145deg, #0ea5e9, #0284c7);}
        .instruction-icon.spam {background:linear-gradient(145deg, #f59e0b, #d97706);}
        .instruction-icon.timer {background:linear-gradient(145deg, #8b5cf6, #7c3aed);}
        .instruction-text {flex:1;min-width:0;}
        .instruction-text strong {display:block;font-family:"Poppins",-apple-system,sans-serif;font-size:14px;font-weight:600;color:#065f46;margin-bottom:2px;}
        .instruction-text span {display:block;font-family:"Inter",-apple-system,sans-serif;font-size:13px;color:#047857;line-height:1.4;}
        
        .success-actions {margin-bottom:20px;}
        .success-actions .gradient-btn {background:linear-gradient(135deg,#10b981 0%,#059669 50%,#047857 100%);box-shadow:0 4px 15px -3px rgba(16, 185, 129, 0.4);}
        .success-actions .gradient-btn:hover {box-shadow:0 8px 25px -5px rgba(16, 185, 129, 0.5);}
        
        .success-resend {font-family:"Inter",-apple-system,sans-serif;font-size:14px;color:#6b7280;margin:0;}
        .success-resend .link-accent {color:#059669;font-weight:600;}
        .success-resend .link-accent:hover {color:#047857;}
        
        /* Success state responsive - All breakpoints */
        @media (min-width: 768px) and (max-width: 991.98px) {
            .success-state {padding:8px 0 18px;}
            .success-icon-container {width:90px;height:90px;margin-bottom:22px;}
            .success-icon-circle, .success-pulse {width:90px;height:90px;}
            .success-icon-circle svg {width:45px;height:45px;}
            .success-title {font-size:24px;}
            .success-subtitle {font-size:14.5px;margin-bottom:22px;}
            .success-instructions-card {padding:18px;border-radius:16px;margin-bottom:22px;}
            .instruction-row {gap:13px;padding:11px 0;}
            .instruction-icon {width:40px;height:40px;border-radius:11px;}
            .instruction-icon svg {width:21px;height:21px;}
            .instruction-text strong {font-size:13.5px;}
            .instruction-text span {font-size:12.5px;}
        }
        @media (min-width: 576px) and (max-width: 767.98px) {
            .success-state {padding:6px 0 16px;}
            .success-icon-container {width:85px;height:85px;margin-bottom:20px;}
            .success-icon-circle, .success-pulse {width:85px;height:85px;}
            .success-icon-circle svg {width:42px;height:42px;}
            .success-title {font-size:23px;margin-bottom:8px;}
            .success-subtitle {font-size:14px;margin-bottom:20px;}
            .success-instructions-card {padding:16px;border-radius:15px;margin-bottom:20px;}
            .instruction-row {gap:12px;padding:10px 0;}
            .instruction-icon {width:38px;height:38px;border-radius:10px;}
            .instruction-icon svg {width:20px;height:20px;}
            .instruction-text strong {font-size:13px;}
            .instruction-text span {font-size:12px;}
            .success-resend {font-size:13.5px;}
        }
        @media (max-width: 575.98px) {
            .success-state {padding:5px 0 15px;}
            .success-icon-container {width:80px;height:80px;margin-bottom:18px;}
            .success-icon-circle, .success-pulse {width:80px;height:80px;}
            .success-icon-circle svg {width:40px;height:40px;}
            .success-title {font-size:22px;margin-bottom:8px;}
            .success-subtitle {font-size:15px;margin-bottom:18px;padding:0 8px;line-height:1.55;}
            .success-instructions-card {padding:16px;border-radius:14px;margin-bottom:18px;}
            .instruction-row {gap:12px;padding:11px 0;}
            .instruction-icon {width:38px;height:38px;border-radius:10px;}
            .instruction-icon svg {width:20px;height:20px;}
            .instruction-text strong {font-size:14px;}
            .instruction-text span {font-size:13px;}
            .success-resend {font-size:14px;}
            .success-actions .gradient-btn {font-size:15px;padding:14px 18px;}
        }
        @media (max-width: 375px) {
            .success-state {padding:4px 0 12px;}
            .success-icon-container {width:70px;height:70px;margin-bottom:14px;}
            .success-icon-circle, .success-pulse {width:70px;height:70px;}
            .success-icon-circle svg {width:35px;height:35px;}
            .success-title {font-size:20px;margin-bottom:6px;}
            .success-subtitle {font-size:14px;margin-bottom:14px;padding:0 4px;line-height:1.5;}
            .success-instructions-card {padding:14px;margin-bottom:14px;border-radius:12px;}
            .instruction-row {gap:10px;padding:9px 0;}
            .instruction-icon {width:34px;height:34px;border-radius:9px;}
            .instruction-icon svg {width:18px;height:18px;}
            .instruction-text strong {font-size:13px;}
            .instruction-text span {font-size:12px;}
            .success-resend {font-size:13px;}
            .success-actions .gradient-btn {font-size:14px;padding:13px 16px;}
        }
        @media (max-height: 500px) and (orientation: landscape) {
            .success-state {padding:2px 0 8px;}
            .success-icon-container {width:60px;height:60px;margin-bottom:10px;}
            .success-icon-circle, .success-pulse {width:60px;height:60px;}
            .success-icon-circle svg {width:30px;height:30px;}
            .success-title {font-size:18px;margin-bottom:4px;}
            .success-subtitle {font-size:12px;margin-bottom:10px;}
            .success-instructions-card {padding:10px;margin-bottom:10px;}
            .instruction-row {padding:6px 0;gap:8px;}
            .instruction-icon {width:28px;height:28px;}
            .instruction-icon svg {width:15px;height:15px;}
            .instruction-text strong {font-size:11px;}
            .instruction-text span {font-size:10px;}
            .success-actions {margin-bottom:8px;}
            .success-actions .gradient-btn {padding:10px 14px;font-size:13px;}
            .success-resend {font-size:11px;}
        }
        
        /* ============================================
           PREMIUM ALERT CARDS - 2025 Modern Design
           ============================================ */
        .premium-alert {display:none;border-radius:20px;padding:0;margin:0 0 24px 0;overflow:hidden;animation:alertSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;position:relative;}
        .premium-alert.show {display:block;}
        @keyframes alertSlideIn {0%{opacity:0;transform:translateY(-20px) scale(0.95);}100%{opacity:1;transform:translateY(0) scale(1);}}
        
        .premium-alert.alert-success {background:linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);border:2px solid #34d399;box-shadow:0 10px 40px -10px rgba(16, 185, 129, 0.4), 0 4px 12px -4px rgba(16, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);}
        .premium-alert.alert-error {background:linear-gradient(135deg, #fef2f2 0%, #fee2e2 50%, #fecaca 100%);border:2px solid #f87171;box-shadow:0 10px 40px -10px rgba(239, 68, 68, 0.35), 0 4px 12px -4px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);}
        
        .alert-content {display:flex;align-items:flex-start;gap:16px;padding:24px;}
        .alert-icon-wrapper {flex-shrink:0;width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;position:relative;}
        .alert-success .alert-icon-wrapper {background:linear-gradient(145deg, #10b981 0%, #059669 100%);box-shadow:0 8px 20px -6px rgba(16, 185, 129, 0.5);}
        .alert-error .alert-icon-wrapper {background:linear-gradient(145deg, #ef4444 0%, #dc2626 100%);box-shadow:0 8px 20px -6px rgba(239, 68, 68, 0.5);}
        .alert-icon-wrapper svg {width:28px;height:28px;color:#fff;}
        .alert-success .alert-icon-wrapper::after {content:"";position:absolute;inset:-4px;border-radius:20px;border:2px solid #10b981;opacity:0;animation:ringPulse 2s ease-in-out infinite;}
        @keyframes ringPulse {0%,100%{opacity:0;transform:scale(1);}50%{opacity:0.5;transform:scale(1.1);}}
        
        .alert-body {flex:1;min-width:0;}
        .alert-title {font-family:"Poppins","Inter",-apple-system,sans-serif;font-size:18px;font-weight:700;margin:0 0 6px 0;line-height:1.3;}
        .alert-success .alert-title {color:#065f46;}
        .alert-error .alert-title {color:#991b1b;}
        .alert-message {font-family:"Inter","Poppins",-apple-system,sans-serif;font-size:15px;font-weight:500;line-height:1.6;margin:0 0 12px 0;}
        .alert-success .alert-message {color:#047857;}
        .alert-error .alert-message {color:#b91c1c;}
        
        .alert-instructions {display:flex;flex-direction:column;gap:8px;margin-top:12px;padding:14px 16px;border-radius:12px;}
        .alert-success .alert-instructions {background:rgba(16, 185, 129, 0.12);border:1px solid rgba(16, 185, 129, 0.25);}
        .alert-error .alert-instructions {background:rgba(239, 68, 68, 0.08);border:1px solid rgba(239, 68, 68, 0.2);}
        .instruction-item {display:flex;align-items:center;gap:10px;font-family:"Inter",-apple-system,sans-serif;font-size:13.5px;font-weight:500;line-height:1.5;}
        .alert-success .instruction-item {color:#065f46;}
        .alert-error .instruction-item {color:#991b1b;}
        .instruction-item svg {flex-shrink:0;width:16px;height:16px;}
        .alert-success .instruction-item svg {color:#10b981;}
        .alert-error .instruction-item svg {color:#ef4444;}
        
        .alert-progress {height:4px;background:rgba(0, 0, 0, 0.08);position:relative;overflow:hidden;}
        .alert-progress-bar {position:absolute;top:0;left:0;height:100%;width:100%;transform-origin:left;animation:progressShrink 12s linear forwards;}
        .alert-success .alert-progress-bar {background:linear-gradient(90deg, #10b981, #34d399, #10b981);background-size:200% 100%;animation:progressShrink 12s linear forwards, shimmer 2s ease infinite;}
        .alert-error .alert-progress-bar {background:linear-gradient(90deg, #ef4444, #f87171, #ef4444);background-size:200% 100%;animation:progressShrink 12s linear forwards, shimmer 2s ease infinite;}
        @keyframes progressShrink {0%{transform:scaleX(1);}100%{transform:scaleX(0);}}
        @keyframes shimmer {0%{background-position:200% 0;}100%{background-position:-200% 0;}}
        
        .alert-close {position:absolute;top:16px;right:16px;width:32px;height:32px;border-radius:10px;border:none;background:rgba(0, 0, 0, 0.06);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.2s ease;color:#6b7280;}
        .alert-close:hover {background:rgba(0, 0, 0, 0.12);color:#374151;transform:scale(1.05);}
        .alert-close svg {width:18px;height:18px;}
        
        /* ============================================
           RESPONSIVE DESIGN - All Breakpoints
           ============================================ */
        
        /* Tablet (768px - 991px) */
        @media (min-width: 768px) and (max-width: 991.98px) {
            .auth-card {border-radius:24px;max-width:540px;margin:0 auto;}
            .fp-brand {padding-top:18px !important;padding-bottom:14px !important;}
            .fp-brand img {height:85px;}
            .auth-heading {font-size:24px;}
            .subtle-text {font-size:14px;}
            .premium-alert {border-radius:18px;margin:0 0 20px 0;}
            .alert-content {padding:20px;gap:14px;}
            .alert-icon-wrapper {width:52px;height:52px;border-radius:15px;}
            .alert-icon-wrapper svg {width:26px;height:26px;}
            .alert-title {font-size:17px;}
            .alert-message {font-size:14.5px;}
            .alert-instructions {padding:12px 14px;gap:7px;}
            .instruction-item {font-size:13px;gap:9px;}
            .instruction-item svg {width:15px;height:15px;}
            .gradient-btn {font-size:16.5px;padding:15px 22px;border-radius:13px;}
            .input-modern {padding:13px 15px;font-size:15px;border-radius:14px;}
        }
        
        /* Large Mobile (576px - 767px) */
        @media (min-width: 576px) and (max-width: 767.98px) {
            .auth-card {border-radius:22px;max-width:480px;margin:0 auto;}
            .fp-brand {padding-top:16px !important;padding-bottom:12px !important;}
            .fp-brand img {height:80px;}
            .fp-content {padding-left:20px !important;padding-right:20px !important;}
            .auth-heading {font-size:22px;}
            .subtle-text {font-size:13.5px;}
            .premium-alert {border-radius:16px;margin:0 0 18px 0;}
            .alert-content {padding:18px;gap:12px;}
            .alert-icon-wrapper {width:50px;height:50px;border-radius:14px;}
            .alert-icon-wrapper svg {width:24px;height:24px;}
            .alert-title {font-size:16px;}
            .alert-message {font-size:14px;}
            .alert-instructions {padding:12px 14px;gap:6px;border-radius:10px;}
            .instruction-item {font-size:12.5px;gap:8px;}
            .instruction-item svg {width:14px;height:14px;}
            .alert-close {top:12px;right:12px;width:30px;height:30px;border-radius:9px;}
            .alert-close svg {width:16px;height:16px;}
            .gradient-btn {font-size:16px;padding:14px 20px;border-radius:12px;}
            .input-modern {padding:12px 14px;font-size:15px;border-radius:13px;}
            .divider-soft {margin:22px 0 16px;}
        }
        
        /* Small Mobile (max 575px) */
        @media (max-width: 575.98px) {
            .auth-card {border-radius:20px;margin:0 8px;}
            .fp-brand {padding:14px 16px 10px 16px !important;}
            .fp-brand img {height:70px;}
            .fp-content {padding:12px 16px !important;margin-top:6px;}
            .auth-heading {font-size:22px !important;margin-bottom:8px !important;}
            .subtle-text {font-size:15px;line-height:1.6;margin-bottom:18px !important;}
            .premium-alert {border-radius:14px;margin:0 0 16px 0;}
            .alert-content {padding:16px;gap:10px;flex-direction:column;text-align:center;}
            .alert-icon-wrapper {width:48px;height:48px;border-radius:12px;margin:0 auto 4px;}
            .alert-icon-wrapper svg {width:24px;height:24px;}
            .alert-body {text-align:center;}
            .alert-title {font-size:16px;margin-bottom:5px;}
            .alert-message {font-size:14px;margin-bottom:10px;line-height:1.55;}
            .alert-instructions {padding:12px 14px;gap:7px;border-radius:10px;text-align:left;}
            .instruction-item {font-size:13px;gap:8px;}
            .instruction-item svg {width:15px;height:15px;min-width:15px;}
            .alert-close {top:10px;right:10px;width:28px;height:28px;border-radius:8px;}
            .alert-close svg {width:14px;height:14px;}
            .alert-progress {height:3px;}
            .form-label {font-size:14px;margin-bottom:8px;}
            .gradient-btn {font-size:15px;padding:13px 16px;border-radius:11px;}
            .input-modern {padding:12px 14px;font-size:14px;border-radius:12px;}
            .divider-soft {margin:18px 0 14px;}
            .loader-spinner {width:18px;height:18px;border-width:2.5px;}
            .loader-text {font-size:14px;}
            .loader-dots span {width:5px;height:5px;}
        }
        
        /* Extra Small Mobile (max 375px) */
        @media (max-width: 375px) {
            .auth-card {border-radius:18px;margin:0 4px;}
            .fp-brand {padding:12px 12px 8px 12px !important;}
            .fp-brand img {height:60px;}
            .fp-content {padding:10px 12px !important;margin-top:4px;}
            .auth-heading {font-size:18px !important;}
            .subtle-text {font-size:12.5px;margin-bottom:14px !important;}
            .premium-alert {border-radius:12px;margin:0 0 14px 0;}
            .alert-content {padding:14px;gap:8px;}
            .alert-icon-wrapper {width:42px;height:42px;border-radius:10px;}
            .alert-icon-wrapper svg {width:20px;height:20px;}
            .alert-title {font-size:14px;}
            .alert-message {font-size:12px;margin-bottom:8px;}
            .alert-instructions {padding:8px 10px;gap:5px;border-radius:8px;}
            .instruction-item {font-size:11px;gap:6px;}
            .instruction-item svg {width:12px;height:12px;min-width:12px;}
            .alert-close {top:8px;right:8px;width:24px;height:24px;}
            .alert-close svg {width:12px;height:12px;}
            .form-label {font-size:13px;}
            .gradient-btn {font-size:14px;padding:12px 14px;border-radius:10px;}
            .input-modern {padding:11px 12px;font-size:14px;border-radius:11px;}
            .divider-soft {margin:16px 0 12px;}
        }
        
        /* Desktop protection */
        @media (min-width: 992px) {
            .auth-visual, .auth-visual img {-webkit-user-select:none; user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none;}
        }
        
        /* Safe area for notched phones */
        @supports (padding: max(0px)) {
            .fp-content {
                padding-left: max(16px, env(safe-area-inset-left)) !important;
                padding-right: max(16px, env(safe-area-inset-right)) !important;
            }
        }
        
        /* ============================================
           ADDITIONAL MOBILE OPTIMIZATIONS
           ============================================ */
        
        /* Prevent horizontal overflow */
        html, body {overflow-x:hidden;width:100%;max-width:100vw;}
        .auth-card {max-width:100%;overflow:hidden;}
        
        /* Word break for long emails */
        .alert-message, .instruction-item span {word-break:break-word;overflow-wrap:break-word;}
        
        /* Input touch optimization */
        .input-modern {-webkit-appearance:none;appearance:none;font-size:16px !important;}
        @media (max-width: 575.98px) {
            .input-modern {font-size:16px !important;} /* Prevents zoom on iOS */
        }
        
        /* Back to login link - Premium styling */
        .back-to-login {font-size:17px;font-weight:500;font-family:"Inter","Poppins",-apple-system,sans-serif;}
        .back-to-login p {color:#4b5563;margin-bottom:0;}
        .back-to-login .link-accent {font-size:17px;font-weight:700;padding:4px 8px;border-radius:8px;transition:all 0.25s ease;}
        .back-to-login .link-accent:hover {background:rgba(31,111,178,0.1);}
        .back-to-login .link-accent b {font-weight:700;}
        @media (max-width: 575.98px) {
            .back-to-login {font-size:15px;margin-top:20px !important;}
            .back-to-login .link-accent {font-size:15px;}
        }
        @media (max-width: 375px) {
            .back-to-login {font-size:14px;margin-top:16px !important;}
            .back-to-login .link-accent {font-size:14px;}
        }
        
        /* Container padding on mobile */
        @media (max-width: 575.98px) {
            .account-pages {padding-top:12px !important;padding-bottom:20px !important;}
            .account-pages .container {padding-left:8px;padding-right:8px;}
        }
        @media (max-width: 375px) {
            .account-pages {padding-top:8px !important;padding-bottom:16px !important;}
            .account-pages .container {padding-left:4px;padding-right:4px;}
        }
        
        /* Touch-friendly close button */
        .alert-close {min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;}
        @media (max-width: 575.98px) {
            .alert-close {min-width:40px;min-height:40px;padding:8px;}
        }
        
        /* Smooth animations on mobile - reduce motion for performance */
        @media (prefers-reduced-motion: reduce) {
            .premium-alert, .gradient-btn, .loader-spinner, .loader-dots span, .alert-progress-bar {animation:none !important;transition:none !important;}
        }
        
        /* Landscape orientation adjustments */
        @media (max-height: 500px) and (orientation: landscape) {
            .fp-brand {padding:8px 16px !important;}
            .fp-brand img {height:50px;}
            .fp-content {padding:8px 16px !important;margin-top:0;}
            .auth-heading {font-size:18px !important;margin-bottom:4px !important;}
            .subtle-text {margin-bottom:10px !important;}
            .premium-alert {margin:0 0 10px 0;}
            .alert-content {padding:12px;}
            .divider-soft {margin:12px 0 10px;}
            .gradient-btn {padding:10px 16px;}
        }

        /* ================================================
           MOBILE POLISH - single column, clean 8px rhythm
           Same spacing system as login and register.
           Declared last so it always wins.
           ================================================ */
        @media (max-width: 991.98px) and (min-height: 501px) {
            /* Center the whole card + bottom link vertically on screen */
            .account-pages {
                min-height: 100vh;
                min-height: 100dvh;
                display: flex;
                flex-direction: column;
                justify-content: center;
                padding-top: 20px !important;
                padding-bottom: 20px !important;
            }
            .account-pages > .container { width: 100%; }
            /* Bottom "Back to Log In" link - premium, clearly visible */
            .back-to-login { margin-top: 26px !important; font-size: 16.5px !important; }
            .back-to-login p { color: #1e293b !important; line-height: 1.6; }
            .back-to-login .link-accent { font-size: 16.5px !important; }
            .auth-card { border-radius: 22px; }
            .fp-brand { padding: 26px 20px 10px !important; }
            .fp-brand img { height: 86px !important; }
            .fp-content { padding: 6px 22px 30px !important; margin-top: 0; }
            .auth-heading { font-size: 23px !important; margin-bottom: 10px !important; }
            .subtle-text.mb-3 { font-size: 15px; margin-bottom: 24px !important; }
            .divider-soft { margin: 22px 0 18px; }
        }
        @media (max-width: 575.98px) and (min-height: 501px) {
            .auth-card { margin: 0 4px; border-radius: 20px; }
            .fp-brand { padding: 22px 16px 8px !important; }
            .fp-brand img { height: 76px !important; }
            .fp-content { padding: 4px 18px 26px !important; }
            .auth-heading { font-size: 21px !important; }
        }
        @media (max-width: 375px) and (min-height: 501px) {
            .fp-brand { padding: 18px 14px 6px !important; }
            .fp-brand img { height: 66px !important; }
            .fp-content { padding: 2px 14px 22px !important; }
            .auth-heading { font-size: 19px !important; }
        }
    
