 /* Reset */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: "Roboto", sans-serif;
            background: #f4f7f9;
            min-height: 100vh; 
            min-height: 100dvh;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.8s ease-in;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .login-container {
            background-color: #fff;
            padding: 40px 30px;
            /* border-radius: 10px; */
            max-width: 400px;
            width: 100%;
            /* border: 1px solid #ccc; */
            /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); */
            animation: slideUp 0.5s ease-out;
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        h2 {
            text-align: center;
            margin-bottom: 25px;
            border-bottom: 1px solid #1e3c72;
            color: #2a5298;
        }

        label {
            display: block;
            margin-bottom: 6px;
            /* font-weight: bold; */
        }

        input[type="email"],
        input[type="password"],
        input[type="text"]  {
            width: 100%;
            padding: 12px 14px;
            border: 1px solid #ccc;
            border-radius: 0px;
            margin-bottom: 10px;
            transition: border-color 0.3s;
        }
        
        /* Apply margin-bottom only to the email field, as the password-wrapper handles its own margin */
        input[type="email"] {
            margin-bottom: 10px; 
        }

        input:focus {
            border-color: #2a5298;
            outline: none;
        }

        .password-wrapper {
            position: relative;
           
        }

        .show-password-toggle {
            
            display: flex;
            align-items: center;
            font-size: 14px;
            margin-top: 10px;
            margin-bottom: 15px;
        }

        
        .show-password-toggle label {
            display: flex;
            align-items: center;
            cursor: pointer;
            margin-bottom: 0; 
            font-weight: normal; 
        }

        .show-password-toggle input[type="checkbox"] {
            margin-right: 6px;
            cursor: pointer;
            width: auto; /* Override width: 100% for checkboxes */
            margin-bottom: 0; /* Override input[type="email"] margin */
        }

        button[type="submit"] {
            width: 100%;
            background-color: #2a5298;
            color: white;
            padding: 12px;
            border: none;
            border-radius: 5px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s;
        }

        button:hover {
            background-color: #1e3c72;
        }

        .register-link {
            text-align: center;
            margin-top: 20px;
        }

        .register-link a {
            color: #2a5298;
            text-decoration: none;
            font-weight: bold;
        }

        .register-link a:hover {
            text-decoration: underline;
        }

        ul {
            margin-top: 15px;
            list-style: none;
            color: red;
            font-size: 14px;
        }

        @media (max-width: 500px) {
            .login-container {
                padding: 30px 20px;
            }
        }



        .modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 25px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 400px;
  margin: 10% auto;
  text-align: left;
  position: relative;
  border-radius: 6px;
}

.modal-content input {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.modal-content input[type="checkbox"] {
  width: auto;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

.modal-content button {
  padding: 10px 20px;
  background: #007BFF;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.modal-content button:hover {
  background: #0056b3;
}

.modal-content .close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

.modal-content .close:hover {
  color: #000;
}
