        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            overflow: hidden;
        }

        body {
            font-family: 'lato', sans-serif;
            min-height: 100vh;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow: hidden;
        }

        body::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: linear-gradient(135deg, rgba(0, 126, 167, 0.1) 0%, rgba(0, 168, 232, 0.1) 100%);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        body::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -5%;
            width: 400px;
            height: 400px;
            background: linear-gradient(135deg, rgba(0, 168, 232, 0.08) 0%, rgba(102, 126, 234, 0.08) 100%);
            border-radius: 50%;
            animation: float 8s ease-in-out infinite;
        }

  
        @keyframes float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-20px);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        @keyframes shake {
            0%, 100% {
                transform: translateX(0);
            }
            10%, 30%, 50%, 70%, 90% {
                transform: translateX(-5px);
            }
            20%, 40%, 60%, 80% {
                transform: translateX(5px);
            }
        }

        @keyframes successGlow {
            0%, 100% {
                box-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
            }
            50% {
                box-shadow: 0 0 40px rgba(46, 204, 113, 0.5);
            }
        }

       
        .login-container {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 30px;
            padding: 3rem;
            width: 100%;
            max-width: 450px;
            height: 100%;
            box-shadow: 
                0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.2),
                inset 0 0 0 1px rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.3);
            position: relative;
            z-index: 10;
            animation: scaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
            overflow: hidden;
        }

        .login-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, #007ea7, #00a8e8, #2c5282);
            border-radius: 30px 30px 0 0;
        }

      
        .logo {
            text-align: center;
            margin-bottom: 2.5rem;
            animation: fadeInDown 0.8s ease 0.2s both;
        }

        .logo-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #007ea7 0%, #00a8e8 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            box-shadow: 0 10px 30px rgba(0, 168, 232, 0.3);
            animation: pulse 2s ease-in-out infinite;
        }

        .logo-icon i {
            font-size: 2.5rem;
            color: white;
        }

        .logo h1 {
            color: #003459;
            font-size: 2rem;
            margin-bottom: 0.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, #007ea7 0%, #00a8e8 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-family: nulshock, sans-serif;
        }

        .logo p {
            color: #4a5568;
            font-size: 1rem;
            font-weight: 900;
        }

        
        .error-message {
            background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
            color: white;
            padding: 1rem 1.5rem;
            border-radius: 15px;
            margin-bottom: 1.5rem;
            display: none;
            align-items: center;
            gap: 10px;
            animation: fadeInUp 0.3s ease, shake 0.5s ease;
            box-shadow: 0 5px 20px rgba(229, 62, 62, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .error-message::before {
            content: "⚠️";
            font-size: 1.2rem;
        }

        .error-message.show {
            display: flex;
        }


        .success-message {
            background: linear-gradient(135deg, #26a65b 0%, #2ecc71 100%);
            color: white;
            padding: 1rem 1.5rem;
            border-radius: 15px;
            margin-bottom: 1.5rem;
            display: none;
            align-items: center;
            gap: 10px;
            animation: fadeInUp 0.3s ease, successGlow 2s ease-in-out infinite;
            box-shadow: 0 5px 20px rgba(38, 166, 91, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .success-message::before {
            content: "✅";
            font-size: 1.2rem;
        }

        .success-message.show {
            display: flex;
        }

     
        #loginForm {
            animation: fadeInUp 0.8s ease 0.4s both;
        }

        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.75rem;
            color: #003459;
            font-weight: 600;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .form-group label::before {
            content: '•';
            color: #00a8e8;
            font-size: 1.2rem;
        }

        .form-group input {
            width: 100%;
            padding: 16px 20px;
            border: 2px solid #e2e8f0;
            border-radius: 15px;
            font-size: 1rem;
            font-family: 'lato', sans-serif;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        .form-group input:focus {
            outline: none;
            border-color: #00a8e8;
            box-shadow: 
                0 0 0 4px rgba(0, 168, 232, 0.15),
                0 10px 30px rgba(0, 168, 232, 0.2);
            transform: translateY(-2px);
        }

        .form-group input::placeholder {
            color: #a0aec0;
        }

        .password-toggle {
            position: absolute;
            right: 15px;
            top: 45px;
            background: none;
            border: none;
            color: #718096;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            padding: 5px;
        }

        .password-toggle:hover {
            color: #00a8e8;
            transform: scale(1.1);
        }

        
        .login-btn {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #007ea7 0%, #00a8e8 100%);
            color: white;
            border: none;
            border-radius: 15px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            margin-top: 0.5rem;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 126, 167, 0.3);
            letter-spacing: 0.5px;
            font-family: 'nulshock', sans-serif;
        }

        .login-btn::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.7s ease;
        }

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

        .login-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 126, 167, 0.4);
        }

        .login-btn:active {
            transform: translateY(-1px);
        }

        .login-btn:disabled {
            background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
            cursor: not-allowed;
            opacity: 0.7;
            transform: none !important;
            box-shadow: none !important;
        }

        .login-btn i {
            margin-left: 8px;
            transition: transform 0.3s ease;
        }

        .login-btn:hover i {
            transform: translateX(5px);
        }

        .security-note {
            text-align: center;
            margin-top: 2rem;
            padding: 1rem;
            background: rgba(0, 168, 232, 0.05);
            border-radius: 12px;
            color: #4a5568;
            font-size: 0.9rem;
            border: 1px solid rgba(0, 168, 232, 0.1);
            animation: fadeInUp 0.8s ease 0.6s both;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .security-note::before {
            content: "🔒";
            font-size: 1.1rem;
            animation: pulse 2s ease-in-out infinite;
        }

        .loading {
            position: relative;
            color: transparent !important;
        }

        .loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: translate(-50%, -50%) rotate(0deg);
            }
            100% {
                transform: translate(-50%, -50%) rotate(360deg);
            }
        }

      
        .login-footer {
            position: absolute;
            bottom: 20px;
            bottom: 1%;
            left: 0;
            right: 0;
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85rem;
            z-index: 5;
            animation: fadeInUp 0.8s ease 0.8s both;
        }

        .login-footer a {
            color: #00a8e8;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .login-footer a:hover {
            color: white;
            text-decoration: underline;
        }

       
        @media (max-width: 768px) {
            .login-container {
                padding: 2rem;
                margin: 1rem;
            }

            .logo h1 {
                font-size: 1.8rem;
            }

            .logo-icon {
                width: 70px;
                height: 70px;
            }

            .logo-icon i {
                font-size: 2rem;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 10px;
            }

            .login-container {
                padding: 1.5rem;
            }

            .logo h1 {
                font-size: 1.6rem;
            }

            .form-group input {
                padding: 14px 16px;
            }

            .login-btn {
                padding: 16px;
                font-size: 1rem;
            }
        }

     
        .attempt-counter {
            text-align: center;
            margin-top: 1rem;
            color: #718096;
            font-size: 0.85rem;
            animation: fadeInUp 0.8s ease 0.5s both;
        }

        .attempt-counter .count {
            color: #007ea7;
            font-weight: 600;
        }