/* =============================================
   PayIndia - Premium Authentication Styles
   Design System: #C6E547 primary, #0B3D2E dark
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
    --pi-primary: #C6E547;
    --pi-primary-dark: #A8C832;
    --pi-dark: #0B3D2E;
    --pi-dark-alt: #0A3427;
    --pi-light: #F8FAF7;
    --pi-success: #10B981;
    --pi-warning: #F59E0B;
    --pi-danger: #EF4444;
    --pi-glass-bg: rgba(255, 255, 255, 0.08);
    --pi-glass-border: rgba(255, 255, 255, 0.15);
    --pi-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --pi-shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.18);
    --pi-radius: 20px;
    --pi-radius-sm: 12px;
    --pi-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.auth-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0B3D2E 0%, #145A43 25%, #0A3427 50%, #1A6B50 75%, #0B3D2E 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 0%; }
    75% { background-position: 0% 100%; }
}

/* ---------- Floating Particles ---------- */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle linear infinite;
}

.particle:nth-child(1) {
    width: 6px; height: 6px;
    background: rgba(198, 229, 71, 0.3);
    left: 10%; animation-duration: 18s; animation-delay: 0s;
}
.particle:nth-child(2) {
    width: 4px; height: 4px;
    background: rgba(198, 229, 71, 0.2);
    left: 20%; animation-duration: 22s; animation-delay: 2s;
}
.particle:nth-child(3) {
    width: 8px; height: 8px;
    background: rgba(198, 229, 71, 0.15);
    left: 35%; animation-duration: 25s; animation-delay: 4s;
}
.particle:nth-child(4) {
    width: 5px; height: 5px;
    background: rgba(255, 255, 255, 0.1);
    left: 50%; animation-duration: 20s; animation-delay: 1s;
}
.particle:nth-child(5) {
    width: 7px; height: 7px;
    background: rgba(198, 229, 71, 0.25);
    left: 65%; animation-duration: 16s; animation-delay: 3s;
}
.particle:nth-child(6) {
    width: 3px; height: 3px;
    background: rgba(255, 255, 255, 0.15);
    left: 75%; animation-duration: 24s; animation-delay: 5s;
}
.particle:nth-child(7) {
    width: 9px; height: 9px;
    background: rgba(198, 229, 71, 0.1);
    left: 85%; animation-duration: 19s; animation-delay: 2s;
}
.particle:nth-child(8) {
    width: 5px; height: 5px;
    background: rgba(198, 229, 71, 0.2);
    left: 90%; animation-duration: 21s; animation-delay: 0s;
}
.particle:nth-child(9) {
    width: 4px; height: 4px;
    background: rgba(255, 255, 255, 0.08);
    left: 45%; animation-duration: 23s; animation-delay: 6s;
}
.particle:nth-child(10) {
    width: 6px; height: 6px;
    background: rgba(198, 229, 71, 0.18);
    left: 5%; animation-duration: 17s; animation-delay: 1s;
}
.particle:nth-child(11) {
    width: 4px; height: 4px;
    background: rgba(255, 255, 255, 0.12);
    left: 55%; animation-duration: 26s; animation-delay: 3s;
}
.particle:nth-child(12) {
    width: 7px; height: 7px;
    background: rgba(198, 229, 71, 0.22);
    left: 30%; animation-duration: 15s; animation-delay: 7s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

/* ---------- Decorative Orbs ---------- */
.auth-wrapper::before,
.auth-wrapper::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.auth-wrapper::before {
    width: 400px;
    height: 400px;
    background: rgba(198, 229, 71, 0.12);
    top: -100px;
    right: -100px;
    animation: orbFloat1 8s ease-in-out infinite alternate;
}

.auth-wrapper::after {
    width: 350px;
    height: 350px;
    background: rgba(16, 185, 129, 0.08);
    bottom: -80px;
    left: -80px;
    animation: orbFloat2 10s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 40px) scale(1.15); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

/* ---------- Auth Wrapper ---------- */
.auth-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* ---------- Auth Card (Glassmorphism) ---------- */
.auth-card {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--pi-radius);
    padding: 48px 40px;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 32px 64px -12px rgba(0, 0, 0, 0.25);
    animation: cardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px) scale(0.97);
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--pi-primary), transparent);
    border-radius: var(--pi-radius) var(--pi-radius) 0 0;
    opacity: 0.8;
}

/* ---------- Brand Section ---------- */
.auth-brand {
    text-align: center;
    margin-bottom: 36px;
}

.auth-brand .brand-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--pi-primary) 0%, var(--pi-primary-dark) 100%);
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(198, 229, 71, 0.25);
    animation: iconPulse 3s ease-in-out infinite;
    position: relative;
}

.auth-brand .brand-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(198, 229, 71, 0.3), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.auth-brand .brand-icon:hover::after {
    opacity: 1;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(198, 229, 71, 0.25); }
    50% { box-shadow: 0 8px 36px rgba(198, 229, 71, 0.4); }
}

.auth-brand .brand-icon i,
.auth-brand .brand-icon svg {
    width: 32px;
    height: 32px;
    color: var(--pi-dark);
    stroke: var(--pi-dark);
}

.auth-brand h1 {
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.auth-brand h1 span {
    color: var(--pi-primary);
}

.auth-brand p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    line-height: 1.5;
}

/* ---------- Form Styles ---------- */
.auth-form .form-group {
    margin-bottom: 22px;
    position: relative;
}

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    transition: var(--pi-transition);
}

.auth-form .input-wrapper {
    position: relative;
}

.auth-form .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.auth-form .input-icon i,
.auth-form .input-icon svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.35);
    stroke: rgba(255, 255, 255, 0.35);
    transition: var(--pi-transition);
}

.auth-form .form-control {
    width: 100%;
    height: 52px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--pi-radius-sm);
    padding: 0 16px 0 48px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    transition: var(--pi-transition);
    outline: none;
}

.auth-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

.auth-form .form-control:focus {
    border-color: var(--pi-primary);
    background: rgba(198, 229, 71, 0.04);
    box-shadow: 0 0 0 3px rgba(198, 229, 71, 0.1);
}

.auth-form .form-control:focus + .input-icon i,
.auth-form .form-control:focus + .input-icon svg,
.auth-form .form-control:focus ~ .input-icon i,
.auth-form .form-control:focus ~ .input-icon svg {
    color: var(--pi-primary);
    stroke: var(--pi-primary);
}

/* Password toggle */
.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 2;
    outline: none;
}

.password-toggle i,
.password-toggle svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.35);
    stroke: rgba(255, 255, 255, 0.35);
    transition: var(--pi-transition);
}

.password-toggle:hover i,
.password-toggle:hover svg {
    color: var(--pi-primary);
    stroke: var(--pi-primary);
}

/* ---------- Password Strength Indicator ---------- */
.password-strength {
    margin-top: 10px;
}

.strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.strength-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.4s ease, background 0.4s ease;
}

.strength-bar-fill.strength-weak {
    width: 25%;
    background: var(--pi-danger);
}

.strength-bar-fill.strength-fair {
    width: 50%;
    background: var(--pi-warning);
}

.strength-bar-fill.strength-good {
    width: 75%;
    background: #3B82F6;
}

.strength-bar-fill.strength-strong {
    width: 100%;
    background: var(--pi-success);
}

.strength-text {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--pi-transition);
}

.strength-text.text-weak { color: var(--pi-danger); }
.strength-text.text-fair { color: var(--pi-warning); }
.strength-text.text-good { color: #3B82F6; }
.strength-text.text-strong { color: var(--pi-success); }

/* ---------- Checkbox Custom ---------- */
.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.auth-checkbox input[type="checkbox"] {
    display: none;
}

.auth-checkbox .checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    position: relative;
    transition: var(--pi-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-checkbox input:checked + .checkmark {
    background: var(--pi-primary);
    border-color: var(--pi-primary);
}

.auth-checkbox input:checked + .checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--pi-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.auth-checkbox span:last-child {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* ---------- Form Row (Remember / Forgot) ---------- */
.form-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.forgot-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--pi-primary);
    text-decoration: none;
    transition: var(--pi-transition);
}

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

/* ---------- Primary Button ---------- */
.btn-auth-primary {
    width: 100%;
    height: 54px;
    background: linear-gradient(135deg, var(--pi-primary) 0%, var(--pi-primary-dark) 100%);
    border: none;
    border-radius: var(--pi-radius-sm);
    color: var(--pi-dark);
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--pi-transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth-primary::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 0.5s;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(198, 229, 71, 0.3);
}

.btn-auth-primary:hover::before {
    left: 100%;
}

.btn-auth-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(198, 229, 71, 0.2);
}

.btn-auth-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-auth-primary .btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(11, 61, 46, 0.3);
    border-top-color: var(--pi-dark);
    border-radius: 50%;
    animation: btnSpin 0.6s linear infinite;
    display: none;
}

.btn-auth-primary.loading .btn-text {
    display: none;
}

.btn-auth-primary.loading .btn-spinner {
    display: inline-block;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

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

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Auth Footer ---------- */
.auth-footer {
    text-align: center;
    margin-top: 28px;
}

.auth-footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.auth-footer a {
    color: var(--pi-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--pi-transition);
}

.auth-footer a:hover {
    color: #FFFFFF;
}

/* ---------- OTP Input Boxes ---------- */
.otp-input-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 28px 0;
}

.otp-input-group input {
    width: 54px;
    height: 62px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--pi-radius-sm);
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
    outline: none;
    transition: var(--pi-transition);
    caret-color: var(--pi-primary);
}

.otp-input-group input:focus {
    border-color: var(--pi-primary);
    background: rgba(198, 229, 71, 0.06);
    box-shadow: 0 0 0 3px rgba(198, 229, 71, 0.12);
    transform: translateY(-2px);
}

.otp-input-group input.filled {
    border-color: var(--pi-primary);
    background: rgba(198, 229, 71, 0.08);
}

/* ---------- Timer / Resend ---------- */
.otp-timer {
    text-align: center;
    margin: 20px 0;
}

.otp-timer .timer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.otp-timer .timer-count {
    font-weight: 700;
    color: var(--pi-primary);
    font-variant-numeric: tabular-nums;
}

.resend-btn {
    background: none;
    border: none;
    color: var(--pi-primary);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--pi-transition);
    padding: 4px 0;
}

.resend-btn:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.resend-btn:disabled {
    color: rgba(255, 255, 255, 0.25);
    cursor: not-allowed;
    text-decoration: none;
}

/* ---------- Step Indicator ---------- */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: var(--pi-transition);
    position: relative;
}

.step-dot.active {
    background: var(--pi-primary);
    box-shadow: 0 0 12px rgba(198, 229, 71, 0.4);
}

.step-dot.completed {
    background: var(--pi-success);
}

.step-connector {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    align-self: center;
    transition: var(--pi-transition);
}

.step-connector.active {
    background: var(--pi-primary);
}

/* ---------- Step Sections ---------- */
.step-section {
    display: none;
    animation: stepFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---------- Alert Inline ---------- */
.auth-alert {
    padding: 12px 16px;
    border-radius: var(--pi-radius-sm);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    animation: alertSlideIn 0.4s ease forwards;
}

@keyframes alertSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-alert.alert-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #FCA5A5;
}

.auth-alert.alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #6EE7B7;
}

.auth-alert.alert-warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #FCD34D;
}

/* ---------- Bottom Secure Badge ---------- */
.secure-badge {
    text-align: center;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.secure-badge i,
.secure-badge svg {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.3);
    stroke: rgba(255, 255, 255, 0.3);
}

.secure-badge span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

/* ---------- Features List (Side) ---------- */
.auth-features {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.auth-features .feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    transition: var(--pi-transition);
}

.auth-features .feature-tag:hover {
    background: rgba(198, 229, 71, 0.08);
    border-color: rgba(198, 229, 71, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.auth-features .feature-tag i,
.auth-features .feature-tag svg {
    width: 12px;
    height: 12px;
    color: var(--pi-primary);
    stroke: var(--pi-primary);
    opacity: 0.7;
}

/* ---------- Form Error ---------- */
.field-error {
    font-size: 12px;
    color: #FCA5A5;
    margin-top: 6px;
    display: none;
    animation: alertSlideIn 0.3s ease;
}

.field-error.show {
    display: block;
}

.form-control.is-invalid {
    border-color: var(--pi-danger) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-control.is-valid {
    border-color: var(--pi-success) !important;
}

/* ---------- Mobile Prefix ---------- */
.mobile-prefix {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    z-index: 2;
    pointer-events: none;
    padding-right: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control.with-prefix {
    padding-left: 100px;
}

/* ---------- Success Animation ---------- */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-checkmark i,
.success-checkmark svg {
    width: 40px;
    height: 40px;
    color: var(--pi-success);
    stroke: var(--pi-success);
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 576px) {
    .auth-card {
        padding: 36px 24px;
        max-width: 100%;
        margin: 0 10px;
        border-radius: 16px;
    }

    .auth-brand h1 {
        font-size: 24px;
    }

    .auth-brand p {
        font-size: 13px;
    }

    .auth-form .form-control {
        height: 48px;
        font-size: 14px;
    }

    .btn-auth-primary {
        height: 50px;
        font-size: 14px;
    }

    .otp-input-group {
        gap: 8px;
    }

    .otp-input-group input {
        width: 46px;
        height: 54px;
        font-size: 20px;
    }

    .auth-features .feature-tag {
        font-size: 10px;
        padding: 5px 10px;
    }

    .form-row-between {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

@media (max-width: 380px) {
    .auth-card {
        padding: 28px 18px;
    }

    .otp-input-group input {
        width: 40px;
        height: 48px;
        font-size: 18px;
    }

    .otp-input-group {
        gap: 6px;
    }
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(198, 229, 71, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(198, 229, 71, 0.5);
}

/* ---------- SweetAlert2 Custom Theme ---------- */
.swal2-popup.swal2-toast {
    font-family: 'Inter', sans-serif !important;
}

.swal2-popup {
    font-family: 'Inter', sans-serif !important;
    border-radius: 16px !important;
    background: #1a2e28 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
}

.swal2-title {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.swal2-html-container {
    color: rgba(255, 255, 255, 0.7) !important;
}

.swal2-confirm {
    background: linear-gradient(135deg, var(--pi-primary), var(--pi-primary-dark)) !important;
    color: var(--pi-dark) !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    font-family: 'Inter', sans-serif !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(198, 229, 71, 0.25) !important;
}

.swal2-cancel {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    font-family: 'Inter', sans-serif !important;
}

/* ---------- Loading skeleton ---------- */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}
