/* Password toggle eye icon styles */
.password-wrapper {
    position: relative;
    width: 100%;
}
.password-input {
    padding-right: 40px;
}
.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 1.2rem;
    user-select: none;
}
 * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: 'Prompt', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100vw;
            height: 100vh;
            background-color: #AFD5F0;
            overflow: hidden;
        }
        
        .container {
            display: flex;
            width: 100%;
            height: 100%;
        }
        
        .left-section {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 50%;
            height: 100%;
            background-color: #AFD5F0;
        }
        
        .left-section img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .right-section {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 50%;
            height: 100%;
            background-color: #FFFFFF;
            padding: 20px;
        }
        
        .login-form {
            width: 100%;
            max-width: 400px;
            padding: 2rem;
            background: linear-gradient(145deg, #e0f7ff, #ffffff);
            border-radius: 20px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        
        .login-form h2 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: hsl(213, 90%, 69%);
        }
        
        .login-form input {
            width: 100%;
            padding: 0.75rem;
            margin: 0.5rem 0;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 1rem;
            box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.05);
            transition: border 0.3s ease;
        }
        
        .login-form input:focus {
            border-color: #94c0e0;
            outline: none;
        }
        
        .login-form button {
            width: 100%;
            padding: 0.75rem;
            background-color: #AFD5F0;
            color: #ffffff;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            margin-top: 1rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }
        
        .login-form button:hover {
            background-color: #94c4e0;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        }
        
        .register-link {
            margin-top: 1rem;
            font-size: 0.9rem;
        }
        
        .register-link a {
            color: #AFD5F0;
            text-decoration: none;
        }
        
        .register-link a:hover {
            text-decoration: underline;
        }
        /* Responsive Design */
        
        @media (max-width: 1024px) {
            .container {
                flex-direction: column;
            }
            .left-section,
            .right-section {
                width: 100%;
                height: 50%;
            }
            .left-section img {
                width: 60%;
            }
            .login-form {
                max-width: 350px;
            }
        }
        
        @media (max-width: 768px) {
            .left-section {
                display: none;
            }
            .right-section {
                width: 100%;
                height: 100%;
            }
            .login-form {
                max-width: 300px;
                padding: 1.5rem;
            }
            .login-form input,
            .login-form button {
                padding: 0.5rem;
            }
        }
        
        @media (max-width: 480px) {
            .login-form {
                max-width: 250px;
                padding: 1rem;
            }
            .login-form input,
            .login-form button {
                padding: 0.5rem;
            }
            .register-link {
                font-size: 0.85rem;
            }
        }


         /* Loading Screen */
        #loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg,  #a3d1f1, #e9effc);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }
        #loading-screen.hide {
            opacity: 0;
            pointer-events: none;
        }
        #loading-screen img {
            width: 200px;
            height: 200px;
            object-fit: contain;
            border-radius: 50%;
            border: 5px solid rgba(255, 255, 255, 0.3);
            background: white;
            padding: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            animation: pulse 1.5s ease-in-out infinite;
        }
        #loading-screen .loading-text {
            margin-top: 20px;
            color: white;
            font-family: 'Prompt', sans-serif;
            font-size: 18px;
            font-weight: 400;
        }
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.05); opacity: 0.8; }
        }
        /* Hide login container initially */
        .container {
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        .container.show {
            opacity: 1;
        }
        