:root {
  font-size: 16px;
  --shadow-lg:
    rgba(149, 157, 165, 0.3) 0px 8px 24px -4px;
  --border-radius: 0.65rem;
  --border-color: var(--color-grey-200);
}

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  min-height: 100dvh;
  line-height: 1.5rem;
}

a {
  color: var(--color-primary-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-white);
  background-color: var(--color-primary-main);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s;
  width: 100%
}

.btn:hover {
  background-color: var(--color-primary-700);
}

.auth-container-split {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100dvh;
}

.auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100dvh;
  background-image:
    linear-gradient(to bottom, #ffffff 0%, #ffffff 90%, rgba(255, 255, 255, 0) 200%),
    linear-gradient(to right, #00C9FF, #25D6E4, #92FE93);
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, 100% 100%;
  background-position: top, top;

}

.auth-column {
  flex: 1;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.logo-header {
  display: flex;
  align-items: center;
  padding: 2.1rem 2rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  width: 300px;
}

.back-icon {
  width: 14px;
  height: 16px;
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.back-icon svg {
  width: 20px;
  height: 20px;
}

.back-button-container {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
  user-select: none;
  width: fit-content;
  padding: 10px;
  margin-left: -11px;
}

.back-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary-600);
  line-height: 1;
}

.auth-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  &::-webkit-scrollbar {
    display: none;
  }

  -ms-overflow-style: none;
  scrollbar-width: none;
}

.form-wrapper {
  width: 100%;
  max-width: 675px;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  background-color: var(--color-white);
  box-sizing: border-box;
  margin-bottom: auto;
  min-height: min-content;
}

.image-column {
  background-color: #f5f5f5;
  display: none;
}

.heading {
  font-size: 1.25rem;
  color: var(--color-grey-700);
  font-weight: 500;
}

.subheading {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 400;
  max-width: 90%;
}

.inputs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 16px 0px;
}

.full-input {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 22px 12px 7px 12px;
  transition: border-color 0.2s;
}

.full-input input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.875rem;
  color: var(--color-text-primary);
  padding: 0;
  box-sizing: border-box;
  padding: 3px 0px;
}

.full-input label {
  position: absolute;
  top: 4px;
  left: 12px;
  font-size: 0.813rem;
  color: var(--color-grey-300);
  pointer-events: none;
  transition: color 0.2s;
}

.full-input:focus-within {
  border-color: var(--color-primary-500);
}

.full-input:focus-within label {
  color: var(--color-primary-main);
}


.password-input {
  position: relative;
}

.password-input .toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--color-grey-400);
}

.password-input .toggle-password:hover {
  color: var(--color-primary-main);
}

.password-input input {
  padding-right: 2.5rem;
}

.eye-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-grey-300);
}

.icon-hide {
  display: none;
}

.password-input.show-password .icon-show {
  display: none;
}

.password-input.show-password .icon-hide {
  display: inline;
}

.password-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.checkbox-container {
  position: relative;
  padding-left: 28px;
  padding-top: 0.5px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-grey-700);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  line-height: 1.2rem;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  border-radius: 7px;
  border: 1px solid var(--border-color);
}

.checkbox-container:hover input~.checkmark {
  background-color: var(--color-grey-50);
}

.checkbox-container input:checked~.checkmark {
  background-color: var(--color-primary-main);
  border: 1px solid var(--color-primary-main);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked~.checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid white 5px;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.submit-button {
  margin-top: 2.4rem;
}

.sign-up-link {
  color: var(--color-grey-700);
  text-decoration: none;
  font-size: 0.875rem;
  margin-top: 2rem;
}

.terms-conditions {
  color: var(--color-grey-700);
  text-decoration: none;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.field-validation-error,
.error-message,
.validation-error {
  color: var(--color-error-main);
  font-size: 0.813rem;
  margin-top: 0.25rem;
  display: block;
}

.validation-error li {
  list-style: none;
  margin-left: -3.3em;
}

.validation-error ul {
  margin: 8px 0px 0px 2px;
}

.validation-summary {
  margin-bottom: 20px;
}

@media (min-width: 600px) {
  .form-wrapper {
    box-shadow: var(--shadow-lg);
    padding: 2.25rem 2rem;
    max-width: 380px;
    box-sizing: border-box;
  }
}

@media (min-width: 992px) {

  .auth-container-split {
    grid-template-columns: 1fr 1fr;
  }

  .auth-wrapper {
    padding-bottom: 4rem;
  }

  .logo-header {
    padding: 2.1rem 2rem 2rem;
  }

  .image-column {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }

  .image-column .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .auth-column {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 100dvh;
  }

  .form-wrapper {
    box-shadow: var(--shadow-lg);
    margin-top: auto;
  }

}


.top-bar-img img {
  min-width: 100%;
  height: 14px;
  position: fixed;
  z-index: 999;
  width: 100%;
}

.m-auto {
  margin: auto;
}


.hr-divider {
  border: 0.65px solid #E2E2E2;
  margin: 40px 0px;
}

.divider {
  display: none;
}

.block-heading {
  background-color: #2BA8E0;
  font-weight: 500;
  font-size: 18px;
  color: #FFFFFF;
  padding: 10px 20px;
  margin: 30px 0px 20px 0px;
}


.benefits {
  background: url(assets/img/benefits_background.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(54, 95, 120, 1);
  height: 100%;
}


.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  position: relative;
  background: #ffffff;
  width: 95%;
  max-width: 1000px;
  height: 700px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.closeButton {
  position: absolute;
    right: 30px;
    top: 30px;
  z-index: 100;
  width: 35px;
  height: 35px;
  background: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.closeButton:hover {
  background-color: #f1f5f8;
}

@media (max-width: 992px) {
  .modal-box {
    height: 80vh;
  }
}