/* login.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #F0F4F7; /* Very light gray-blue for the body background */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  display: flex;
  width: 800px;
  height: 500px;
  background-color: #FFFFFF; /* Clean white for the card background */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Lighter shadow for a clean look */
  color: #333333; /* Dark gray for text */
}

.banner-section {
  width: 50%;
  background-color: #003366; /* Primary deep blue for the banner section */
  color: #FFFFFF; /* White text for contrast */
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.banner-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 60px;
  color: #FFFFFF; /* White title for contrast */
}

.banner-description {
  font-size: 16px;
  line-height: 1.6;
  max-width: 300px;
  color: #F0F4F7; /* Light gray-blue for a subtle description */
}

.divider {
  width: 120px;
  height: 2px;
  background-color: #FFFFFF; /* White divider */
  margin: 20px 0 30px 0;
}

.banner-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background-image: url('/api/placeholder/400/275');
  background-size: cover;
  background-position: center;
  opacity: 0.15; /* Subtler opacity for a background texture */
}

.login-section {
  width: 50%;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.welcome-text h1 {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #003366; /* Primary blue for headings */
  margin-bottom: 8px;
}

.subtext {
  text-align: center;
  font-size: 13px;
  color: #888888; /* Soft gray for subtext */
  margin-bottom: 20px;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F8F9FA; /* Light gray button background */
  border: 1px solid #DDDDDD; /* Light gray border */
  border-radius: 4px;
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 20px;
  color: #333333;
  transition: background-color 0.3s ease;
}

.google-btn:hover {
  background-color: #EAEFF2; /* Light hover state */
}

.input-group {
  margin-bottom: 15px;
}

.input-label {
  display: block;
  font-size: 13px;
  color: #003366; /* Primary blue label */
  margin-bottom: 5px;
}

.input-field {
  width: 100%;
  padding: 10px;
  border: 1px solid #DDDDDD; /* Light gray border */
  border-radius: 4px;
  font-size: 14px;
  background-color: #EAEFF2; /* Light blue-gray background for input field */
  color: #333333;
  transition: border-color 0.3s ease;
}

.input-field:focus {
  border-color: #003366; /* Primary blue focus color */
  outline: none;
}

.password-field-container {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888888; /* Soft gray icon */
}

.forgot-password {
  text-align: right;
  font-size: 12px;
  color: #003366; /* Primary blue link */
  margin: 5px 0 15px 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #4477A1; /* Lighter blue on hover */
}

.role-dropdown {
  margin-bottom: 15px;
}

.role-dropdown select {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
  background-color: #EAEFF2;
  color: #333333;
}

.login-btn {
  background-color: #003366; /* Primary blue button */
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  padding: 12px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin-bottom: 15px;
  transition: background-color 0.3s ease;
}

.login-btn:hover {
  background-color: #4477A1; /* Lighter blue on hover */
}

.signup-link {
  text-align: center;
  font-size: 12px;
  margin-bottom: 10px;
  color: #888888;
}

.signup-link a {
  color: #003366; /* Primary blue link */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.signup-link a:hover {
  color: #4477A1;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .banner-section {
    width: 100%;
    height: 200px;
  }

  .login-section {
    width: 100%;
  }
}

.alert {
      padding: 10px 15px;
      border-radius: 5px;
      margin-bottom: 15px;
      text-align: center;
      font-size: 14px;
      opacity: 1;
      transition: opacity 0.5s ease-out;
    }
    .alert-danger { background-color: #f8d7da; color: #721c24; }
    .alert-success { background-color: #d4edda; color: #155724; }
    .alert-warning { background-color: #fff3cd; color: #856404; }
    .alert-info { background-color: #cce5ff; color: #004085; }