body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #1b0036;
  color: white;
}

.header {
  background: #0c001a;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
}

.brand-name {
  font-size: 16px;
  font-weight: bold;
}

/* Login Form Container */
.login-container {
  background: #0d001f;  
  border-radius: 10px;
  padding: 40px;
  max-width: 500px;
  margin: 100px auto;
  box-shadow: 0 0 10px #450078;
  box-sizing: border-box;
}

.login-container h2 {
  font-size: 22px;
  text-align: center;
  margin-bottom: 25px;
}

/* Form Elements */
form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #ddd;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 5px;
  border: none;
  font-size: 14px;
  background-color: #2c004e;
  color: white;
  box-sizing: border-box;
}

form input:focus {
  outline: none;
  box-shadow: 0 0 5px #9f00e8;
  background-color: #3d006a;
}

/* Submit Button */
button[type="submit"] {
  background: #9f00e8;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
}

button[type="submit"]:hover {
  background: #8a00cc;
}

/* Message Styling */
#error_message,
#success_message {
  text-align: center;
  font-size: 13px;
  margin-top: 10px;
}

.password-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-container input {
  width: 100%;
  padding-right: 40px; 
  padding-right: 40px; /* Make space for the eye icon */
}

.password-toggle {
  position: absolute;
  right: 10px;      
  top: 40%;           
  transform: translateY(-50%); 
  width: 20px;    
  height: 20px;      
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  display: none;
}

.password-toggle:hover {
  opacity: 1;
}
