
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
        }

        body {
            min-height: 100vh;
            background: linear-gradient(145deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
            position: relative;
            overflow-x: hidden;
        }

        /* Background decoration */
        .bg-decoration {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 0;
        }

        .bg-circle {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
        }

        .circle1 {
            width: 300px;
            height: 300px;
            top: -150px;
            right: -150px;
        }

        .circle2 {
            width: 400px;
            height: 400px;
            bottom: -200px;
            left: -200px;
        }

        .circle3 {
            width: 200px;
            height: 200px;
            bottom: 50px;
            right: 50px;
            background: rgba(255, 255, 255, 0.05);
        }

        /* Main container */
        .login-container {
            width: 100%;
            max-width: 1300px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 40px;
            box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            position: relative;
            z-index: 10;
            animation: slideUp 0.6s ease-out;
            margin-top: 100px;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .login-grid {
            display: flex;
            flex-wrap: wrap;
            min-height: 600px;
        }

        /* Left side - Image & Branding */
        .brand-side {
            flex: 1;
            min-width: 300px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 50px 40px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
        }

        .brand-side::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-size: 30px;
            opacity: 0.1;
        }

        .brand-content {
            position: relative;
            z-index: 2;
            color: white;
        }

        .brand-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 40px;
        }

        .brand-logo svg {
            width: 60px;
            height: 60px;
            filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
        }

        .brand-logo h1 {
            font-size: clamp(24px, 4vw, 36px);
            font-weight: 700;
            line-height: 1.2;
        }

        .brand-logo span {
            font-size: 14px;
            opacity: 0.9;
            font-weight: 400;
            display: block;
        }

        .brand-quote {
            margin-top: 60px;
        }

        .brand-quote h2 {
            font-size: clamp(28px, 5vw, 48px);
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .brand-quote p {
            font-size: clamp(14px, 2vw, 18px);
            opacity: 0.9;
            line-height: 1.6;
            max-width: 400px;
        }

      

        .feature-icon {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }

        .feature-text h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .feature-text p {
            font-size: 13px;
            opacity: 0.8;
        }

        /* Right side - Form */
        .form-side {
            flex: 1;
            min-width: 300px;
            padding: 50px 40px;
            background: white;
            display: flex;
            flex-direction: column;
        }

        .form-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .form-header h2 {
            font-size: clamp(24px, 4vw, 32px);
            color: #333;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .form-header p {
            color: #666;
            font-size: 14px;
        }

        .form-header p a {
            color: #667eea;
            text-decoration: none;
            font-weight: 600;
        }

        .alert-messages {
            margin-bottom: 30px;
        }

        .alert {
            padding: 16px 20px;
            border-radius: 16px;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 12px;
            animation: slideIn 0.3s ease-out;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-10px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .alert-error {
            background: #fff2f0;
            color: #ff4d4f;
            border: 1px solid #ffccc7;
        }

        .alert-success {
            background: #f6ffed;
            color: #52c41a;
            border: 1px solid #b7eb8f;
        }

        .login-form {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-weight: 500;
            font-size: 14px;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-icon {
            position: absolute;
            left: 16px;
            color: #999;
            font-size: 18px;
            transition: color 0.3s;
        }

        .form-group input {
            width: 100%;
            padding: 16px 16px 16px 50px;
            border: 2px solid #e0e0e0;
            border-radius: 16px;
            font-size: 15px;
            transition: all 0.3s;
            background: #fafafa;
        }

        .form-group input:focus {
            outline: none;
            border-color: #667eea;
            background: white;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
        }

        .form-group input:focus + .input-icon {
            color: #667eea;
        }

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .remember-me input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #667eea;
        }

        .remember-me span {
            color: #666;
            font-size: 14px;
        }

        .forgot-password {
            color: #667eea;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
        }

        .btn-login {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            border-radius: 16px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
        }

        .btn-login::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn-login:hover::before {
            left: 100%;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
        }

        .btn-login:active {
            transform: translateY(0);
        }

        .directions-info {
            background: #f8f9ff;
            border-radius: 20px;
            padding: 20px;
            margin-top: 20px;
        }

        .directions-info h4 {
            color: #333;
            font-size: 14px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .direction-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            max-height: 100px;
            overflow-y: auto;
            padding: 5px;
        }

        .direction-tag {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 30px;
            padding: 6px 15px;
            font-size: 12px;
            color: #666;
            transition: all 0.3s;
            cursor: default;
        }

        .direction-tag:hover {
            background: #667eea;
            color: white;
            border-color: #667eea;
            transform: translateY(-2px);
        }

        .form-footer {
            text-align: center;
            margin-top: auto;
            color: #999;
            font-size: 13px;
        }

        /* Mobile & Tablet Responsive */
        @media screen and (max-width: 1024px) {
            .login-grid {
                min-height: auto;
            }
            
            .brand-side {
                padding: 40px 30px;
            }
            
            .form-side {
                padding: 40px 30px;
            }
        }

        @media screen and (max-width: 768px) {
            body {
                padding: 10px;
            }

            .login-container {
                border-radius: 30px;
            }

            .login-grid {
                flex-direction: column;
            }

            .brand-side {
                padding: 40px 25px;
                text-align: center;
            }

            .brand-logo {
                justify-content: center;
            }

            .brand-quote {
                margin-top: 30px;
                text-align: center;
            }

            .brand-quote p {
                max-width: 100%;
            }

            .brand-features {
                display: none; /* Hide features on mobile for cleaner look */
            }

            .form-side {
                padding: 40px 25px;
            }

            .form-header {
                margin-bottom: 30px;
            }

            .form-options {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }

            .directions-info {
                margin-top: 15px;
            }

            .direction-tags {
                max-height: 80px;
            }
        }

        @media screen and (max-width: 480px) {
            .login-container {
                border-radius: 20px;
            }

            .brand-side {
                padding: 30px 20px;
            }

            .brand-logo svg {
                width: 50px;
                height: 50px;
            }

            .brand-logo h1 {
                font-size: 22px;
            }

            .brand-quote h2 {
                font-size: 24px;
            }

            .form-side {
                padding: 30px 20px;
            }

            .form-group input {
                padding: 14px 14px 14px 45px;
                font-size: 14px;
            }

            .btn-login {
                padding: 16px;
                font-size: 15px;
            }

            .direction-tag {
                padding: 4px 12px;
                font-size: 11px;
            }
        }

        /* Landscape mode on mobile */
        @media screen and (max-height: 600px) and (orientation: landscape) {
            .login-grid {
                min-height: auto;
            }

            .brand-side {
                padding: 20px;
            }

            .brand-quote, .brand-features {
                display: none;
            }

            .brand-logo {
                margin-bottom: 0;
            }
        }

        /* Loading animation for AJAX */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255,255,255,.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .btn-loading {
            pointer-events: none;
            opacity: 0.8;
        }
  