@media (max-width: 768px) {

  .main-content {
    margin: 0;
    padding: 10px;
  }

}


.main-container {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 100vh;
}

.main-container::before {
  content: '';
  position: absolute;
  left: 0px;
  bottom: 0px;
  top: 0px;
  width: 50%;
  background-color: #444;
  z-index: -1;
}

.main-container::after {
  content: '';
  position: absolute;
  right: 0px;
  bottom: 0px;
  top: 0px;
  width: 50%;
  background-color: #333;
  z-index: -1;
}


.form-container {
  width: 100%;
  max-width: 1500px;
  min-height: 100vh;
  max-height: 800px;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
}

.form-container.verify {
  max-height: fit-content;
  overflow: visible;
  height: auto;
  padding-inline: 0px;
  padding-top: 15px;
}


.form-container.verify {
  justify-content: center;
}



.form {
  display: flex;
  position: relative;
  z-index: 10;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 0px 20px 20px 20px;
  background-color: rgb(255, 255, 255);
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
  position: relative;
  z-index: 2;
}

.form.verify {
  min-width: 380px;
  min-height: 400px;
  padding-inline: 30px;
  flex: 0;
  height: fit-content;
  padding-bottom: 40px;
  border-radius: 20px;
  box-shadow: 0px 1.5px 3px rgba(0, 0, 0, 0.1);
}

.form.change-password {
  padding-bottom: 20px;
}

.form.verify .input-box {
  padding: 15px;
}

.form.verify .message-container {
  margin: 20px 0px -50px 0px;
}

.form.verify .message-container.visible {
  margin: 30px 0px -80px 0px;
  padding: 10px 15px 10px 20px;
}

.form.verify .registration-link-container {
  justify-content: center;
}

.form.verify .form-title,
p.verify {
  font-size: 18px;
  margin-bottom: 40px;
}

.form-description {
  font-size: 13px;
  color: #333;
  margin-bottom: 0px;
  background-color: rgb(251, 251, 251);
  padding: 10px 20px;
  border-radius: 10px;
  border: solid rgb(229, 229, 229) 1px;
}








.message-container {
  position: sticky;
  top: 10px;
  width: 100%;
  z-index: 199;
  font-size: 12px;
  padding: 0px 0px;
  text-align: center;
  color: rgb(92, 92, 92);
  margin: 20px 0px -40px 0px;
  transition: all 0.3s ease;
  border-radius: 15px;
  background-color: rgb(253, 253, 253);
  border: solid rgba(229, 229, 229, 0) 1px;
}

.message-container.visible {
  padding: 10px 20px;
  margin: 20px 0px -80px 0px;
  transition: 0.3s ease;
}


.message-container.admin {
  position: fixed;
  top: 20px;
  max-width: 340px;
  width: 100%;
  margin-inline: auto;
}

.message-container.message-container-error {
  background-color: rgb(255, 96, 96);
}

.message-container.message-container-success {
  background-color: rgb(98, 205, 98);
}

.message-container.message-container-info,
.form-description.message-container-info {
  border: solid rgb(229, 229, 229) 1px;
  background-color: rgb(255, 253, 220);
}


.message-container.message-container-info .close {
  background-color: white;
  border: solid rgb(215, 215, 215) 1px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}

.message-container.message-container-info .close:hover {
  background-color: rgb(249, 249, 249);
}

.message-container.message-container-error .close,
.message-container.message-container-success .close {
  border: solid rgba(255, 255, 255, 0) 1px;
}

.message-container.message-container-info .close {
  border: solid rgb(220, 220, 220) 1px;
}

.message-container.message-container-error .notification-title,
.message-container.message-container-error .notification-message,
.message-container.message-container-success .notification-title,
.message-container.message-container-success .notification-message {
  color: white;
}

.message-container.message-container-info .notification-title,
.message-container.message-container-info .notification-message {
  color: #333;
}


.modal-content {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  color: #333;
}

.modal-content .left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.notification-title {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  text-align: left;
}

.notification-message {
  font-size: 13px;
  color: #333;
  text-align: left;
}

.close {
  min-height: 35px;
  min-width: 35px;
  height: 35px;
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  padding-bottom: 5px;
  background-color: whitesmoke;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  border: solid rgb(219, 219, 219) 1px;
  transition: 0.2s ease;
}

.close:hover {
  background-color: rgb(251, 251, 251);
}




.form-title {
  width: 100%;
  max-width: 350px;
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  color: #5e5e5e;
  margin-bottom: 20px;
  margin-top: 20px;
}




form .input-label {
  width: 100%;
  max-width: 350px;
  font-size: 13px;
  text-align: left;
  justify-content: left;
  margin-top: 25px;
  font-weight: 500;
  color: #616161;
}

.input-box,
.form textarea,
.form select {
  width: 100%;
  max-width: 350px;
  padding: 12px;
  margin-top: 12px;
  border-radius: 10px;
  border: solid rgba(0, 0, 0, 0.35) 1.5px;
  background-color: transparent;
  color: rgb(46, 46, 46);
  outline: solid rgba(102, 51, 153, 0) 1.5px;
  transition: 0.3s ease;
  font-size: 12px;
}

.form .input-box:focus {
  outline: solid rgba(153, 151, 51, 0.829) 1.5px;
}


.input-box.verify {
  font-size: 17px;
  letter-spacing: 18px;
  text-align: center;
  font-weight: 500;
}

.input-box.verify::placeholder {
  font-size: 12px;
  letter-spacing: normal;
  text-align: left;
  font-weight: normal;
}

textarea {
  width: 100%;
  resize: none;
  font-family: Arial, Helvetica, sans-serif;
}



.password-container {
  width: 100%;
  max-width: 350px;
  display: flex;
  align-items: center;
  position: relative;
}

.show-password-button {
  position: absolute;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 5px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  margin-bottom: -12px;
}

.show-password-button img {
  height: 18px;
  width: 18px;
  object-fit: contain;
}

.hide-line {
  border-top: solid rgb(50, 50, 50) 2.5px;
  width: 24px;
  transform: rotateZ(45deg);
  position: absolute;
  border-radius: 2px;
  transition: 1s linear(0 0%, 0.22 2.1%, 0.86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, 0.94 24%, 0.89 25.9%, 0.88 26.85%, 0.87 27.8%, 0.87 29.25%, 0.88 30.7%, 0.91 32.4%, 0.98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, 0.99 55.4%, 0.98 57.5%, 0.99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%);
}

.hide-line.visible {
  width: 0px;
}



.submit-button {
  max-width: 350px;
  width: 100%;
  height: 43px;
  min-height: 43px;
  font-size: 13px;
  border-radius: 50px;
  border: solid rgba(0, 0, 0, 0) 1px;
  color: white;
  cursor: pointer;
  font-weight: 500;
  margin-top: 7vh;
  background-color: rgb(0, 72, 167);
  transition: 0.3s ease;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
  box-shadow: 0px 1.3px 5px rgba(0, 0, 0, 0.1);
  background-color: #0070c6;
}

.submit-button.secondary {
  background-color: #333;
}

.submit-button:disabled {
  cursor: not-allowed;
  background-color: rgba(0, 68, 156, 0.884);
}


.spinner {
  border: 2px solid #ffffff48;
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s ease infinite;
  display: inline-block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}





.forgot-password-container {
  display: flex;
  align-items: center;
  justify-content: right;
  width: 100%;
  max-width: 350px;
  margin-top: 15px;
}

.forgot-password-link {
  font-size: 12px;
  color: #555;
  font-weight: 500;
  text-decoration: none;
}

.forgot-password-link:hover {
  text-decoration: underline;
}



.registration-link-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 45px;
  width: 100%;
  max-width: 350px;
  font-size: 13px;
  color: rgb(41, 41, 41);
}

.registration-link {
  color: rgb(69, 69, 69);
  text-decoration: none;
  border: none;
}

.registration-link:hover {
  text-decoration: underline;
}

.registration-link-container button {
  font-size: 12px;
  background-color: transparent;
  cursor: pointer;
  margin-bottom: -3px;
}



.form-footer {
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #555;
  font-weight: 500;
  margin-top: 35px;
  background-color: rgb(251, 251, 251);
  border-radius: 30px;
  border: solid rgb(241, 241, 241) 1px;
  box-shadow: 0px 1.5px 3px rgba(0, 0, 0, 0.1);
  position: fixed;
  bottom: 20px;
  left: 20px;
  gap: 10px;
  transition: 0.3s ease;
  animation-name: copyright-animation;
  animation-timing-function: ease;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.form-footer img {
  height: 15px;
  width: 15px;
  object-fit: contain;
}

@keyframes copyright-animation {
  0% {
    transform: translateY(0px);
    animation-timing-function: ease;
  }

  50% {
    transform: translateY(-6px);
    animation-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
  }

  100% {
    transform: translateY(0px);
    animation-timing-function: ease;
  }
}




.form-image-container {
  height: 100%;
  background-color: #444;
  position: relative;
  transition: 0.3s ease;
}

.form-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.form-side-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  padding: 3vw;
  text-align: center;
  background: rgba(255, 248, 211, 0.751);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.7;
  font-weight: bold;
  color: rgba(255, 255, 255, 0);
}


@media (max-width: 768px) {

  .form {
    width: 100%;
  }

  .form.verify {
    min-width: 100%;
    min-height: 300px;
    padding-inline: 15px;
  }

  .form.verify .message-container {
    margin-top: 40px;
  }

  .form.verify .message-container.message-container-success,
  .form.verify .message-container.message-container-error,
  .form.verify .message-container.message-container-info {
    margin-top: 20px;
  }

  .close {
    padding: 0px;
  }


  .form .input-box {
    padding-block: 16px;
    font-size: 13px;
  }

  .input-box.verify {
    font-size: 17px;
  }

  .submit-button {
    height: 45px;
  }

  .form-image-container {
    width: 0%;
  }

  .registration-link {
    margin-bottom: 0px;
  }

  .form-footer {
    left: -5px;
    border-radius: 0px 30px 30px 0px;
    padding-block: 11px;
  }
}

@media (min-width: 768px) {
  .form {
    flex: 1;
    min-width: 450px;
  }

  .form-image-container {
    flex: 2;
  }
}


.input-box:-webkit-autofill,
.input-box:-webkit-autofill:hover,
.input-box:-webkit-autofill:focus,
.input-box:-webkit-autofill:active {
  box-shadow: inset 300px 500px 0px #ebebeb;
  -webkit-text-fill-color: rgb(66, 66, 66);

}