/* Logo icon for login page */
.login-logo-icon {
  width: 64px;
  height: 64px;
  color: #ffffff;
  margin-bottom: 8px;
}

/* Login Page Styles */
.login-bg {
  min-height: 100vh;
  background: linear-gradient(120deg, #2176c7 60%, #2980b9 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 24px;
}

.login-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(44, 62, 80, 0.12);
  padding: 40px 32px 32px 32px;
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 40px;
  color: #fff;
}

.login-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a355e;
  margin-bottom: 24px;
  text-align: center;
}

.login-form {
  width: 100%;
}

/* Logo sits above the white card (outside of it) and centered on all screen sizes */
.login-logo {
  margin-right: 0;
  margin-bottom: 0;
}

.login-card {
  margin-top: 0;
}

.login-form .form-group {
  margin-bottom: 18px;
}

.login-form label {
  font-weight: 500;
  color: #1a355e;
  margin-bottom: 6px;
  display: block;
}

.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bfc9d1;
  border-radius: 4px;
  font-size: 15px;
  margin-bottom: 4px;
}

.login-form input[type="checkbox"] {
  margin-right: 8px;
}

.login-form .remember-me {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 15px;
}

.login-form .btn-login {
  width: 100%;
  background: #3498db;
  /* primary blue match */
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  padding: 12px 0;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.login-form .btn-login:hover {
  background: #2980b9;
  /* primary hover blue */
}

.login-form .forgot-link {
  color: #3498db;
  /* primary blue */
  font-size: 0.98rem;
  text-align: center;
  display: block;
  margin-top: 8px;
  text-decoration: underline;
}

/* Make alert/flash messages fill the horizontal space of the white login card */
.login-card .alert {
  width: 100%;
}