.overlay {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  background-color: #000000a1;
  z-index: 10000;
  display: none;
}
.image-top img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}
.popup-container {
  width: 800px;
  height: auto;
  box-shadow: 0px 0px 50px 8px #00000066;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffff;
}

.image-top {
  width: 100%;
  height: 360px;
  position: relative;
  overflow: hidden;
}

.popup-body {
  padding: 20px 40px 40px 40px;
}

.popup-title {
  font-weight: 700;
  font-size: 31.25px;
  line-height: 140%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #394049;
  margin-bottom: 8px;
}

.popup-text {
  font-family: Noto Sans;
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #394049;
  margin-bottom: 32px;
}

.container-button {
  display: flex;
  justify-content: center;
  width: 100%;
}

.popup-button {
  padding: 12px 36px !important;
}

.popup-button span {
  font-family: Noto Sans;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #ffff;
}

.close-btn {
  position: absolute;
  z-index: 9999;
  color: #fff;
  right: 23px;
  top: 23px;
  font-size: 19px;
  line-height: 19px;
}

@media (max-width: 1200px) {
  .popup-container {
    width: 700px;
  }

  .popup-button {
    padding: 11px 34px !important;
  }
}

@media (max-width: 743px) {
  .popup-container {
    width: 380px;
  }

  .popup-button {
    padding: 11px 34px !important;
  }

  .image-top {
    height: 200px;
  }

  .popup-body {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  .popup-title {
    font-size: 25px;
    margin-bottom: 12px;
  }

  .popup-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .popup-button {
    padding: 8px 24px !important;
  }

  .popup-button span {
    font-size: 14px;
  }

  .close-btn {
    right: 21px;
    top: 21px;
    font-size: 14px;
    line-height: 14px;
  }
}

@media (max-width: 389px) {
  .popup-container {
    width: 94%;
  }
}

/* POPUP */
/* POPUP */
.popup-banner {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  background-color: #000000a1;
  z-index: 10001;
}

.popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 451px;
  padding: 48px 32px;
  text-align: center;
}

.popup h2 {
  font-family: Noto Sans;
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 35px !important;
  text-align: left;
  color: #394049;
  margin-bottom: 24px;
}

.popup .input-group {
  padding: 16px 20px;
  display: flex;
  gap: 10px;
  border: 1px solid #a4a7ab;
  border-radius: 8px;
  align-items: center;
}

.popup .input-group {
  margin-bottom: 24px;
}

.popup .input-group label {
  display: block;
  color: #646970;
  font-family: Noto Sans;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  text-align: left;
}

.popup .phone-label {
  color: #646970;
  font-family: Noto Sans;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.popup .input-group input {
  width: 312px;
  padding: 0;
  border: none;
  font-family: Noto Sans;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #21272d;
}

.popup .checkbox-group {
  display: flex;
  align-items: center;
  justify-content: left;
  margin-bottom: 32px;
}

.popup .checkbox-group input {
  margin-right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.popup .checkbox-group label {
  font-family: Noto Sans;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
  color: #394049;
}

.popup .button-group {
  display: flex;
  justify-content: space-between;
}

.popup .button-group button {
  padding: 12px 61px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: Noto Sans;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
}

.popup .button-group .cancel {
  color: #646970;
  border: 2px solid #a4a7ab;
  background-color: #ffffff;
}

.popup .button-group .cancel:hover {
  background-color: #ebeaea;
}

.popup .button-group .confirm {
  border: 2px solid #ced0d3;
  background: #e4e4e6;
  color: #a4a7ab;
  cursor: default;
}

.active-btn {
  background: linear-gradient(
    70.15deg,
    #066bfc 16.67%,
    #5ea1fd 100%
  ) !important;
  border: none !important;
  color: white !important;
  cursor: pointer !important;
}

@media (max-width: 743px) {
  .popup {
    width: 354px;
    padding: 24px;
  }

  .popup h2 {
    font-family: Noto Sans;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 28px !important;
    text-align: left;
    color: #394049;
    margin-bottom: 16px;
  }

  .popup .input-group {
    padding: 16px 20px;
    display: flex;
    gap: 8px;
    border: 1px solid #646970;
    border-radius: 8px;
    align-items: center;
  }

  .popup .input-group svg {
    width: 22px;
    height: 22px;
  }

  .popup .input-group label {
    font-size: 10px;
    font-weight: 600;
    line-height: 15px;
  }

  .popup .phone-label {
    font-size: 10px;
    font-weight: 600;
    line-height: 15px;
  }

  .popup .input-group input {
    width: 235px;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
  }

  .popup .checkbox-group input {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    border-radius: 8px;
  }

  .popup .checkbox-group label {
    font-family: Noto Sans;
    font-size: 10px;
    font-weight: 400;
    line-height: 15px;
    text-align: left;
    color: #394049;
  }

  .popup .phone-label {
    font-family: Noto Sans;
    font-size: 10px;
    font-weight: 400;
    line-height: 15px;
    color: #394049;
  }

  .popup .button-group button {
    padding: 7px 48px;
    font-size: 14px;
    font-weight: 600;
    line-height: 19.6px;
    text-align: center;
  }
}

/* ALERT */
.alert {
  position: fixed;
  top: 120px;
  right: -100%;
  display: flex;
  align-items: center;
  background-color: #f6fef9;
  border-left: 4px solid #12b76a;
  color: #12b76a;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 450px;
  height: 56px;
  transition: transform 0.5s ease, right 0.5s ease;
  padding: 16px 20px;
  gap: 12px;
}

.alert-icon {
  color: #12b76a;
  font-weight: bold;
  margin-right: 10px;
}

.alert-text {
  flex: 1;
}

.alert.show {
  right: 20px;
  /* Move into view */
}

.alert.hide {
  right: -100%;
  /* Move off-screen */
}

.alert-close {
  cursor: pointer;
  font-size: 16px;
  color: #6c757d;
  margin-left: 10px;
}

@media (min-width: 744px) and (max-width: 1200px) {
  .alert {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    width: 420px;
    top: 90px;
  }
}

@media (max-width: 743px) {
  .alert {
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    width: 100%;
    top: 90px;
  }

  .alert.show {
    right: 0;
    /* Move into view */
  }
}

.loading {
  position: relative;
}

.loading::after {
  content: "";
  position: absolute;
  top: calc(50% - 10px);
  left: calc(50% - 10px);
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

.loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e4e4e6;
  cursor: default;
  border-radius: 100px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.phone-container-input {
  padding: 0 !important;
  margin-top: -11px;
}

.phone-label {
  margin-left: 105px;
  margin-top: 15px;
  position: absolute;
  z-index: 1;
}

input[type="tel"] {
  border-radius: 0.375rem 0.375rem 0.375rem 0.375rem !important;
  padding-top: 32px;
  border: 1px solid #a4a7ab;
  border-radius: 8px;
}

.height-75px {
  height: 75px;
}

.iti {
  width: 100%;
  height: 75px;
  margin-bottom: 30px;
}

.iti__country-container {
  left: 0;
}

.iti__selected-country-primary {
  padding: 0px 21px 1px 32px !important;
  border-right: 1px solid;
  height: 75px !important;
}

.iti .iti__selected-dial-code {
  margin-top: 20px;
  margin-left: 20px !important;
}

.phone-input {
  padding-left: 135px;
}

.error {
  border: 1px solid rgba(232, 43, 48, 1) !important;
}

.err-message {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: rgba(232, 43, 48, 1);
  text-align: left;
  padding: 0;
  margin: 0;
  position: relative;
  top: -22px;
  height: 0;
}

.iti--inline-dropdown .iti__dropdown-content {
  bottom: 100% !important;
}

.iti--inline-dropdown .iti__country-list {
  max-height: 152px !important;
}
