/* Custom styles for login page */

/* Card styling for login form */
.login-card {
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  overflow: hidden;
  max-width: 650px;
  margin: 0 auto;
  padding: 15px;
}

/* Custom login button styles */
.btn-login {
  background-color: #d9e021 !important;
  border-color: #d9e021 !important;
  color: #333 !important;
  padding: 10px 40px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  width: 220px;
  text-align: center;
}

/* Custom login button styles */
.btn-approve {
  background-color: #d9e021 !important;
  border-color: #d9e021 !important;
  color: #333 !important;
}

.btn-login:hover {
  background-color: #c2c819 !important;
  border-color: #c2c819 !important;
  color: #333 !important;
}

/* Form inputs styling */
.login-form input[type="email"],
.login-form input[type="password"],
.login-form input[type="text"],
.login-form input[type="number"],
.login-form select {
  border-radius: 10px;
  padding: 10px 15px;
  border: 1px solid #ced4da;
  margin-bottom: 5px;
}

/* "Remember me" checkbox styling */
.login-form .form-check-input {
  border-color: #888;
}

.login-form .form-check-label {
  color: #666;
}

/* Password reset link styling */
.password-link {
  color: #666;
  text-decoration: underline;
  display: block;
  text-align: center;
  margin-top: 20px;
}

/* Register link styling */
.register-link {
  color: #666;
  text-decoration: underline;
  display: block;
  text-align: center;
  margin-top: 10px;
}

/* Login title styling */
.login-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
  font-weight: 600;
}

/* Center align the login button */
.login-button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Form label styling */
.login-form .form-label {
  font-weight: 500;
  color: #444;
  margin-bottom: 5px;
}

/* Invalid feedback styling */
.login-form .invalid-feedback {
  font-size: 0.85rem;
}

/* Add spacing between form sections */
.login-form .mb-3 {
  margin-bottom: 1rem !important;
}

/* Language Switcher Styles */
#languageDropdown {
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  background-color: #f8f9fa;
  margin-right: 10px;
}

.dropdown-menu a.dropdown-item {
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  color: #444;
}

.dropdown-menu a.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #000;
}

.dropdown-menu {
  min-width: 5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer {
  margin-top: 3rem;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.logos-container {
  padding: 1rem 0;
}

.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

#timedoo-logo {
  max-width: 140px;
}

#forstcontrol-logo {
  max-width: 160px;
}

#mrcontrol-logo {
  max-width: 120px;
}

/* Make the page display as a flex column to push footer to bottom */
html, body {
  height: 100%;
}

#app {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Adjust card width for different screen sizes */
@media (max-width: 768px) {
  .login-card {
    max-width: 100%;
    padding: 10px;
  }

  .btn-login {
    width: 180px;
  }

  .footer-logo {
    height: 30px;
    margin: 0 10px;
  }
}
