
/*
    ================ START OF CSS FILE (modern-login.css) ================
    
    /* RESET & BASE */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body, html {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
    }

    body {
        background: #0a0e1a;
        position: relative;
    }

    /* ANIMATED BACKGROUND */
    .bg-animated {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(125deg, #0B1120 0%, #1A2332 40%, #0F172A 100%);
        z-index: -3;
    }

    .bg-animated::before {
        content: '';
        position: absolute;
        width: 200%;
        height: 200%;
        top: -50%;
        left: -50%;
        background: radial-gradient(circle at 30% 40%, rgba(56, 139, 253, 0.15) 0%, rgba(0,0,0,0) 60%);
        animation: pulseGlow 12s infinite alternate;
    }

    @keyframes pulseGlow {
        0% { opacity: 0.3; transform: scale(1);}
        100% { opacity: 0.8; transform: scale(1.1);}
    }

    .noise-texture {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
        pointer-events: none;
        z-index: -2;
    }

    /* PARTICLES DECORATION */
    .particles-container {
        position: fixed;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: -1;
    }

    .particle {
        position: absolute;
        background: rgba(72, 187, 255, 0.25);
        border-radius: 50%;
        filter: blur(8px);
        animation: floatParticle 18s infinite;
    }

    .particle-1 { width: 200px; height: 200px; top: 10%; left: -5%; animation-duration: 22s; }
    .particle-2 { width: 350px; height: 350px; bottom: -10%; right: -5%; background: rgba(139, 92, 246, 0.2); animation-duration: 28s; }
    .particle-3 { width: 120px; height: 120px; top: 60%; left: 15%; background: rgba(59, 130, 246, 0.3); animation-duration: 16s; }
    .particle-4 { width: 80px; height: 80px; top: 20%; right: 12%; background: rgba(168, 85, 247, 0.2); animation-duration: 20s; }
    .particle-5 { width: 250px; height: 250px; bottom: 20%; left: 60%; background: rgba(6, 182, 212, 0.15); animation-duration: 25s; }

    @keyframes floatParticle {
        0% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
        50% { transform: translate(30px, -40px) rotate(5deg); opacity: 0.6; }
        100% { transform: translate(-20px, 20px) rotate(-3deg); opacity: 0.3; }
    }

    /* MAIN LAYOUT - MODERN SPLIT SCREEN */
    .login-wrapper {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
    }

    .login-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 1300px;
        width: 100%;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(12px);
        border-radius: 2.5rem;
        overflow: hidden;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
        transition: transform 0.3s ease;
    }

    /* LEFT BRAND PANEL */
    .brand-panel {
        background: linear-gradient(135deg, rgba(30, 58, 138, 0.5), rgba(15, 23, 42, 0.7));
        padding: 3rem 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-right: 1px solid rgba(255,255,255,0.08);
    }

    .brand-content {
        text-align: center;
        max-width: 320px;
    }

    .logo-circle {
        width: 80px;
        height: 80px;
        background: linear-gradient(145deg, #3b82f6, #2563eb);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        box-shadow: 0 10px 25px -5px rgba(59,130,246,0.4);
    }

    .logo-circle i {
        font-size: 2.5rem;
        color: white;
    }

    .brand-title {
        font-size: 2rem;
        font-weight: 700;
        background: linear-gradient(to right, #ffffff, #94a3b8);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        margin-bottom: 0.5rem;
        letter-spacing: -0.3px;
    }

    .brand-subtitle {
        color: #cbd5e6;
        font-size: 0.9rem;
        margin-bottom: 2rem;
        font-weight: 500;
    }

    .brand-features {
        margin: 2rem 0;
        text-align: left;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .feature-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: #e2e8f0;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .feature-item i {
        color: #3b82f6;
        font-size: 1rem;
        width: 1.5rem;
    }

    .brand-footer {
        margin-top: 2rem;
        font-size: 0.75rem;
        color: #94a3b8;
        display: flex;
        justify-content: center;
        gap: 0.6rem;
        letter-spacing: 0.5px;
    }

    /* RIGHT FORM PANEL */
    .form-panel {
        padding: 3rem 2.5rem;
        background: rgba(10, 14, 23, 0.6);
        display: flex;
        align-items: center;
    }

    .form-container {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .form-header {
        margin-bottom: 2rem;
    }

    .welcome-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(59,130,246,0.15);
        backdrop-filter: blur(4px);
        padding: 0.4rem 1rem;
        border-radius: 40px;
        font-size: 0.75rem;
        font-weight: 600;
        color: #60a5fa;
        margin-bottom: 1rem;
        border: 1px solid rgba(59,130,246,0.3);
    }

    .form-header h2 {
        font-size: 1.8rem;
        font-weight: 600;
        color: white;
        margin-bottom: 0.5rem;
    }

    .form-header p {
        color: #94a3b8;
        font-size: 0.85rem;
    }

    /* INPUT FIELDS */
    .input-field-group {
        margin-bottom: 1.5rem;
    }

    .input-field-group label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #cbd5e1;
        font-size: 0.8rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
        letter-spacing: 0.3px;
    }

    .input-wrapper {
        position: relative;
        width: 100%;
    }

    .modern-input {
        width: 100%;
        background: rgba(30, 41, 59, 0.7);
        border: 1.5px solid rgba(71, 85, 105, 0.6);
        border-radius: 1rem;
        padding: 0.9rem 1rem 0.9rem 2.8rem;
        font-size: 0.95rem;
        color: #f1f5f9;
        font-weight: 500;
        transition: all 0.2s ease;
        outline: none;
    }

    .modern-input:focus {
        border-color: #3b82f6;
        background: rgba(30, 41, 59, 0.9);
        box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
    }

    .input-icon {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #64748b;
        font-size: 1rem;
        pointer-events: none;
    }

    .toggle-password {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: #94a3b8;
        cursor: pointer;
        font-size: 1rem;
        transition: color 0.2s;
    }

    .toggle-password:hover {
        color: #60a5fa;
    }

    /* FORM OPTIONS */
    .form-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.8rem;
    }

    .checkbox-container {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
        font-size: 0.8rem;
        color: #cbd5e1;
        position: relative;
    }

    .checkbox-container input {
        opacity: 0;
        position: absolute;
        cursor: pointer;
    }

    .checkmark {
        width: 1rem;
        height: 1rem;
        background: rgba(51, 65, 85, 0.7);
        border-radius: 0.25rem;
        border: 1px solid #475569;
        display: inline-block;
    }

    .checkbox-container input:checked ~ .checkmark {
        background: #3b82f6;
        border-color: #3b82f6;
        position: relative;
    }

    .checkbox-container input:checked ~ .checkmark::after {
        content: '✓';
        position: absolute;
        color: white;
        font-size: 0.7rem;
        left: 0.2rem;
        top: -0.1rem;
    }

    .forgot-link {
        font-size: 0.75rem;
        color: #60a5fa;
        text-decoration: none;
        transition: color 0.2s;
    }

    .forgot-link:hover {
        color: #93c5fd;
        text-decoration: underline;
    }

    /* LOGIN BUTTON */
    .login-btn {
        width: 100%;
        background: linear-gradient(95deg, #2563eb, #1e40af);
        border: none;
        border-radius: 1rem;
        padding: 0.85rem;
        font-weight: 600;
        font-size: 0.95rem;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        cursor: pointer;
        transition: all 0.25s;
        margin-bottom: 1.2rem;
        position: relative;
        overflow: hidden;
    }

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px -5px #1e40af80;
        background: linear-gradient(95deg, #3b82f6, #1e3a8a);
    }

    .login-btn:active {
        transform: translateY(1px);
    }

    /* Alert Styles */
    .alert-modern {
        background: rgba(220, 38, 38, 0.15);
        backdrop-filter: blur(8px);
        border-left: 3px solid #ef4444;
        padding: 0.8rem 1rem;
        border-radius: 0.75rem;
        margin-top: 1rem;
        font-size: 0.8rem;
        color: #fecaca;
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .alert-modern i {
        color: #f87171;
    }

    .secure-footer {
        text-align: center;
        margin-top: 1.5rem;
        font-size: 0.7rem;
        color: #64748b;
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        align-items: center;
    }

    .separator {
        color: #334155;
    }

    /* Spinner */
    .spinner {
        display: inline-block;
        width: 1rem;
        height: 1rem;
        border: 2px solid rgba(255,255,255,0.2);
        border-radius: 50%;
        border-top-color: white;
        animation: spin 0.6s linear infinite;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* Responsive */
    @media (max-width: 880px) {
        .login-grid {
            grid-template-columns: 1fr;
            max-width: 480px;
        }
        .brand-panel {
            padding: 2rem;
        }
        .brand-features {
            display: none;
        }
        .form-panel {
            padding: 2rem;
        }
    }

  
