@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.top-avatar {
  position: absolute;
  top: -85px;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.flag {
  width: 100px;
}

.top-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  height: 100px;
}

@media (max-width: 550px) {
  .top-container {
    flex-direction: column;
  }

  .top-avatar {
    margin-right: unset;
    margin: 0 auto !important;
  }
}

input[name="phone2"].error {
  color: red !important;
}

.flag {
  font-family: "Montserrat", sans-serif;
}

.error {
  border: 1px solid red;
  margin-bottom: 10px !important;
}

input[type="tel"] {
  width: 100%;
}

.iti {
  width: 100%;
}

.overlay-HIYyFVszYb {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow-y: auto;
  display: none;
}

.lds-spinner-HIYyFVszYb {
  color: official;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-spinner-HIYyFVszYb div {
  transform-origin: 40px 40px;
  animation: lds-spinner-HIYyFVszYb 1.2s linear infinite;
}

.lds-spinner-HIYyFVszYb div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fff;
}

.lds-spinner-HIYyFVszYb div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}

.lds-spinner-HIYyFVszYb div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}

.lds-spinner-HIYyFVszYb div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}

.lds-spinner-HIYyFVszYb div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}

.lds-spinner-HIYyFVszYb div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}

.lds-spinner-HIYyFVszYb div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}

.lds-spinner-HIYyFVszYb div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

.lds-spinner-HIYyFVszYb div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}

.lds-spinner-HIYyFVszYb div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}

.lds-spinner-HIYyFVszYb div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}

.lds-spinner-HIYyFVszYb div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}

.lds-spinner-HIYyFVszYb div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}

@keyframes lds-spinner-HIYyFVszYb {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.visible-HIYyFVszYb {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.plug {
  display: flex;
  top: 0;
  position: fixed;
  overflow: hidden;
  height: 100%;
  width: 100%;
  background: white;
  z-index: 999999;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-align: center;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  padding: 0 20px;
}

* {
  box-sizing: border-box;
}

.main-bg {
  background: #f4f4f4;
  height: 100vh;
}

.date {
  margin: auto;
  padding: 7px 20px;
  border-radius: 60px;
  width: fit-content;
  background: white;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  color: #000000;
  position: relative;
}

.left-chat .chat-block,
.right-chat .chat-block {
  background: #c2ffd7;
  background: linear-gradient(0deg, #ffffff 0%, #ffffff 100%), #d1fedd;
  box-shadow:
    0px 0px 0px 0px rgba(0, 0, 0, 0.1),
    0px 1px 2px 0px rgba(0, 0, 0, 0.1),
    0px 3px 3px 0px rgba(0, 0, 0, 0.09),
    0px 6px 4px 0px rgba(0, 0, 0, 0.05),
    0px 11px 4px 0px rgba(0, 0, 0, 0.01),
    0px 18px 5px 0px rgba(0, 0, 0, 0),
    0px 18px 5px 0px rgba(0, 0, 0, 0),
    0px 18px 5px 0px rgba(0, 0, 0, 0);
  border-radius: 4px 26px 26px 26px;
  padding: 16px 20px 22px 16px;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  max-width: 100%;

  color: #000000;
}

.right-chat .chat-block {
  border-radius: 26px 4px 26px 26px;
}

.main-chat {
  width: 40%;
  margin: 14px auto auto;
  height: 70%;
  overflow: scroll;
  padding-bottom: 30px;
  padding-inline: 10px;
}

.main-chat::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

.custom-form {
  width: 40%;
  margin: 14px auto auto;
  height: 80%;
  padding-bottom: 30px;
}

.left-chat,
.right-chat {
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 16px;
  justify-content: left;
}

.right-chat {
  justify-content: right;
  flex-direction: row-reverse;
  width: 100%;
}

.time {
  margin-left: 12px;
  margin-right: 12px;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 12px;

  color: rgba(255, 255, 255, 0.7);
}

.horizontal,
.vertical {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
}

.vertical {
  justify-content: left;
  flex-direction: column;
}

.answer-btn {
  width: 49%;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #ffffff;
  background: #00000073;
  border: 2px solid #ffffff;
  border-radius: 10px;
  padding-top: 14px;
  padding-bottom: 14px;
  transition: all 0.3s ease-in-out;
  margin-bottom: 16px;
  cursor: pointer;
}

.vertical .answer-btn {
  width: 100%;
}

.answer-btn:hover {
  color: #fff;
  background: #50c646;
}

.form-wrapper {
  padding: 10px;
}

.form {
  display: block;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
  box-shadow: 0px 0px 10px 0px #fff;
  width: 100%;
}

.form h4 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 13px;
  font-size: 1.5rem;
}

.form input {
  width: 100%;
  border-radius: 10px;
  padding: 10px 20px 10px 20px;
  border: 2px solid black;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
}

.form-input {
  border-radius: 5px;
  border: 2px solid black;
}

.form button {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #000;
  background: #50c646;
  border: 2px solid #50c646;
  border-radius: 10px;
  padding: 14px 25px;
  width: 240px;
  height: 50px;
  transition: all 0.3s ease-in-out;
  margin: 10px auto;
}

@media screen and (max-width: 767px) {
  .main-chat,
  .custom-form {
    width: 100%;
  }
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper label {
  position: absolute;
  left: 10px;
  top: 15px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 16px;
  color: #000;
}

.submit-wrapper {
  width: 100%;
  position: relative;
}

.loader {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 10px;
  background: linear-gradient(0deg, #c2ffd7 0%, #c2ffd7 100%), #d1fedd;
  color: #000 !important;
  border: none;
  transition: all 250ms ease;
  width: 240px;
  height: 50px;
  padding: 10px 0;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18px;
  left: 50%;
  transform: translate(-50%, 0);
}

.new-logo {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;

  margin-right: auto;
}

.new-logo img {
  width: 100px;
}

.new-logo h2 {
  font-size: 30px;
  color: #fff;
  text-transform: uppercase;
  font-style: bold;
}

.new-logo .flag {
}

@media (max-width: 860px) {
  /* .flag{
margin-right: unset;
margin-left: auto;

}
.new-logo{
width: 100%;
padding: 0 10px;
} */
  .new-logo img {
    width: 50px;
  }

  .new-logo h2 {
    font-size: 18px;
  }

  .flag {
    width: 40px;
    height: auto;
  }

  @media (max-width: 500px) {
    .new-logo {
      width: 100%;
      padding: 0 10px;
    }

    .flag {
      margin-right: unset;
      margin-left: auto;
    }

    .top-container {
      height: 150px;
      justify-content: flex-start;
    }
  }
}

.error-message {
  color: red;
}

.top-avatar-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.top-avatar {
  position: static;
}

@media (max-width: 500px) {
  .top-container {
    height: auto;
  }
}

@media (min-height: 1000px) {
  .pattern-bg {
    height: 100vh;
  }
}

.aio-sdk-form {
  --aio-sdk-form-padding: 20px 16px;
  --aio-sdk-input-bg: #fff;
  --aio-sdk-input-font-size: 14px;
  --aio-sdk-input-border-radius: 6px;
  --aio-sdk-input-padding: 8px 12px;
  --aio-sdk-input-color: #0f172a;
  --aio-sdk-submit-bg: #50c646;
  --aio-sdk-submit-padding: 12px;
  --aio-sdk-submit-border: 0 solid #e5e7eb;
  --aio-sdk-submit-border-radius: 8px;
  --aio-sdk-submit-color: #fff;
  --aio-sdk-submit-font-size: 16px;
  background: #fff;
  border-radius: 20px;
  box-shadow:
    #ffffff 0 0 0 0,
    rgba(15, 23, 42, 0.05) 0 0 0 1px,
    rgba(0, 0, 0, 0.1) 0 20px 25px -5px,
    rgba(0, 0, 0, 0.1) 0 8px 10px -6px;
  margin: 0 auto;
}

.form-header__title {
  border-radius: 8px;
  scroll-margin-top: 120px;
}

.form-header__title h3 {
  text-align: center;
  background: #50c646;
  font-family: inherit;
  padding: 25px 0;
  font-size: 24px;
  color: #fff;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}

* {
  scroll-behavior: smooth;
}

.custom-form {
  width: 30% !important;
}

.new-logo .flag {
  max-height: 40px;
  width: auto;
}

@media screen and (max-width: 767px) {
  .custom-form {
    width: 100% !important;
    margin-top: 3rem !important;
  }
}

.custom-dropdown-wrapper {
  position: relative;
  width: 100%;
}

.custom-dropdown-selected {
  padding-right: 32px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  height: auto;
  box-sizing: border-box;
  font-size: 17px !important;
}

.custom-dropdown-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  color: #555;
  line-height: 1;
  height: 1em;
  display: flex;
  align-items: center;
}

.custom-dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-top: 4px;
  max-height: 160px;
  overflow-y: auto;
  display: none;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  padding: 0;
  list-style: none;
}

.custom-dropdown-list::-webkit-scrollbar {
  width: 4px;
}

.custom-dropdown-list::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #ddd;
}

.custom-dropdown-option {
  padding: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.custom-dropdown-option:hover {
  background: #f2f2f2;
}

.custom-dropdown-option {
  padding: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  color: #222222;
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
}

input.custom-dropdown-selected::placeholder {
  font-size: 14px !important;
}

@media (max-width: 1200px) {
  input.custom-dropdown-selected::placeholder {
    font-size: 13px !important;
  }
  .custom-dropdown-selected {
    font-size: 13px !important;
  }
}

@media (max-width: 991px) {
  input.custom-dropdown-selected::placeholder {
    font-size: 12px !important;
  }
  .custom-dropdown-selected {
    font-size: 12px !important;
  }
}

input.error-input {
  border: 2px solid red !important;
}

.iti__selected-country {
  box-shadow: unset !important;
}

.hide {
  display: none;
}
