:root {
  --primary-color: #003F7D;

  --second-color: #ffffff;

  --white-color: #fff;
}


.login-box {
  position: relative;
  /* width: 560px; */
  border: 1px solid var(--primary-color);
  border-radius: 15px;
  padding: 7.5em 2.5em 4em 2.5em;
  background-color: #ffffff;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
}

.login-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  width: 140px;
  height: 70px;
  border-radius: 0 0 20px 20px;
}

.login-header span {
  font-size: 30px;
  color: var(--white-color);
}

.login-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30px;
  width: 30px;
  height: 30px;
  border-top-right-radius: 50%;
  background: transparent;
  box-shadow: 15px 0 0 0 var(--primary-color);
}

.login-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  width: 30px;
  height: 30px;
  border-top-left-radius: 50%;
  background: transparent;
  box-shadow: -15px 0 0 0 var(--primary-color);
}

.input_box {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 20px 0;
}

.input-field {
  width: 100%;
  height: 55px;
  font-size: 16px;
  background: transparent;
  color: #000000;
  padding-inline: 20px 50px;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  outline: none;
}


.label {
  position: absolute;
  top: 15px;
  left: 20px;
  transition: 0.2s ease-in-out;
  opacity: 0;
}

.input-field:focus~.label,
.input-field:valid~.label {
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 14px;
  background-color: var(--primary-color);
  border-radius: 30px;
  color: #fff;
  opacity: 1;
  padding: 0 10px;
}

.icon {
  position: absolute;
  top: 14px;
  right: 25px;
  font-size: 20px;
  cursor: pointer;
}

.bx-hide {
  content: "\eb2c";
  /* Hide icon */
}

.bx-show {
  content: "\eb25";
  /* Show icon */
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.input-submit {
  width: 100%;
  height: 50px;
  background: #FF9E0B;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  color: #fff;
}

.input-submit:hover {
  color: #fff;
  background: color-mix(in srgb, #FF9E0B, transparent 15%);
}

.register {
  text-align: center;
}

.register a {
  font-weight: 500;
}

a {
  color: #6657f4;
}

@media only screen and (max-width: 564px) {
  .wrapper {
    padding: 0px;
  }

  .login-box {
    padding: 4em 1.5em 2em 1.5em;
  }
}

/* For tablets and larger phones */
@media only screen and (max-width: 1024px) {
  .wrapper {
    padding: 50px;
  }

  .login-box {
    width: 100%;
    /* Adjust width */
    padding: 5em 1.5em 3em 1.5em;
    /* Adjust padding */
  }

  .modal-content {
    width: 70%;
    /* Adjust modal width */
  }
}

/* For smaller screens like phones */
@media only screen and (max-width: 564px) {
  .wrapper {
    padding: 0px;
  }

  .login-box {
    padding: 4.5em 1.5em 4em 1.5em;
  }

  .modal-content {
    width: 90%;
    /* Adjust modal width */
  }

  .remember-forgot {
    font-size: 11px;
    margin: 0 10px;
  }

  /* Hide the default checkbox */
  input[type="checkbox"] {
    width: 11px;
    /* Set width */
    height: 11px;
    /* Set height */
  }
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}