.body-login {
  background-color: #FE6A00FF;
  background-image: url("/assets/elic_site-4723aecb.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.navbar {
  background-color: #343a40;
}

.navbar-brand {
  color: #ffffff;
  font-weight: bold;
}

.form-container {
  background-color: #ffffffef;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  padding: 20px;
  max-width: 400px;
  width: 100%;
  margin-top: 80px;
  margin-bottom: 20px;
}

@media (max-width: 440px) {
  .form-container {
    width: calc(100% - 40px);
  }
}

.form-container h2 {
  margin-bottom: 30px;
  text-align: center;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.field input[type="email"],
.field input[type="password"] {
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  padding: 10px;
  width: 100%;
  padding-left: 30px;
}

.field input[type="email"]:focus,
.field input[type="password"]:focus {
  outline: none;
  border-color: #3498db;
}

.actions {
  text-align: center;
}

.actions input[type="submit"] {
  background-color: #343a40;
  border: none;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  padding: 10px 20px;
}

.actions input[type="submit"]:hover {
  background-color: #23272b;
}

.form-container p {
  margin-top: 20px;
  text-align: center;
}

.form-container p a {
  color: #3498db;
  text-decoration: none;
}

.image-container img {
  max-width: 100%;
  height: auto;
  padding-inline: 10%;
  margin-bottom: 20px;
}

.remember-me-container {
  padding: 0px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

#checkbox-field label {
  margin-bottom: 0px !important;
}

.forgot-password-link {
  margin-left: auto;
}

.actions .submit-button {
  background-color: #00BF63 !important;
  border: 0 !important;
  color: #FFFFFF !important;
  font-family: Phantomsans, sans-serif !important;
  font-size: 15px !important;
  width: 100% !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 300ms !important;
  margin-bottom: 10px;
}

.actions .submit-button:hover {
  background-color: #00A354 !important;
}

.actions .submit-button:active {
  outline: 0 !important;
}

.actions .redirect-button {
  display: inline-block;
  background-color: #FE6A00;
  border: 0;
  border-radius: 8px;
  color: #FFFFFF;
  font-family: Phantomsans, sans-serif;
  font-size: 15px;
  width: 100%;
  padding: 10px 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 300ms;
}

.actions .redirect-button:hover {
  background-color: #E65700;
}

.actions .redirect-button:active {
  outline: 0;
}

.forgot-password-link a {
  text-align: right !important;
  color: #FE6A00 !important;
  font-weight: bold !important;
  text-decoration: none !important;
}

.forgot-password-link a:hover {
  text-decoration: underline !important;
  background-color: transparent !important;
}

.placeholder-icon {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
}

.placeholder-icon .icon {
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  pointer-events: none;
  width: 16px;
  height: 16px;
}

.language-selection {
  margin-top: 7px;
}
/* Requisitos da palavra-passe (devise/passwords/edit): cinzento até se cumprir, verde depois. */
.password-requirements {
  text-align: left;
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 15px;
}

.password-requirements p {
  text-align: left;
  margin-bottom: 4px;
}

.password-requirements ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.password-requirements li::before {
  content: "\2022";
  display: inline-block;
  width: 18px;
}

.password-requirements li.met {
  color: #00A354;
}

.password-requirements li.met::before {
  content: "\2713";
}
