        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
        }

        body {
            min-height: 100vh;
            background-color: 000;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .container {
            display: flex;
            width: 100%;
            max-width: 1200px;
            gap: 40px;
            align-items: center;
            justify-content: center;
        }

        .logo {
            position: fixed;
            top: 20px;
            left: 20px;
            width: 50px;    /* Set a specific width */
            height: 50px;   /* Same as width to maintain circle shape */
            border-radius: 50%;  /* Makes it circular */
            object-fit: cover;   /* Ensures image fills the circle properly */
            z-index: 1000;
            overflow: hidden;    /* Ensures content stays within circle */
        }
/* 
        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        .popup-overlay.show {
          display: flex;
        }
        
        .popup-content {
            position: relative;
            background-color: #fff;
            border-radius: 10px;
            width: 90%;
            max-width: 1000px;
            height: 75vh;
            max-height: 800px;
        }
        
        .popup-content iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        .close-popup {
            position: absolute;
            right: 10px;
            top: 5px;
            font-size: 24px;
            cursor: pointer;
            color: #333;
            z-index: 1001;
        }
        
        
        .close-popup:hover {
            color: #666;
        } */
          






        .popup-overlay {
            position: fixed;
            top: 0; left: 0;
            width: 100vw; height: 100vh;
            background: rgba(0, 0, 0, 0.6);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 16px; /* for small screen padding */


          }
          .popup-overlay.show {
            display: flex;
          }
          .popup-iframe-content {
            /* position: relative;
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            width: 100%;
            max-width: 800px;
            height: 480px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
            animation: fadeIn 0.3s ease-in-out; */


            width: 90%;
            max-width: 800px; /* max width cap */
            max-height: 90vh;
            overflow-y: auto;
            background: white;
            border-radius: 20px;
            box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            padding: 1rem;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
          }
          
          .popup-iframe-content iframe {
            width: 100%;
            height: 100%;
            border: none;
            display: block;
          }
          
          .close-btn {
            position: absolute;
            top: 10px;
            right: 16px;
            font-size: 24px;
            color: #333;
            cursor: pointer;
            z-index: 2;
          }
          
          @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
          }
          
          /* Responsive fix for smaller screens */
          @media (max-width: 854px) {
            .popup-iframe-content {
              height: 90vh;
              max-width: 95%;
            }
          }

          @media (max-width: 1710px) {
            .popup-iframe-content {
              flex-direction: column; /* Stack elements vertically if too tight */
              padding: 0.1rem;
            }
          }

                 /* Responsive: screens between 854px to 1496px */
        @media (min-width: 854px) and (max-width: 1050px) {
            .popup-iframe-content {
            max-width: 95%;
            height: 90vh;
            max-height: 100vh;
             }
        } 

        /* Responsive: screens between 854px to 1496px */
        @media (min-width: 1051px) and (max-width: 1496px) {
        .popup-iframe-content {
        max-width: 95%;
        height: 100vh;
        /* max-height: 100vh; */
            }
    }

        /* Responsive: screens between 854px to 1496px */
        /* @media (min-width: 1497px) and (max-width: 1710px) {
            .popup-iframe-content {
            max-width: 95%;
            height: 50vh;
            /* max-height: 90vh; */
            /* }
        } */ 

        /* Responsive: screens between 854px to 1496px */
        @media (min-width: 890px) and (max-width: 946px) {
            .popup-iframe-content {
            max-width: 95%;
            height: 100vh;
            /* max-height: 90vh; */
            }
        }
          

        .form-section {
            max-width: 400px;
            width: 100%;
        }

        .illustration-section {
            background-color: #f1f5ff;
            padding: 10px;
            border-radius: 20px;
            max-width: 400px;
        }

        .illustration-section img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }

        .illustration-section h2 {
            margin-top: 20px;
            font-size: 24px;
            color: #333;
            text-align: left;
        }

        .illustration-section p {
            color: #666;
            margin-top: 10px;
            text-align: left;
        }

        h1 {
            font-size: 48px;
            margin-bottom: 8px;
            color: #333;
        }

        .subtitle {
            color: #666;
            margin-bottom: 5px;
            font-size: 14px;
        }

        .register-link {
            color: #2d31fa;
            text-decoration: none;
            font-weight: bold;
        }

        .input-group {
            margin-bottom: 20px;
            position: relative;
        }

        label {
            display: block;
            margin-bottom: 8px;
            color: #666;
            font-size: 14px;
        }

        input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            background-color: #fff;
        }

        input:focus {
            outline: none;
            border-color: #2d31fa;
        }

        .password-toggle {
            position: absolute;
            right: 12px;
            top: 38px;
            cursor: pointer;
            color: #666;
        }

        .remember-forgot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #666;
            font-size: 14px;
        }

        .forgot-password {
            color: #666;
            text-decoration: none;
            font-size: 14px;
        }

        button {
            width: 100%;
            padding: 14px;
            background-color: #2d31fa;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            position: relative;
        }
        
        .buttonText {
            font: bold 20px;
            color: #ffffff;
            transition: all 0.2s;
        }

        button:hover {
            background-color: #1f22b3;
        }
        .buttonloading .buttonText{
            visibility: hidden;
            opacity: 0;
        }
        .buttonloading::after{
            content: "";
            position: absolute;
            width: 16px;
            height: 16px;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            border: 4px solid transparent;
            border-top-color: #fffefe;
            border-radius: 50%;
            animation: buttonLoadingSpinner 1s ease infinite;
        }
        @keyframes buttonLoadingSpinner{
            from{
                transform: rotate(0deg);
            }
            to{
                transform: rotate(360deg);
            }
        }
        .error-message {
            color: #ff3333;
            font-size: 12px;
            margin-top: 4px;
            display: none;
        }

        /* Login Response Styles */
        #loginResponse {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            padding: 15px 30px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            animation: slideDown 0.3s ease-out;
            background-color: white;
            text-align: center;
            min-width: 200px;
        }

        @keyframes slideDown {
            from {
                top: -100px;
                opacity: 0;
            }
            to {
                top: 20px;
                opacity: 1;
            }
        }

        /* Blur Background Effect */
        .blur-background {
            filter: blur(4px);
            pointer-events: none;
        }

        /* Fill Button Style */
        #fill {
            position: fixed;
            bottom: 20px;
            right: 20px;
            padding: 10px 20px;
            background-color: #2d31fa;
            color: white;
            border-radius: 6px;
            font-size: 14px;
            z-index: 1000;
            box-shadow: 0 2px 8px rgba(45, 49, 250, 0.3);
        }

        @media (max-width: 768px) {
            .container {
                flex-direction: column;
                gap: 20px;
                min-height: auto;  /* Allow height to adjust based on content */
                padding: 20px;     /* Maintain spacing */
                width: 100%;       
                max-height: none;  /* Remove height restriction */
            }
        
            .illustration-section {
                display: none;
            }
        
            .form-section {
                padding: 20px;
                width: 100%;       
                max-width: 100%;   
                height: auto;      /* Ensure the form adapts to content */
            }

            #spinner {
                width: 40px;
                height: 40px;
                border-width: 4px;
            }

            #loginResponse {
                width: 90%;
                max-width: 300px;
                font-size: 13px;
                padding: 12px 20px;
            }

            #fill {
                bottom: 15px;
                right: 15px;
                padding: 8px 16px;
                font-size: 13px;
            }
        }

        @media (max-width: 480px) {
            #spinner {
                width: 35px;
                height: 35px;
                border-width: 3px;
            }

            #loginResponse {
                padding: 10px 15px;
                font-size: 12px;
            }

            #fill {
                bottom: 10px;
                right: 10px;
                padding: 6px 12px;
                font-size: 12px;
            }
        }
        
        
    
        