@font-face {
  font-family: "Inter";
  src: url("./fonts/Inter-Regular.ttf") format("woff2");
  font-display: swap;
}
.cbf-step {
  display: none;
}
.cbf-step.active {
  display: block;
}
#cbf-form input,
#cbf-form select {
  display: block;
}
.m_revechat_book_a_demo form {
  max-width: 547px;
}
.m_revechat_book_a_demo form .form-control {
  padding: 10px 16px !important;
  min-height: 42px !important;
  border-radius: 10px !important;
  border: 1px solid var(--grey-grey-2020, #d3d8dd);
  color: var(--grey-grey-2060, #253748);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  background-color: #fff; /* optional: ensure same background */
}
.m_revechat_book_a_demo .select2-container .select2-selection--single {
  padding: 10px 8px !important;
  min-height: 42px !important;
  border-radius: 10px !important;
  border: 1px solid var(--grey-grey-2020, #d3d8dd);
  color: var(--grey-grey-2060, #253748);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  background-color: #fff; /* optional: ensure same background */
}
.m_revechat_book_a_demo
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #909fac;
  line-height: 21px !important;
  position: relative;
}
.m_revechat_book_a_demo
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 7px;
  transform: translateY(-50%) rotate(135deg);
  width: 7px;
  height: 7px;
  border-top: 1px solid #253748;
  border-right: 1px solid #253748;
}
.m_revechat_book_a_demo
  .select2-container--default
  .select2-selection--single
  .select2-selection__clear {
  height: 21px !important;
  display: none;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  display: none;
}
.m_revechat_book_a_demo form .form-select {
  padding: 10px 16px !important;
  min-height: 42px !important;
  border-radius: 10px !important;
  border: 1px solid var(--grey-grey-2020, #d3d8dd);
  color: var(--grey-grey-2060, #909fac);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  background-color: #fff; /* optional: ensure same background */
}

/* Focus state for both */
.m_revechat_book_a_demo form .form-control:focus,
.m_revechat_book_a_demo form .form-select:focus {
  box-shadow: none;
  outline: none;
  border: 1px solid var(--Stc-Stc-80, #5e109a) !important;
}

/* Placeholder styling for inputs, selects, textarea */
.m_revechat_book_a_demo form .form-control::placeholder,
.m_revechat_book_a_demo form .form-select::placeholder,
.m_revechat_book_a_demo form textarea::placeholder {
  color: var(--grey-grey-2060, #909fac);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}
.m_revechat_book_a_demo form label {
  color: var(--Black, #253748);
  font-family: "Inter";
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  padding: 24px 0px 4px 0px;
}
.m_revechat_book_a_demo form .col-md{
  position: relative;
}
.m_revechat_book_a_demo form .form-control.error,
.m_revechat_book_a_demo form .form-select.error {
  border: 1px solid var(--Red-Red-90---Base, #d92020);
}
.form-select.error ~ .select2-container .select2-selection--single{
  border: 1px solid #d92020 !important;
}
.m_revechat_book_a_demo form .error-text {
  color: var(--Red-Red-80, #e14d4d);
  font-family: "Inter";
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px; /* 180% */
  position: absolute;
  bottom: -20px;
  left: 0px;
}
#cbf-form button.cbf-next,
.submitloadingModal button,
.cbf-step-3 a {
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 10px;
  background: var(--Stc-Stc-80, #5e109a);
  border: none;
  color: var(--White, #fff);
  text-align: center;
  font-family: "Inter";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  width: 100%;
  margin-top: 44px;
  text-decoration: none;
}
.cbf-step-3 a {
  display: inline-block;
}
#cbf_datetime {
  display: none !important;
}
.cbf_step_inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}
#cbf_time_picker {
  max-height: 352px;
  overflow-y: scroll;
}
#cbf_time_picker::-webkit-scrollbar {
  width: 5px;
  height: 450px;
}
.cbf-submit span#error-message{
  display: block;
}
#cbf_time_picker::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(230, 230, 230, 1);
  border-radius: 10px;
  height: 450px;
}
#cbf_time_picker::-webkit-scrollbar-thumb {
  background: #b2bbc5;
  border-radius: 10px;
  height: 40px;
}
#cbf_time_picker::-webkit-scrollbar-thumb:hover {
  background: #5e109a;
}
#cbf_time_picker ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0px;
  padding: 0px 12px;
}
#cbf_time_picker ul li {
  list-style: none;
  display: flex;
  width: 173px;
  height: 32px;
  padding: 0 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: var(--Num-radius-base, 8px);
  border: 1px solid var(--grey-grey-2020, #d3d8dd);
  color: var(--Black, #253748);
  text-align: center;
  font-family: "Inter";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 19.6px */
  cursor: pointer;
}
#cbf_time_picker ul li.active,
#cbf_time_picker ul li:hover {
  border-radius: var(--Num-radius-base, 8px);
  border: 1px solid var(--Stc-Stc-80, #5e109a);
  background: #edd7ff;
}
#cbf_time_picker {
  border-left: 1px solid #f2f2f2;
}
#cbf_date_picker .flatpickr-calendar {
  -webkit-box-shadow: none;
  box-shadow: none;
}
#cbf_date_picker span.flatpickr-weekday {
  color: #6f7c8e;
  text-align: center;
  font-family: "Inter";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 21px */
}
#cbf_date_picker .flatpickr-day.today {
  border-radius: var(--Num-radius-base, 8px);
  border: 1px solid var(--Stc-Stc-80, #5e109a) !important;
  background: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
#cbf_date_picker .flatpickr-day.selected {
  border-radius: var(--Num-radius-base, 8px);
  border: 1px solid var(--Stc-Stc-80, #5e109a) !important;
  background: #edd7ff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 44px;
}
#cbf_date_picker .flatpickr-day {
  color: var(--Black, #253748);
  text-align: center;
  font-family: "Inter";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}
#cbf_date_picker .flatpickr-disabled {
  color: #6f7c8e;
  text-align: center;
  font-family: "Inter";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}
#cbf_date_picker .flatpickr-time {
  display: none;
}
#cbf_date_picker .dayContainer span {
  margin: 5px 0px;
}
#cbf_date_picker .flatpickr-current-month {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 100%;
  color: var(--Black, #253748);
  text-align: center;
  font-family: "Inter";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}
#cbf_date_picker .flatpickr-month {
  margin-bottom: 15px;
}
#cbf_date_picker .flatpickr-months .flatpickr-next-month {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M16.6668 10L3.3335 10' stroke='%23253748' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M11.667 15C11.667 15 16.667 11.098 16.667 9.99997C16.667 8.90197 11.667 5 11.667 5' stroke='%23253748' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
  border: 1px solid var(--border-color, #dce0e5);
  box-shadow: 0 12px 12px 0 rgba(255, 255, 255, 0.12) inset,
    0 -2px 2px 0 rgba(48, 48, 48, 0.1) inset;
  width: 32px;
  height: 32px !important;
}
#cbf_date_picker .flatpickr-months .flatpickr-prev-month {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M3.33301 9.9998H16.6664M3.33301 9.9998C3.33302 11.0978 8.33284 15 8.33284 15M3.33301 9.9998C3.333 8.90181 8.33287 5 8.33287 5' stroke='%23253748' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
  border: 1px solid var(--border-color, #dce0e5);
  box-shadow: 0 12px 12px 0 rgba(255, 255, 255, 0.12) inset,
    0 -2px 2px 0 rgba(48, 48, 48, 0.1) inset;
  width: 32px;
  height: 32px !important;
}

#cbf_date_picker .flatpickr-months .flatpickr-next-month svg,
#cbf_date_picker .flatpickr-months .flatpickr-prev-month svg {
  display: none;
}
#cbf_date_picker .input {
  display: none;
}
.cbf-step-2 h3 {
  color: var(--Black, #253748);
  font-family: "Inter";
  font-size: 38px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: -0.38px;
  padding: 0px 0px 48px 0px;
  margin: 0px;
}
#cbf_date_picker .flatpickr-calendar {
  width: 105% !important;
}
#cbf_date_picker .flatpickr-innerContainer {
  width: 105% !important;
  justify-content: center !important;
}
#cbf_date_picker .flatpickr-current-month select,
.flatpickr-current-month input.cur-year {
  color: var(--Black, #253748) !important;
  text-align: center;
  font-family: "Inter" !important;
  font-size: 15px !important;
  font-style: normal;
  font-weight: 500 !important;
  line-height: 140%; /* 21px */
  text-align: justify;
}
.cbf-step-3 img {
  display: block;
  margin: auto;
  margin-bottom: 24px;
}
.cbf-step-3 span {
  color: var(--grey-grey-2060, #909fac);
  text-align: center;
  font-family: "Inter";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 157.143% */
  display: block;
}
.cbf-step-3 h3 {
  color: var(--Black, #253748);
  text-align: center;
  font-family: "Inter";
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 42px */
  letter-spacing: -0.28px;
}
.cbf-step-3 p {
  color: var(--Black, #253748);
  text-align: center;
  font-family: "Inter";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 146.667% */
  padding: 0px 0px 32px 0px!important;
  margin: 0px;
}
.cbf_step_3_inner_wrapper {
  border-radius: 14px;
  background: rgba(211, 211, 211, 0.2);
  padding: 4px;
}
.cbf_step_3_inner {
  display: flex;
  width: 100%;
  padding: 17px 31px 17px 31px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-radius: 11px;
  border: 1px solid #f0f0f0;
  background: #fff;
}
.cbf_step_3_inner p {
  color: var(--grey-grey-20, #4d657c);
  font-family: "Inter";
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px; /* 200% */
  padding: 0px;
  margin: 0px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 6px;
}
.cbf_step_3_inner p span {
  color: var(--Black, #253748);
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 24px */
  letter-spacing: -0.16px;
}
.iti.iti--allow-dropdown.iti--separate-dial-code {
  width: inherit;
  background-color: #fff;
  max-height: 42px;
}
.iti.iti--allow-dropdown.iti--separate-dial-code .form-control {
  width: inherit;
  padding-left: 98px !important;
}
.iti--separate-dial-code .iti__selected-flag {
  background-color: transparent !important;
}
.iti--separate-dial-code .iti__selected-dial-code {
  font-size: 14px !important;
}
.iti__arrow {
  position: relative;
  border: none !important;
}
.iti__arrow::after {
  content: "";
  position: absolute;
  right: -8px;
  transform: translateY(-50%) rotate(135deg);
  width: 7px;
  height: 7px;
  border-top: 1px solid #253748;
  border-right: 1px solid #253748;
}
.m_revechat_book_a_demo .submitloadingModal {
  position: relative;
}
.m_revechat_book_a_demo #loadingModal .loader {
  position: absolute;
  top: 0px;
  padding: 18px 16px;
  cursor: pointer;
  border-radius: 10px;
  background: var(--Stc-Stc-80, #5e109a);
  color: var(--White, #fff);
  text-align: center;
  font-family: "Inter";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  width: 100%;
  margin-top: 44px;
  text-decoration: none;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.m_revechat_book_a_demo .ball-spin-fade-loader {
  width: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #5e109a;
}

.m_revechat_book_a_demo .ball-spin-fade-loader div {
  width: 10px;
  height: 10px;
  background-color: #fff; /* purple color */
  border-radius: 50%;
  opacity: 0.3;
  animation: ballFade 1s infinite linear;
}

/* Delay each ball for one-by-one effect */
.m_revechat_book_a_demo .ball-spin-fade-loader div:nth-child(1) {
  animation-delay: 0s;
}
.m_revechat_book_a_demo .ball-spin-fade-loader div:nth-child(2) {
  animation-delay: 0.2s;
}
.m_revechat_book_a_demo .ball-spin-fade-loader div:nth-child(3) {
  animation-delay: 0.4s;
}
.m_revechat_book_a_demo .ball-spin-fade-loader div:nth-child(4) {
  animation-delay: 0.6s;
}
.m_revechat_book_a_demo .ball-spin-fade-loader div:nth-child(5) {
  animation-delay: 0.8s;
}

/* Animation */
@keyframes ballFade {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}
.select2-results__option {
  padding: 6px;
  user-select: none;
  -webkit-user-select: none;
  color: var(--Black, #253748);
  font-family: "Inter";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 154%;
  margin: 0px 8px;
}
.select2-container--default .select2-results__option--selected {
  border-radius: 6px;
  background: var(--Off-white-Offwhite-60, #eff2f4);
}
.select2-dropdown {
  border-radius: 8px !important;
  background: var(--White, #fff) !important;
  box-shadow: 0 7px 25px 0 rgba(67, 77, 101, 0.14) !important;
  border: none !important;
}
.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #5e109a !important;
  border-radius: 6px;
}
.select2-search--dropdown .select2-search__field {
  padding: 8px !important;
  min-height: 40px !important;
  border-radius: 8px;
  border: 1px solid var(--grey-grey-2020, #d3d8dd);
  color: var(--grey-grey-2060, #253748);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  background-color: #fff;
  width: 100%;
  box-sizing: border-box;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  padding-left: 24px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M7.25 12.5C10.1495 12.5 12.5 10.1495 12.5 7.25C12.5 4.35051 10.1495 2 7.25 2C4.35051 2 2 4.35051 2 7.25C2 10.1495 4.35051 12.5 7.25 12.5Z' stroke='%23909FAC' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10.9629 10.9629L14.0004 14.0004' stroke='%23909FAC' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: 5px center;
}
.select2-search--dropdown .select2-search__field:focus {
  box-shadow: none;
  outline: none;
}
/* Hide scrollbar arrows */
.select2-results__options::-webkit-scrollbar-button {
  display: none;
}
.select2-results__options::-webkit-scrollbar {
  width: 5px;
  height: 450px;
}

/* Track */
.select2-results__options::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(230, 230, 230, 1);
  border-radius: 10px;
  height: 450px;
}

/* Handle */
.select2-results__options::-webkit-scrollbar-thumb {
  background: gray;
  border-radius: 10px;
  height: 40px;
}

/* Handle on hover */
.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #0d6efd;
}
@media only screen and (max-width: 769px) {
  .cbf_step_inner {
    flex-direction: column;
    gap: 32px;
  }
  #cbf_time_picker ul li {
    width: 100%;
  }
  #cbf_time_picker {
    max-height: 160px;
  }
  #cbf_date_picker .flatpickr-calendar,
  #cbf_date_picker .flatpickr-innerContainer {
    width: 100% !important;
  }
  .cbf-step-2 h3 {
    color: var(--Black, #253748);
    font-family: "Inter";
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 42px */
    letter-spacing: -0.28px;
    padding: 0px 0px 32px 0px;
    margin: 0px;
  }
  #cbf-form button.cbf-next,
  .submitloadingModal button,
  .cbf-step-3 a {
    margin-top: 32px;
  }
  .m_revechat_book_a_demo form{
    max-width: 100%!important;
  }
  .m_revechat_book_a_demo form label{
    padding: 0px;
    margin-top: 20px;
  }
  .m_revechat_book_a_demo form .col-md{
    padding: 0px 0px 0px;
    margin: 0px;
  }
  .m_revechat_book_a_demo form .col-md-12{
    padding: 0px;
    margin: 0px ;
  }
  .m_revechat_book_a_demo form{
    padding: 12px;
  }
  .m_revechat_book_a_demo form label[for="phone"], .m_revechat_book_a_demo form label[for="organization"] {
   padding-top: 20px;
}
.m_revechat_book_a_demo #loadingModal .loader{
  margin-top: 32px;
}
#cbf_time_picker ul{
  padding: 0px;
}
#cbf_time_picker{
  border-left: 0px;
}
.m_revechat_book_a_demo_frm_title p{
  text-align: center;
}
.cbf_step_3_inner{
  padding: 17px 8px;
}
}
