/* Login form styles */
.auth-container {
  min-height: calc(100vh - 400px);
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-bg);
}

.auth-box {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 8px;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form .form-label {
  font-weight: 500;
  color: #344767;
  margin-bottom: 8px;
  display: block;
}

.auth-form .form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.2s;
}

.auth-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: none;
  outline: none;
}

.auth-form .btn-primary {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  background-color: var(--primary-color);
  border: none;
  border-radius: 6px;
  transition: all 0.2s;
}

.auth-form .btn-primary:hover {
  background: #283593;
  transform: translateY(-1px);
}

.eye-icon {
  width: 20px;
  height: 20px;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.toggle-password:hover .eye-icon {
  opacity: 0.8;
}

.auth-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.auth-footer a {
  color: var(--primary-color);
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.password-input {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-danger {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.invalid-feedback {
  display: none;
  color: #dc2626;
  font-size: 13px;
  margin-top: 4px;
}

.was-validated .form-control:invalid {
  border-color: #dc2626;
}

.was-validated .form-control:invalid + .invalid-feedback {
  display: block;
}
