@font-face {
  font-family: "FontAwesome";
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-solid-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}

.fa {
  display: inline-block;
  font-weight: 900;
  font-size: 1em;
  line-height: 1;
}

.fa-upload:before {
  content: "\f093";
  /* Unicode for the upload icon */
}

body,
p,
input,
label,
span {
  font-family: "Figtree", serif;
}

input[type="checkbox"]:focus {
  box-shadow: none !important;
  outline: 0 !important;
}


input:focus,
textarea:focus,
select:focus {
  text-decoration: none;
  outline: 0;
  border: none !important;
}


.title {
  font-family: "Figtree", serif;
  font-size: 52px;
  font-weight: 100;
  text-align: left;
  margin-bottom: 20px !important;
  margin-top: 0;
}

.input-field.file-type-input {
  position: relative;
  display: flex;
  align-items: center;
}

.input-field.file-type-input label {
  position: absolute;
  left: 14em;
  color: #757575;
  font-family: "Figtree", serif;

}

#formWrapper {
  padding: 0px;
  max-width: 700px;
  margin: 20px auto;
}

#formWrapper .cliffhanger-style {
  color: #000 !important;
}

#formWrapper .cliffhanger-style h1,
#formWrapper .cliffhanger-style p {
  color: #000 !important;
}

.app-row {
  margin: 0px 0 24px 0;
}



.app-row button {
  position: relative;
  z-index: 9998;
  width: 100%;

}

input,
textarea,
select {
  display: block;
  width: calc(100% - 1.8rem);
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  outline: 0;
  font-family: "Figtree", serif;

  box-shadow: rgb(0 59 111) 0px 0px 0px 0rem;
  font-weight: 400;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
}


.checkbox.consent-form input[type="checkbox"],
.app-row input[type="checkbox"] {
  max-width: 20px;
  appearance: none;
  width: 20px;
  height: 20px;
  background-color: #fff;
  cursor: pointer;
  border: 1px solid #ABB4C3 !important;
  position: relative;
  padding: 0px;
  border-radius: 6px;
  max-width: 20px;
  min-width: 20px;
}

.checkbox.consent-form input[type="checkbox"] {
  min-width: 20px;
}

.app-row input[type="radio"] {
  max-width: 20px;
  appearance: none;
  width: 20px;
  height: 20px;
  background-color: #fff;
  cursor: pointer;
  border: 1px solid #ABB4C3;
  position: relative;
  padding: 0px;
  border-radius: 50%;
}

input[type="radio"]:checked::after {
  border: 1px solid #0951B0;
  content: '';
  position: absolute;
  top: 3.4px;
  left: 3.4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0951B0;
  padding: 0;
}

#formWrapper form {
  padding-left: 5px;
}

.checkbox.consent-form input[type="checkbox"]:checked::after,
.app-row input[type="checkbox"]:checked::after {
  content: '\2713';
  position: absolute;
  top: 1px;
  left: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

.checkbox.consent-form input[type="checkbox"]:checked,
.app-row input[type="checkbox"]:checked {
  background-color: #0951B0;
  border: none !important;
}


.app-row input[type="radio"]:focus,
.app-row input[type="checkbox"]:focus {
  border: 1px solid #ABB4C3 !important;
}



.consent-form {
  margin-top: 0px;
  margin-bottom: 15px;
}

.btn-submit {
  background-color: rgb(0, 59, 111);
  color: rgb(255, 255, 255);
  border-radius: 30px;
  height: 40px;
  padding: 0 30px;
  cursor: pointer;
  outline: 0;
  border: none;
  font-family: "Figtree", serif;
  font-weight: 400;
}

.input,
textarea {
  border: 1px solid;
}

.required {
  color: #76808D;
}

.overlay {
  display: block;
  position: fixed;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  background: transparent;
  /*  url("loader.gif") center no-repeat */
}

.checkbox.consent-form {
  position: relative;
  display: flex;
}

.checkbox.consent-form input {
  position: absolute;
  top: 0px;
}

.checkbox.consent-form label {
  font-size: 14px !important;
  padding-left: 12px;
  display: block;
  font-weight: 400;
}

/* Turn off scrollbar when body element has the loading class */


body {
  overflow: auto;
}

#header-subtitle {
  font-size: 15px;
  font-family: "Figtree", serif;

}

.heading-container h1 {
  font-family: "Figtree", serif;
  font-size: 52px;
  font-weight: 500;
}

.heading-container p {
  font-family: "Figtree", serif;
  font-size: 16px;
  font-weight: 300;
}

p#header-subtitle {
  white-space: pre-wrap;
  line-height: 20px;
  margin-left: 6px !important;
  margin-bottom: 20px !important;
  margin-top: 0 !important;
}

#thankyou {
  display: none;
  align-items: center;
  justify-content: center;
  height: 100%;
  height: 80vh;
}

input.radio {
  display: inline-block;
  max-width: 15px;
}

button.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.grecaptcha-badge {
  visibility: hidden;
}

.date {
  background-image: url(https://g99plus.b-cdn.net/AA%20new%20g99%20app/icons/calendar-custom.svg);
  background-repeat: no-repeat;
  background-position: right;
  background-position-x: 99%;
  box-shadow: none !important;
  border: 1px solid;
}

.dropdown select {
  width: calc(100% - 0.3rem);
  border: 1px solid;
  padding-left: 8px;
}

.app-row.form-button {
  display: flex;
  justify-content: center;
}

img#preview {
  max-width: 80%;
  display: block;
  padding: 1em;
}

.img-wrapper {
  position: relative;
}

/* ----------------------------- file upload css ---------------------------- */
.file-upload-container {
  width: 100%;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

.file-drop-zone {
  border: 2px dashed #ccc;
  padding: 40px;
  text-align: center;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
}

.file-drop-zone:hover {
  background-color: #f7f9fc;
  border-color: #007bff;
}

.file-upload-header {
  font-size: 14px;
  font-weight: normal;
  margin: 10px 0;
  color: #76808D;
}

.file-upload-subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.choose-file {
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
}

.upload-icon {
  font-size: 40px;
  color: #c5c9ca;
  margin-bottom: 15px;
}

.preview {
  margin-top: 10px;
  font-size: 14px;
}

#clearBtn {
  margin-top: 10px;
  cursor: pointer;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 15px;
  border-radius: 20px;
  background-color: rgb(255, 77, 79);
  color: white;
  font-size: 14px;
  transition: background-color 0.3s;
  width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  height: 26px;
}

/* Loader styling (make sure it's centered within the drop zone) */
.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.8);
}

.loader {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #09f;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Clear button hover effect */
.clearBtn:hover {
  background-color: #ff7875;
}


/* <!-- ---------------------------- fileloadercss ---------------------------- --> */

#ui-datepicker-div {
  z-index: 9999999 !important;
}

.placeholder-color {
  color: #757575 !important;
  /* Adjust the color as needed */
}

.placeholder-color option {
  color: #495057 !important;
  /* Adjust the color as needed */
}

.iti {
  width: 100%;
}

.iti input.phone-input {
  width: calc(100% - 0.2rem) !important;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 550px) {
  .thank-you-text p {
    text-align: center;
  }

  .multi-box .checkbox,
  .multi-box .radio {
    width: 100%;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    align-items: flex-start;
  }

  .title {
    font-size: 36px;
  }

  #ui-datepicker-div {
    margin-left: 0 !important;
    z-index: 9999999 !important;
  }

  .input-field.file-type-input label {
    display: none !important;
  }

  .ui-icon-circle-triangle-e {
    font-size: 10px;
  }

  #formWrapper form {
    padding-left: 0;
  }

  p#header-subtitle {
    margin-left: 0 !important;
  }
}

.input-group {
  display: flex;
  column-gap: 1em;
}

.input-group .app-row {
  flex-grow: 1;
}

.app-row.type-multi.pre-checked-label .checkbox {
  height: 0;
}

.checkbox.consent-form label,
.app-row .label {
  color: #76808D;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
}

.checkbox.consent-form label {
  color: #000;
  font-weight: 400;
}

.app-row input,
.app-row textarea,
.app-row select {
  border-radius: 8px;
  border: 1px solid #E9EBED;
  margin-top: 5px;
  font-weight: 500;
  color: #0A0C0F;
  font-size: 14px;
}

.app-row input.date {
  border: 1px solid #E9EBED !important;
}

.app-row textarea {
  min-height: 100px;
}

.app-row input::placeholder,
.app-row textarea::placeholder,
.app-row select::placeholder {
  color: #868E9A;
  font-size: 14px;
  font-weight: 400;
}

.app-row.type-boolean .multi-box,
.app-row.type-multi .multi-box {
  display: flex;
  column-gap: 16px;
  flex-wrap: wrap;
  row-gap: 1em;
  margin-top: 5px;
}

.app-row.type-multi.dropdown .multi-box {
  display: block;
}


.multi-box .checkbox,
.multi-box .radio {
  display: flex;
  background-color: #F9FAFC;
  padding: 15px 10px;
  vertical-align: middle;
  flex: 1 1 calc(50% - 32px);
  border-radius: 8px;
  max-width: calc(50% - 32px);
  /* Correct use of calc() */
  align-items: center;
  font-size: 14px;
  column-gap: 5px;
  font-weight: 400;
}


.single-checkbox-container .multi-box .checkbox,
.single-checkbox-container.multi-box .radio {
  flex: 1;
  max-width: 100%;
}

.single-radio-container.radio {
  flex: 1;
  max-width: 100%;
}


.multi-box .radio input {
  outline: none;
  box-shadow: none !important;
  margin-top: 0;
  width: 20px !important;
  min-width: 20px;
}



/* datepicker css */

.ui-widget-content {
  color: #333;
  background: #ffffff !important;
}

.ui-datepicker {
  text-align: center;
  font-family: "Figtree", serif;
  margin-top: 2px;
  border: none !important;
  box-shadow: 0 15px 35px #3c425714, 0 5px 15px #0000001f;
  padding: 1em !important;
  border-radius: 16px;
  width: 256px;
}

.ui-datepicker-trigger {
  margin: 0 0 0 5px;
  vertical-align: text-top;
}




.openemr-calendar .ui-datepicker {
  width: 191px;
}

.ui-datepicker table {
  width: 256px;
  table-layout: fixed;
  margin-top: 16px !important;
}

.openemr-calendar .ui-datepicker table {
  width: 191px;
  table-layout: fixed;
}

.ui-datepicker-header {
  background: #fff !important;
  border-radius: 0;
  border: none !important
}

.openemr-calendar .ui-datepicker-header {
  background-color: #e6f7f9 !important;
  border-width: 1px;
  border-color: #c9f0f5;
  border-style: solid;
}

.ui-datepicker-title {
  line-height: 35px !important;
  display: flex;
  justify-content: space-between;
  max-width: 70%;
  margin: 0 auto !important;
}

.openemr-calendar .ui-datepicker-title {
  line-height: 20px !important;
}

.ui-datepicker-prev span {
  display: none !important;
}

.ui-datepicker-next {
  text-align: center;
}

.ui-datepicker-next span {
  display: none !important;
}




.ui-datepicker-next {
  cursor: pointer;
}

.ui-datepicker-prev {
  cursor: pointer;
  left: 8px;
  top: 0;
}

.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
  top: 0;
}


.ui-datepicker-month {
  border-radius: 2px;
  background-color: #fff;
  width: auto !important;
  font-family: "Figtree", serif !important;
  color: #000;
  font-size: 14px !important;
  font-weight: 600;
  text-align: left;
  border: 1px solid gainsboro !important;
  vertical-align: text-top;
  padding: 0 5px;
  min-width: 78px;
}

.ui-datepicker-month:focus {
  outline-offset: 1px;
}


.ui-datepicker-year {
  border-radius: 2px;
  background-color: #fff;
  width: auto !important;
  border: 1px solid gainsboro !important;
  font-family: "Figtree", serif !important;
  color: #000;
  font-size: 14px !important;
  font-weight: 600;
  text-align: left;
  vertical-align: text-top;
}


.ui-datepicker-month option,
.ui-datepicker-year option {
  color: #000 !important;
  background-color: #fff !important;
  font-family: "Figtree", serif !important;
  font-size: 14px !important;
  font-weight: 600;
}

.ui-datepicker-month option[selected],
.ui-datepicker-year option[selected] {
  background-color: #e5edf0 !important;
}

.ui-datepicker .ui-state-hover {
  border: 0 !important;
}

.ui-datepicker td {
  vertical-align: top;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  border-width: 0 3px 3px 0 !important;
  padding: 4px;
  transform: rotate(135deg);
  display: inline-block !important;
  border: solid black;
  margin-left: 0;
  margin-top: 0;
  background: transparent !important;

}

.ui-datepicker .ui-datepicker-prev span {
  left: -4px;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
  background: transparent !important;
  color: #fff !important;
}

.ui-datepicker .ui-datepicker-next span {
  transform: rotate(-45deg);
  right: -4px;
}

.ui-datepicker .ui-state-default {
  border: none !important;
  width: 24px;
  height: 24px;
  padding: 4px !important;
  line-height: 24px;
  text-align: center !important;
  font-family: "Figtree", serif !important;
  color: #000;
  font-size: 13px;
  font-weight: 400 !important;
  margin: 7px 0 0 4px;
  background: #fff;
}

.ui-datepicker .ui-state-default.ui-state-highlight {
  border-color: #000;
  background: #000 !important;
  color: #fff !important;
  border-radius: 50%;
}

.openemr-calendar .ui-state-default {
  font-size: 10px;
  margin: 0;
}

.ui-datepicker td {
  width: 33px;
  padding: 0px;

}

.openemr-calendar .ui-datepicker td {
  width: 26px;
}

.openemr-calendar .ui-state-default {
  width: 26px;
  height: 20px;
  line-height: 20px;
}

.ui-state-default.ui-state-hover {
  border-color: #dcdcdc;
  border-radius: 50%;
  background: #cff3f8 !important;
  color: #000 !important;
}

.ui-datepicker .ui-state-active {
  background: #000 !important;
  color: #fff !important;
  border-radius: 50%;
}

.ui-datepicker-calendar thead tr th {
  font-family: "Figtree", serif !important;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  padding: 0.45em 0.3em !important;
  background-color: #fff;
}

.openemr-calendar .ui-datepicker-calendar thead tr th {
  font-size: 10px;
}

.ui-datepicker-close {
  display: none;
}

.ui-datepicker thead {
  background-color: #f5f5f5;
}

.openemr-calendar .ui-datepicker thead {
  background: none;
}

.ui-state-default.ui-datepicker-current {
  float: none !important;
  font-family: "Figtree", serif !important;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  border-width: 0 !important;
  border: none;
  vertical-align: top;
  margin: 0 !important;
  background-color: transparent !important;
}

.ui-datepicker-buttonpane.ui-widget-content {
  text-align: center;
  background-color: #3e9aba;
  margin: 0 !important;
  height: 28px;
  padding: 0 !important;
}

.openemr-calendar .ui-datepicker-year {
  background-color: transparent;
}

.openemr-calendar .ui-datepicker-month {
  background-color: transparent;
}

.openemr-calendar .ui-state-default {
  border: 0 !important;
}

.openemr-calendar .ui-datepicker-month {
  margin-right: 10px !important;
}


.chat-loader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 7px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #12284d;
  /* Dark blue color for the first dot */
  animation: bounce 0.8s infinite;
}

.dot:nth-child(2) {
  background-color: #b0b7c3;
  /* Light grey color for the second dot */
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  background-color: #b0b7c3;
  /* Light grey color for the third dot */
  animation-delay: 0.4s;
}


/* ------------------------ Review form feedback css ------------------------ */
.review-thank-you {
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.review-thank-you button {
  background-color: #000;
  color: #fff;
  border-radius: 24px;
  padding: 8px 12px;
  height: 40px;
  width: 120px;
  cursor: pointer;
}

.review-thank-you button:hover {
  opacity: 0.5;
}

.hide {
  display: none;
}

.show-review {
  display: flex;
}

.thank-you-text {
  font-size: 52px;
  font-weight: 100;
  margin-top: 32px;
  margin-bottom: 68px;
}

.thank-you-text p {
  margin: 0;
}

.thank-you-text p.small-text-element {
  font-size: 16px;
  text-align: center;
  margin-top: 24px;
}

@keyframes bounce {

  0%,
  80%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
    height: 13px;
    border-radius: 12px;
  }
}



/* ---------------------------- Form related css ---------------------------- */
.phone-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.verify-button {
  position: absolute !important;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-bg-color, #4a90e2);
  color: var(--primary-color, #fff);
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  width: auto !important;
  transition: background-color 0.2s;
}

.verify-button:hover {
   filter: brightness(90%);
}

.verify-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}


.verify-button:hover:not(:disabled) {
   filter: brightness(90%);
}

.edit-button {
  position: absolute !important;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: var(--primary-bg-color, #4a90e2);
  border: 1px solid var(--primary-bg-color, #4a90e2);
  border-radius: 6px;
  height: 32px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px !important;
}

.edit-button:hover {
  background-color: #f0f7ff;
}

.edit-icon {
  font-size: 16px;
}

.verified-badge {
  display: none;
  color: #4CAF50;
  font-weight: 600;
  margin-left: 8px;
  position: absolute;
  right: 40px;
  font-size: 13px;
}

.otp-container {
  display: none;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 8px;
  background-color: #f9f9f9;
}

.otp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.otp-title {
  font-weight: 600;
  margin: 0;
}

.otp-resend {
  color: var(--primary-bg-color, #4a90e2);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  width: auto !important;
}

.otp-resend:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}
.otp-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}


.otp-timer {
  font-size: 14px;
  color: #666;
  margin-right: 8px;
}

.otp-input {
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 18px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.verify-otp-button {
  background-color: var(--primary-bg-color, #4a90e2);
  color: var(--primary-color, #fff);
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
}


.verify-otp-button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.verify-otp-button:hover:not(:disabled) {
  filter: brightness(90%);
}



input[readonly] {
  background-color: #f5f5f5;
  color: #666;
}

.iti__country-list{
  z-index: 99999;
}
.button-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--primary-bg-color, #4a90e2);
  border-radius: 50%;
  border-top-color: var(--primary-color, #fff);
  animation: spin 1s ease-in-out infinite;
  margin-left: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}