/* Add your custom CSS styles here */

body {
  font-family: Arial, sans-serif;
  background-color: #393633;
  /*zoom:55%;*/
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-form {
  width: 360px;
  background-color: #fff;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: bold;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.btn-primary {
  background-color: #2A274B;
  border: none;
}

.btn-primary:hover {
  background-color: #ECCC75;
}

.btn-block {
  display: block;
  width: 100%;
}

.roles {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.role-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border: 2px solid #2A274B;
  border-radius: 5px;
  padding: 10px;
  width: 120px;
  transition: background-color 0.2s ease-in-out;
  margin: 5px;
}

.role-option:hover {
  background-color: #2A274B;
  color: #fff;
}

.role-option input[type="radio"] {
  margin-bottom: 5px;
  cursor: pointer;
  opacity: 0;
}

/* Additional style for selected role */
.role-option.selected {
  background-color: #ECCC75;
  color: #2A274B;
}

.language-toggle {
  text-align: center;
  margin-top: 10px;
}

.language-toggle a {
  margin-right: 10px;
  text-decoration: none;
  color: #2A274B;
}

/*.language-toggle a.active {*/
/*  font-weight: bold;*/
/*}*/

.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  /*display: none;*/
}

.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}
.popup-close {
    font-size:20px;
  top: 110px;
  right: 334px;
  cursor: pointer;
}

.form-control:invalid {
  border: 2px solid #dc3545; /* Red border for invalid input */
}

.form-control:valid {
  border: 2px solid #28a745; /* Green border for valid input */
}

.form-control:invalid + .password-validation-msg::before {
  content: '\f071'; /* Display an error icon (font-awesome) */
  font-family: 'Font Awesome\ 5 Free';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #dc3545;
  font-size: 18px;
}

.form-control:valid + .password-validation-msg::before {
  content: '\f00c'; /* Display a checkmark icon (font-awesome) */
  font-family: 'Font Awesome\ 5 Free';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #28a745;
  font-size: 18px;
}

.password-validation-msg {
  position: relative;
  margin-top: 5px;
  font-size: 14px;
  color: #dc3545;
}

/* Animation keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

/* Replace the × (close symbol) with a Font Awesome icon */
.close::before {
  font-family: 'Font Awesome 5 Free'; /* Specify the Font Awesome font family */
  content: "\f00d"; /* Replace with the code of the close icon you want from Font Awesome */
}

/* Responsive styles for mobile devices */
@media screen and (max-width: 480px) {
  /* Your responsive styles for small screens */
}

@media screen and (max-width: 576px) {
  /* Your responsive styles for even smaller screens */
}
