/* form */
form {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 480px !important;
  min-height: 600px;
  min-width: 460px !important;
}

.form-login {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
  max-width: 480px !important;
  min-height: max-content;
  min-width: 460px !important;
}

.form-styles {
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.16);
  background-color: #ffffff;
  border-radius: 16px;
  gap: 15px;
}

.login-form-gap {
  gap: 20px !important;
}

.form-styles h3 {
  font-size: 26px;
}

.is-invalid {
  border: 1px solid red !important;
}


.error {
  color: red;
  font-size: 12px;
  font-family: "Poppins", sans-serif;
  text-align: end;
}

/* buttons */
.button {
  background-color: #003366;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease-in-out !important;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.button:hover {
  background-color: #003366de !important;
}

/* form inputs */
.checkbox {
  font-size: 16px;
}

.custom-input {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ABABAB;
  border-radius: 5px;
  border: solid 0.5px #ABABAB;
  font-size: 14px;
  font-family: "Poppins", sans-serif !important;
}
.custom-input:active,
.custom-input:focus,
.custom-input:focus-within,
.custom-input:focus-visible{
  background-color: #fff !important;
  border: solid 0.5px #ABABAB;
  font-family: "Poppins", sans-serif !important;
  outline: none !important;
  box-shadow: none !important;
}
.custom-input:-webkit-autofill {
  background-color: #fff !important;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
  transition: background-color 5000s ease-in-out 0s;
  font-family: "Poppins", sans-serif !important;
}


.custom-input::placeholder {
  color: #ABABAB;
  font-family: "Poppins", sans-serif !important;
}

/* form toggle */
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-check-input:checked,
.form-check-input {
  background-color: #003366;
  border-color: #003366;
}

.form-check-input:focus {
  border-color: #003366 !important;
}

.form-check-input:focus {
  box-shadow: none;
}

.form-switch .form-check-input,
.form-switch .form-check-input:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 1%29'/%3e%3c/svg%3e");
}
/* .form-switch .form-check-input,
.form-switch .form-check-input:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23003366'/%3e%3c/svg%3e");
} */


/* toggle labels */
.toggle-container label {
  font-family: "Poppins", sans-serif;
}

form label {
  font-size: 16px;
  color: rgba(124, 124, 124, 1);
  font-family: "Poppins", sans-serif;
}

.password-container {
  position: relative;
}

.toggle-eye {
  position: absolute;
  top: 54%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.link-styles {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #000;
}
.link-styles:hover {
  color: rgba(124, 124, 124, 1);
}
.link-styles-secondary {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #000;
}
.link-styles-secondary a {
  color: #2b2b2b;
  padding-left: 3px;
}
.link-styles-secondary a:hover {
  color: rgba(124, 124, 124, 1);
  padding-left: 3px;
}
.form-text {
  font-size: 16px;
  font-weight: 500;
}

.verification-input {
  width: 43px;
  height: 43px;
  text-align: center;
  font-size: 1.5em;
  margin-right: 0.5em;
  background-color: #F1F1F1;
  border-radius: 8px;
  border: solid 1px #003366;
}

.input-icon-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  display: flex;
  align-items: center;
  position: absolute;
  left: 8px;
  top: 10px;
  color: #666;
  font-size: 1.2em;
}

.with-icon {
  /* padding-left: 2em; */
}

.custom-input-with-prefixicon {
  /* padding-left: 45px !important; */
}
/* Responsive styles */
/* ----------------------------------- */
@media screen and (max-width: 576px) {
  .form-text {
    font-size: 14px;
  }
  form label {
    font-size: 12px;
  }
  .link-styles-secondary {
    font-size: 12px;
  }

  form {
    padding: 40px 15px;
    min-width: 300px !important;
    width: 100% !important;
  }
  .form-login {
    padding: 40px 15px;
    min-width: 300px !important;
    width: 100% !important;
  }
}

@media screen and (min-width: 1200px) {
  
  .input-icon-forgot {
    top: 16px !important;  
  }
}

/* 1366 x 768 */
@media screen and (min-width: 1366px) and (max-width: 1367px) and (min-height: 85vh) and (max-height: 100vh) {
  form label {
    font-size: 14px;
  }

  form {
    min-height: 500px !important;
  }
  .form-login {
    min-height: max-content !important;
  }

  .custom-input {
    padding: 6px 10px;
    margin: 3px 0;
  }

  .form-styles {
    gap: 8;
  }

  .form-wrapper {
    padding: 0 !important;
  }
  .input-icon-forgot{
    top: 10px !important;
  }
}
#loginForm .fieldInputs {
  margin-bottom: 15px !important;
}
.iconemail{
  top: 16px ;
}
.iconkey{
  top: 11px ;
}
@media screen and (min-width: 768px) {
  
  form{
    padding: 30px 40px !important;
  }
  /* .toggle-input-login{
    margin-bottom: 0px !important;
  } */
}


@media screen and (min-width: 1200px) and (max-width: 1367px) and (min-height: 650px) and (max-height: 750px) {
  .wrapper-1280-scroll {
    min-height: 500px !important;
    height: 450px;
    overflow-y: scroll;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.16);
  background-color: rgba(244, 244, 244, 1);
  border-radius: 24px;
  }
  .wrapper-1280-scroll::-webkit-scrollbar {
    display: none;
  }
  .wrapper-1280-scroll .form-styles {
    box-shadow: none;
    background-color: rgba(244, 244, 244, 1);
    border-radius: 24px;
    gap: 15px;
  }
  .iconemail{
    top: 11px ;
  }
  .iconkey{
    top: 5px ;
  }
}

