/* ============================================
   NEFIN AUTH 2026 - Premium Authentication Design
   Modern glassmorphism, animated gradients, micro-interactions
   ============================================ */

/* Root Variables */
:root {
    --nf-auth-primary: #67645e;
    --nf-auth-secondary: #f1f0ed;
    --nf-auth-accent: #d4a574;
    --nf-auth-dark: #1d1d1f;
    --nf-auth-white: #ffffff;
    --nf-auth-glass: rgba(255, 255, 255, 0.85);
    --nf-auth-glass-border: rgba(255, 255, 255, 0.2);
    --nf-auth-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --nf-auth-radius: 24px;
    --nf-auth-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --nf-auth-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Main Auth Section */
.nf-auth {
    min-height: calc(100vh - 100px); /* Account for header */
    display: flex;
    position: relative;
    overflow: hidden;
    background: var(--nf-auth-secondary);
    padding-bottom: 60px;
}

/* Animated Background */
.nf-auth-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.nf-auth-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(212, 165, 116, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 80% 60%, rgba(103, 100, 94, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 100% 100% at 50% 100%, rgba(241, 240, 237, 1) 0%, rgba(255, 255, 255, 0.9) 100%);
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.nf-auth-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

/* Floating Orbs */
.nf-auth-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.nf-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orbFloat 15s ease-in-out infinite;
}

.nf-orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.3), rgba(212, 165, 116, 0.1));
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.nf-orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(103, 100, 94, 0.2), rgba(103, 100, 94, 0.05));
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.nf-orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(255, 255, 255, 0.1));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Container */
.nf-auth-container {
    width: 100%;
    min-height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

/* Brand Panel */
.nf-auth-brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    position: relative;
}

.nf-auth-brand-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Logo */
.nf-auth-logo {
    margin-bottom: 60px;
}

.nf-auth-logo img {
    height: 48px;
    transition: transform 0.3s var(--nf-auth-ease);
}

.nf-auth-logo:hover img {
    transform: scale(1.02);
}

.nf-auth-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--nf-auth-primary);
    text-transform: lowercase;
}

/* Welcome Section */
.nf-auth-welcome {
    max-width: 480px;
}

.nf-auth-welcome-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.05));
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nf-auth-accent);
    margin-bottom: 24px;
}

.nf-auth-welcome h1 {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--nf-auth-dark);
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.nf-auth-welcome p {
    font-size: 16px;
    line-height: 1.7;
    color: #6b6b6b;
    margin: 0;
}

/* Trust Items */
.nf-auth-trust {
    display: flex;
    gap: 32px;
    margin-top: 60px;
}

.nf-auth-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nf-auth-trust-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nf-auth-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    color: var(--nf-auth-primary);
    transition: all 0.3s var(--nf-auth-ease);
}

.nf-auth-trust-item:hover .nf-auth-trust-icon {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    color: var(--nf-auth-accent);
}

.nf-auth-trust-item span {
    font-size: 13px;
    font-weight: 500;
    color: var(--nf-auth-dark);
}

/* Benefits (Register page) */
.nf-auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.nf-auth-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--nf-auth-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s var(--nf-auth-ease);
}

.nf-auth-benefit:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.nf-auth-benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(212, 165, 116, 0.05));
    border-radius: 12px;
    color: var(--nf-auth-accent);
    flex-shrink: 0;
}

.nf-auth-benefit-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nf-auth-benefit-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--nf-auth-dark);
}

.nf-auth-benefit-text span {
    font-size: 13px;
    color: #888;
}

/* Brand Footer */
.nf-auth-brand-footer {
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

.nf-auth-brand-footer p {
    font-size: 14px;
    color: #888;
    margin: 0 0 12px;
}

.nf-auth-switch-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--nf-auth-primary);
    text-decoration: none;
    transition: all 0.3s var(--nf-auth-ease);
}

.nf-auth-switch-link:hover {
    color: var(--nf-auth-accent);
    gap: 12px;
}

.nf-auth-switch-link svg {
    transition: transform 0.3s var(--nf-auth-ease);
}

.nf-auth-switch-link:hover svg {
    transform: translateX(4px);
}

/* Form Panel */
.nf-auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

/* Form Card - Glassmorphism */
.nf-auth-form-card {
    width: 100%;
    max-width: 440px;
    padding: 48px;
    background: var(--nf-auth-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nf-auth-glass-border);
    border-radius: var(--nf-auth-radius);
    box-shadow: var(--nf-auth-shadow);
}

/* Mobile Header (hidden on desktop) */
.nf-auth-mobile-header {
    display: none;
    text-align: center;
    margin-bottom: 32px;
}

.nf-auth-mobile-logo {
    height: 40px;
}

.nf-auth-mobile-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--nf-auth-primary);
}

/* Form Header */
.nf-auth-form-header {
    text-align: center;
    margin-bottom: 32px;
}

.nf-auth-form-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--nf-auth-dark);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.nf-auth-form-header p {
    font-size: 14px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

/* Social Login */
.nf-auth-social {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.nf-auth-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--nf-auth-ease);
}

.nf-auth-social-google {
    background: var(--nf-auth-white);
    border: 1px solid #e5e5e5;
    color: var(--nf-auth-dark);
}

.nf-auth-social-google:hover {
    background: #fafafa;
    border-color: #d0d0d0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    color: var(--nf-auth-dark);
    text-decoration: none;
}

.nf-auth-social-facebook {
    background: #1877f2;
    border: 1px solid #1877f2;
    color: #fff;
}

.nf-auth-social-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
    color: #fff;
    text-decoration: none;
}

/* Divider */
.nf-auth-divider {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.nf-auth-divider::before,
.nf-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.nf-auth-divider span {
    padding: 0 16px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #aaa;
}

/* Messages */
.nf-auth-messages {
    margin-bottom: 20px;
}

.nf-auth-messages:empty {
    display: none;
}

.nf-auth-messages .alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 13px;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nf-auth-messages .alert-danger {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #991b1b;
}

.nf-auth-messages .alert-success {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #166534;
}

/* Form Fields */
.nf-auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nf-auth-field {
    position: relative;
}

.nf-auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Input Group with Floating Label */
.nf-auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.nf-auth-input {
    width: 100%;
    height: 56px;
    padding: 20px 48px 8px 48px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: var(--nf-auth-dark);
    background: var(--nf-auth-white);
    border: 2px solid #e8e8e8;
    border-radius: 14px;
    outline: none;
    transition: all 0.3s var(--nf-auth-ease);
}

.nf-auth-input:hover {
    border-color: #d0d0d0;
}

.nf-auth-input:focus {
    border-color: var(--nf-auth-primary);
    box-shadow: 0 0 0 4px rgba(103, 100, 94, 0.08);
}

/* Floating Label */
.nf-auth-label {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    pointer-events: none;
    transition: all 0.2s var(--nf-auth-ease);
    background: transparent;
    padding: 0;
}

.nf-auth-input:focus ~ .nf-auth-label,
.nf-auth-input:not(:placeholder-shown) ~ .nf-auth-label,
.nf-auth-input-group.has-value .nf-auth-label {
    top: 12px;
    transform: translateY(0);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--nf-auth-primary);
}

/* Input Icon */
.nf-auth-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    transition: color 0.3s var(--nf-auth-ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nf-auth-input:focus ~ .nf-auth-input-icon {
    color: var(--nf-auth-primary);
}

/* Password Toggle */
.nf-auth-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #bbb;
    cursor: pointer;
    transition: all 0.2s var(--nf-auth-ease);
}

.nf-auth-password-toggle:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--nf-auth-dark);
}

.nf-auth-password-toggle .nf-eye-closed {
    display: none;
}

.nf-auth-password-toggle.nf-visible .nf-eye-open {
    display: none;
}

.nf-auth-password-toggle.nf-visible .nf-eye-closed {
    display: block;
}

/* Input with password toggle needs more padding */
.nf-auth-input-group:has(.nf-auth-password-toggle) .nf-auth-input {
    padding-right: 56px;
}

/* Form Options (Remember me + Forgot password) */
.nf-auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -4px;
}

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

.nf-auth-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.nf-auth-checkbox-box {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nf-auth-white);
    border: 2px solid #d0d0d0;
    border-radius: 6px;
    transition: all 0.2s var(--nf-auth-ease);
    flex-shrink: 0;
}

.nf-auth-checkbox-box svg {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s var(--nf-auth-bounce);
    color: #fff;
}

.nf-auth-checkbox:hover .nf-auth-checkbox-box {
    border-color: var(--nf-auth-primary);
}

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

.nf-auth-checkbox input:checked + .nf-auth-checkbox-box svg {
    opacity: 1;
    transform: scale(1);
}

.nf-auth-checkbox-label {
    font-size: 13px;
    color: #666;
}

/* Forgot Password Link */
.nf-auth-forgot {
    font-size: 13px;
    font-weight: 500;
    color: var(--nf-auth-primary);
    text-decoration: none;
    transition: color 0.2s var(--nf-auth-ease);
}

.nf-auth-forgot:hover {
    color: var(--nf-auth-accent);
}

/* Terms & Conditions */
.nf-auth-terms {
    margin-top: -4px;
}

.nf-auth-terms .nf-auth-checkbox {
    align-items: flex-start;
}

.nf-auth-terms .nf-auth-checkbox-box {
    margin-top: 2px;
}

.nf-auth-terms .nf-auth-checkbox-label {
    line-height: 1.5;
}

.nf-auth-terms-link {
    color: var(--nf-auth-accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s var(--nf-auth-ease);
}

.nf-auth-terms-link:hover {
    color: var(--nf-auth-primary);
    text-decoration: underline;
}

/* Recaptcha */
.nf-auth-recaptcha {
    display: flex;
    justify-content: center;
    margin-top: -4px;
}

/* Submit Button */
.nf-auth-submit {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--nf-auth-primary) 0%, #4a4843 100%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--nf-auth-ease);
    box-shadow: 0 4px 20px rgba(103, 100, 94, 0.3);
    margin-top: 8px;
}

.nf-auth-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s var(--nf-auth-ease);
}

.nf-auth-submit:hover::before {
    left: 100%;
}

.nf-auth-submit:hover {
    background: linear-gradient(135deg, var(--nf-auth-accent) 0%, #c4956a 100%);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.4);
    transform: translateY(-2px);
}

.nf-auth-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.nf-auth-submit-arrow {
    transition: transform 0.3s var(--nf-auth-ease);
}

.nf-auth-submit:hover .nf-auth-submit-arrow {
    transform: translateX(4px);
}

/* Loading State */
.nf-auth-submit-loader {
    display: none;
}

.nf-auth-submit.nf-loading .nf-auth-submit-text,
.nf-auth-submit.nf-loading .nf-auth-submit-arrow {
    display: none;
}

.nf-auth-submit.nf-loading .nf-auth-submit-loader {
    display: flex;
}

.nf-auth-submit.nf-loading {
    pointer-events: none;
}

/* Spinner Animation */
.nf-spinner {
    width: 24px;
    height: 24px;
    animation: spinnerRotate 1s linear infinite;
}

.nf-spinner circle {
    stroke: #fff;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 75;
    animation: spinnerDash 1.5s ease-in-out infinite;
}

@keyframes spinnerRotate {
    100% { transform: rotate(360deg); }
}

@keyframes spinnerDash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -125; }
}

/* Success State */
.nf-auth-submit.nf-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}

/* Mobile Footer (hidden on desktop) */
.nf-auth-mobile-footer {
    display: none;
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.nf-auth-mobile-footer p {
    font-size: 14px;
    color: #888;
    margin: 0 0 8px;
}

.nf-auth-mobile-footer a {
    font-size: 14px;
    font-weight: 600;
    color: var(--nf-auth-primary);
    text-decoration: none;
}

.nf-auth-mobile-footer a:hover {
    color: var(--nf-auth-accent);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Large Screens */
@media (min-width: 1400px) {
    .nf-auth-brand-panel {
        padding: 80px 120px;
    }
    
    .nf-auth-form-card {
        max-width: 480px;
        padding: 56px;
    }
}

/* Tablet Landscape */
@media (max-width: 1200px) {
    .nf-auth-container {
        grid-template-columns: 45% 55%;
    }
    
    .nf-auth-brand-panel {
        padding: 40px 50px;
    }
    
    .nf-auth-form-panel {
        padding: 40px;
    }
    
    .nf-auth-form-card {
        padding: 40px;
    }
    
    .nf-auth-welcome h1 {
        font-size: 36px;
    }
    
    .nf-auth-trust {
        flex-direction: column;
        gap: 20px;
    }
}

/* Tablet Portrait */
@media (max-width: 991px) {
    .nf-auth {
        padding-bottom: 50px;
    }
    
    .nf-auth-container {
        grid-template-columns: 1fr;
        padding-top: 80px;
    }
    
    .nf-auth-brand-panel {
        display: none;
    }
    
    .nf-auth-form-panel {
        padding: 30px 20px;
        min-height: auto;
    }
    
    .nf-auth-form-card {
        max-width: 100%;
        padding: 32px 24px;
        background: var(--nf-auth-white);
        backdrop-filter: none;
        border: none;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    }
    
    .nf-auth-mobile-header {
        display: block;
    }
    
    .nf-auth-mobile-footer {
        display: block;
    }
    
    .nf-auth-form-header {
        margin-bottom: 28px;
    }
    
    .nf-auth-form-header h2 {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .nf-auth {
        min-height: auto;
        padding-bottom: 40px;
    }
    
    .nf-auth-container {
        padding-top: 70px;
    }
    
    .nf-auth-form-panel {
        padding: 20px 16px;
        min-height: auto;
        align-items: flex-start;
        padding-top: 30px;
    }
    
    .nf-auth-form-card {
        padding: 28px 20px;
        border-radius: 20px;
    }
    
    .nf-auth-form-header h2 {
        font-size: 22px;
    }
    
    .nf-auth-social {
        flex-direction: column;
    }
    
    .nf-auth-social-btn {
        padding: 14px;
    }
    
    .nf-auth-field-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nf-auth-input {
        height: 54px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .nf-auth-submit {
        height: 54px;
    }
    
    .nf-auth-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .nf-auth-forgot {
        align-self: flex-end;
    }
    
    /* Hide floating orbs on mobile for performance */
    .nf-auth-orbs {
        display: none;
    }
}

/* Very Small Screens */
@media (max-width: 360px) {
    .nf-auth-form-card {
        padding: 24px 16px;
    }
    
    .nf-auth-form-header h2 {
        font-size: 20px;
    }
    
    .nf-auth-checkbox-label {
        font-size: 12px;
    }
}

/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if needed */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .nf-auth-gradient,
    .nf-orb,
    .nf-auth-submit::before {
        animation: none;
    }
    
    * {
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .nf-auth-bg,
    .nf-auth-brand-panel {
        display: none;
    }
    
    .nf-auth-form-panel {
        padding: 0;
    }
    
    .nf-auth-form-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
