   @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column; 
            min-height: 100vh;
            background-color: whitesmoke;
            overflow: hidden;
        }

        .external-logo {
            position: fixed;
            top: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 100;
        }

        .external-logo img {
            width: 300px;
            height: auto;
        }

        .box {
            position: relative;
            width: 380px;
            height: 400px;
            background: #1c1c1c;
            border-radius: 8px;
            overflow: hidden;
            /* Added margin to prevent overlap with the fixed logo */
                    }

        .box::before, .box::after {
            content: '';
            z-index: 1;
            position: absolute;
            top: -50%;
            left: -50%;
            width: 380px;
            height: 420px;
            transform-origin: bottom right;
            background: linear-gradient(0deg,transparent,#45f3ff,#45f3ff);
            animation: animate 6s linear infinite;
        }

        .box::after {
            animation-delay: -3s;
        }

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

        form {
            position: absolute;
            inset: 2px;
            background: #28292d;
            padding: 50px 40px;
            border-radius: 8px;
            z-index: 2;
            display: flex;
            flex-direction: column;
        }

        h2 {
            color: #45f3ff;
            font-weight: 500;
            text-align: center;
            letter-spacing: 0.1em;
        }

        .inputBox {
            position: relative;
            width: 100%;
            margin-top: 35px;
        }

        .inputBox input {
            position: relative;
            width: 100%;
            padding: 20px 10px 10px;
            background: transparent;
            outline: none;
            box-shadow: none;
            border: none;
            color:#000000;
            font-size: 1em;
            letter-spacing: 0.05em;
            transition: 0.5s;
            z-index: 10;
        }

        .inputBox span {
            position: absolute;
            left: 0;
            padding: 20px 0px 10px;
            pointer-events: none;
            font-size: 1em;
            color: #8f8f8f;
            letter-spacing: 0.05em;
            transition: 0.5s;
        }

        .inputBox input:valid ~ span,
        .inputBox input:focus ~ span {
            color: #45f3ff;
            transform: translateX(0px) translateY(-34px);
            font-size: 0.75em;
        }

        .inputBox i {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 2px;
            background: #45f3ff;
            border-radius: 4px;
            overflow: hidden;
            transition: 0.5s;
            pointer-events: none;
            z-index: 9;
        }

        .inputBox input:valid ~ i,
        .inputBox input:focus ~ i {
            height: 44px;
        }

        input[type="submit"] {
            border: none;
            outline: none;
            padding: 11px 25px;
            background: #45f3ff;
            cursor: pointer;
            border-radius: 4px;
            font-weight: 600;
            width: 100px;
            margin-top: 20px;
        }

        #login-alert {
            position: fixed;
            bottom: 110px;
            z-index: 1000;
            min-width: 300px;
            text-align: center;
            
}
            /* for video background*/
        .video-bg {
            position: fixed;
            object-fit: cover;
            z-index: -1; 
            width: 100%;
            top: 0;
            left: 0;
            height: 100%;
            }
            


/*style for modal login attempt*/
 /* Gold-themed glassmorphism for modals to match system preferences */
        .modal-content.custom-modal-style {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 215, 0, 0.3); /* Subtle gold border */
            color: white;
            text-align: center;
            border-radius: 15px;
        }
        .btn-gold {
            background-color: #ffc107;
            border: none;
            color: black;
            font-weight: bold;
        }
        #countdown-timer {
            font-weight: bold;
            color: #00dfc4;
            font-size: 1.2rem;
        }



/*latest fix*/


        /* --- PROPER SPACING FIX --- */
        /* Forces the body to stack elements vertically to prevent overlap */
        body {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            min-height: 100vh;
            margin: 0;
            padding: 40px 0; /* Adds breathing room at the top and bottom */
            overflow-x: hidden;
        }

        .external-logo {
            position: relative !important; /* Removes absolute positioning if present */
            top: unset !important;
            left: unset !important;
            transform: unset !important;
            margin-bottom: 30px !important; /* Space between logo and card */
            z-index: 10;
        }

        .external-logo img {
            max-width: 320px; /* Adjust this to change logo size */
            height: auto;
        }

        /* This overrides the .box centering in index.css to ensure 
           it follows the logo instead of floating over it.
        */
        #login-container.box {
            position: relative !important;
            top: unset !important;
            left: unset !important;
            transform: unset !important;
            margin-bottom: 20px !important;
        }

        /* Ensures the download button stays below the card */
        .download-container {
            position: relative;
            z-index: 10;
            margin-top: 10px;
        }

        #login-alert {
            position: relative;
            z-index: 20;
            width: auto;
            min-width: 300px;
        }







