body {
  width: 100%;
  height: 100vh;
  font-family: "Inter", "Noto Sans", "Roboto", sans-serif;
  background-image: url("../images/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #1a1a1a;
  /* overflow: hidden; */
  margin: 0;
}

.login-form-container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-form-container-inner {
  box-sizing: border-box;
  /*max-width: 392px;*/
  max-width: 480px;
  width: 100%;
  height: auto;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  background-color: #fff;
  /*padding: 32px 50px;*/
  padding: 40px;
  margin: 20px;
}

.login-form-and-logo-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.logo-wrapper img {
  width: 90px;
  height: 90px;
}

.title-wrapper {
  margin: 50px 0;
}

.title-wrapper h6,
.title-wrapper h4 {
  margin: 0;
  padding: 0;
  text-align: center;
  color: #007355;
}

.title-wrapper h4 {
  font-size: 26px;
  font-weight: 400;
  line-height: 31px;
  padding-bottom: 5px;
}

.title-wrapper h6 {
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  padding-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  height: 40px;
  padding: 15px;
  padding-left: 0;
  border: none;
  border-bottom: 1px solid #007355;
  font-size: 16px;
  margin-bottom: 20px;
  box-sizing: border-box;
  transition: 0.5s;
  outline: none;
  margin-top: 8px;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border: none;
  border-bottom: 1px solid #007355;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  font-size: 14px;
}

.form-forgot-password-wrapper {
  margin: 22px 0px;
}

.form-forgot-password-wrapper a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #007355;
  font-size: 16px;
  font-weight: 600;
}

label {
  font-size: 12px;
  font-weight: 600;
  color: #282828;
}

button {
  background-color: #007355;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 32px;
}

button:hover {
  background-color: #005f43;
}

.form-sign-up-wrapper {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
}

.form-sign-up-wrapper a {
  color: #007355;
  text-decoration: none;
}

@media screen and (max-width: 300px) {

  .login-form-container-inner {
    margin: 10px;
    padding: 20px 10px;
  }
}

@media screen and (max-width: 512px) {
  .login-form-container-inner {
    margin: 10px;
    padding: 20px 10px;
  }
  input[type="text"],
  input[type="email"],
  input[type="password"] {
    height: 35px;
    padding: 10px;
    padding-left: 0;
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: 8px;
  }
  .title-wrapper h4 {
    font-size: 22px;
    line-height: 22px;
  }

  .title-wrapper h6 {
    font-size: 18px;
    line-height: 18px;
  }
}
.error-message {
  color: red;
  font-size: 14px;
  margin-bottom: 15px;
  text-align: left;
  font-weight: bold;
}

button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.loading {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

.back-to-sign-in-wrapper {
  margin-top: 0px;
}

.back-to-sign-in-wrapper a {
  display: block;
  text-align: right;
  text-decoration: none;
  color: #007355;
  font-size: 16px;
  font-weight: 800;

}

.form-forgot-password-header h4 {
  display: block;
  text-align: left;
  text-decoration: none;
  color: #007355;
  font-size: 16px;
  font-weight: bold;
}


.language-switch {
  display: flex;
  justify-content: flex-end;
}

.switch {
  position: relative;
  display: inline-block;
}

.switch > span {
  position: absolute;
  top: 14px;
  pointer-events: none;
  font-family: 'Helvetica', Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  width: 50%;
  text-align: center;
}

input.check-toggle-round-flat:checked ~ .off {
  color: #F36F25;
}

input.check-toggle-round-flat:checked ~ .on {
  color: #fff;
}

.switch > span.on {
  left: 0;
  padding-left: 2px;
  color: #F36F25;
}

.switch > span.off {
  right: 0;
  padding-right: 4px;
  color: #fff;
}

.check-toggle {
  position: absolute;
  margin-left: -99px;
  visibility: hidden;
}
.check-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input.check-toggle-round-flat + label {
  padding: 2px;
  width: 150px;
  height: 35px;
  background-color: #007355;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
}
input.check-toggle-round-flat + label:before, input.check-toggle-round-flat + label:after {
  display: block;
  position: absolute;
  content: "";
}

input.check-toggle-round-flat + label:before {
  background-color: #F36F25;
}

input.check-toggle-round-flat + label:after {
  top: 4px;
  left: 60px;
  bottom: 4px;
  width: 48px;
  background-color: #fff;
  -webkit-border-radius: 52px;
  -moz-border-radius: 52px;
  -ms-border-radius: 52px;
  -o-border-radius: 52px;
  border-radius: 52px;
  -webkit-transition: margin 0.2s;
  -moz-transition: margin 0.2s;
  -o-transition: margin 0.2s;
  transition: margin 0.2s;
}


input.check-toggle-round-flat:checked + label:after {
  margin-left: 44px;
}

.toggleContainer {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: fit-content;
  border: 3px solid #007355;
  border-radius: 20px;
  background: #007355;
  font-weight: bold;
  color: #343434;
  cursor: pointer;
}
.toggleContainer::before {
  content: '';
  position: absolute;
  width: 50%;
  height: 100%;
  left: 0%;
  border-radius:20px;
  background: white;
  transition: all 0.3s;
}
.toggleCheckbox:checked + .toggleContainer::before {
  left: 50%;
}
.toggleContainer span {
  padding: 6px;
  text-align: center;
  z-index: 1;
}
.toggleCheckbox {
  display: none;
}
.toggleCheckbox:checked + .toggleContainer span:first-child{
  color: white;
  transition: color 0.3s;
}
.toggleCheckbox:checked + .toggleContainer span:last-child{
  color: #007355;
  transition: color 0.3s;
}
.toggleCheckbox + .toggleContainer span:first-child{
  color: #007355;
  transition: color 0.3s;
}
.toggleCheckbox + .toggleContainer span:last-child{
  color: white;
  transition: color 0.3s;
}

/*forgot*/

.forgot-back-to-sign{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: inherit;
}

.password-wrapper {
  position: relative;
}

.eye-icon {
  position: absolute;
  right: 10px;
  top: 44%;
  transform: translateY(-50%);
  cursor: pointer;
}

.eye-icon img {
  width: 22px;
  height: 22px;
}


/* =================================captcha================== */
.captcha-container {
  position: relative;
  display: inline-block;
  background: linear-gradient(to right, #888, #eee);
  padding: 10px 20px;
  font-family: monospace;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 4px;
  color: #000;
  user-select: none;
  width: 100%;
}
.captcha-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: #000;
  transform: rotate(-3deg);
  transform-origin: left;
}
.captcha-refresh {
  position: absolute;
  right: 5%;
  margin-left: 15px;
  cursor: pointer;
  font-size: 24px;
  color: green;
  transform: rotate(20deg);
  text-decoration: none;
}