/* self_coded/public/login.css */

/**
 * Styles for the login page.
 * Follows the project's coding standards and best practices.
 */

/* General styles */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

/* Login container */
.login-container {
  width: 400px;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  padding: 2rem;
  margin: 3rem auto;
}

/* Login form */
.login-form {
  display: flex;
  flex-direction: column;
}

.login-form label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.login-form .form-control {
  padding: 0.8rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.login-form .btn {
  background-color: #007bff;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
}

.login-form .btn:hover {
  background-color: #0056b3;
}

/* Error message */
.error-message {
  color: #dc3545;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

/* Bootstrap dropdown override styles - ensure proper display */
.dropdown-menu {
  z-index: 1050; /* Ensure dropdown appears above other elements */
}

/* Fix for Bootstrap dropdown in dark header */
header .dropdown-toggle {
  color: white !important;
}

header .dropdown-toggle::after {
  color: white;
}

/* Ensure dropdown menu is visible */
.dropdown-menu.show {
  display: block !important;
}