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

:root {
  --hld-color-primary: #6d6ffc;
  --hld-color-primary-dark: #5758d6;
  /* slightly darker shade for hover */
  --hld-font-primary: "Inter", sans-serif;
  --font-optical-sizing: auto;
}

.hld_form_container {
  min-height: 100vh;
  background: #f7f5f5;
  margin-top: 0;
}

.hld_form_wrap {
  max-width: 700px !important;
  /* margin-top: 70px; */
  margin-top: 20px;
  font-family: var(--hld-font-primary);
  font-optical-sizing: var(--font-optical-sizing);
  margin-right: auto;
  margin-left: auto;
}

.container {
  padding: 0 !important;
  margin: 0 auto !important;
}

.hld_form_wrap select {
  height: 50px !important;
  border-radius: 10px !important;
  padding: 0 20px !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.hld_form_wrap input {
  border-radius: 10px !important;
  height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  transition: all 0.5s ease-in-out;
}

.custom-weight-text .lose-text {
  font-size: 18px;
  font-weight: 600;
}

.services-card:hover svg {
  fill: white !important;
  color: white !important;
  scale: 1.2;
  transition: all 0s ease-in-out;
}

.hld_form_wrap input:focus,
.hld_form_wrap input:hover {
  border: 1px solid var(--hld-color-primary) !important;
}

/* hide the element because we will display custom checkbox */
.hld_gender_elem {
  display: none !important;
}

.hld_medication_elem {
  display: none !important;
}

.hld_pre_medication_elem {
  display: none !important;
}

.hld_form_wrap .survey-radio .ff-el-input--content label,
.hld_form_wrap .ff-el-form-check-label {
  padding: 0px 10px !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  text-align: left !important;
  width: 100%;
  background: white;
  min-height: 55px;
  height: auto;
  display: flex;
  justify-content: left;
  align-items: center;
  margin-bottom: 10px !important;
  border-radius: 10px !important;
  transition: all 0.3s ease-in-out;
}

/* Hide the Asterick of red color in prefunnel forms */
.fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label:after {
  color: transparent !important;
}

/* hide rounded circule in labels */


/* .hld_form_wrap input[type="radio"] {
  display: none;
} */
.hld_form_wrap .ff-el-form-check-label span {
  padding-left: 5px;
  font-weight: 600;
  font-optical-sizing: var(--font-optical-sizing);
  font-family: var(--hld-font-primary) !important;
}

.hld_form_wrap .ff-default .ff-el-input--label label {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: var(--hld-color-primary);
}

.hld_form_wrap .fluentform .ff-el-form-check-label .ff-el-form-check-input {
  accent-color: var(--hld-color-primary) !important;
}

.hld_form_wrap_hidden {
  display: none !important;
  margin-top: 1rem;
}

/* Visible form wrapper when user is logged in (no JS unhide needed) */
.hld_form_wrap_inner {
  margin-top: 1rem;
}

.hld-complete-action-item {
  display: flex;
  justify-content: center;
  align-items: center;
  color: orange;
  margin-top: 1rem;
  cursor: pointer;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hld-complete-action-item p {
  margin-bottom: 0;
  font-size: 1rem;
}

.hld-complete-action-item svg {
  margin-bottom: 2px;
}

.hld-complete-action-item span {
  text-decoration: underline;
}

.hld-sidebar-close:hover,
.hld-sidebar-close:focus {
  background-color: var(--hld-color-primary-dark);
}

.hld_form_wrap .fluentform .ff-el-form-check-label .ff-el-form-check-input {
  display: none;
}

.hld_btn_edit_profile {
  float: right;
  margin-left: auto;
  margin-right: 0px;
}

.hld_btn_next_bmi .ff-column-container.ff_columns_total_2 {
  display: flex;
  gap: 15px;
}

.hld_glp_1_prefunnel input:hover,
.hld_glp_1_prefunnel input:focus {
  border-color: var(--hld-color-primary);
  /* change this to your desired color */
  box-shadow: 0 0 5px var(--hld-color-primary);
  /* optional: adds a glow effect */
  outline: none;
  /* removes the default blue outline */
}

.page-id-9200 footer,
.page-id-13194 footer,
.page-id-13213 footer,
.page-id-13220 footer,
.page-id-13237 footer {
  display: none;
}

nav.hld-navbar {
  position: fixed;
  top: 0;
  left: 0;
}

.page-id-9200 .ast-container,
.page-id-13194 .ast-container,
.page-id-13213 .ast-container,
.page-id-13220 .ast-container,
.page-id-13237 .ast-container {
  min-height: 100vh;
  background: #f7f5f5;
}

.page-id-9200 header.elementor,
.page-id-13194 header.elementor,
.page-id-13213 header.elementor,
.page-id-13220 header.elementor,
.page-id-13237 header.elementor {
  display: none;
}

.hld-account-details-form p {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0;
}

.hld-account-details-form .form-label {
  margin-bottom: 0 !important;
}

.hld_order_status {
  padding: 5px 15px !important;
  border-radius: 50px;
  font-size: 0.875rem;
  text-transform: capitalize;
  background-color: var(--hld-color-primary) !important;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: capitalize;
  cursor: pointer;
}

.hld_form_wrap .ff-float-right.ff-btn {
  border-radius: 30px;
  padding: 10px 0;
  font-size: 17px;
  margin-top: 15px;
  height: 50px;
}

.hld_form_wrap .ff-el-form-check-checkbox {
  opacity: 1 !important;
}

.hld_form_wrap .checkbox-1 .ff-el-input--content label:has(input[type="checkbox"]:checked) {
  background-color: white !important;
  border: 1px solid var(--hld-color-primary) !important;
  color: var(--hld-color-primary) !important;
}

.hld_form_wrap .fluentform .ff-el-form-check {
  margin-bottom: 5px !important;
}

.hld_form_wrap .checkbox-1 .ff-el-input--content {
  gap: 7px;
}

.hld_form_wrap div.nsl-container.nsl-container-block .nsl-container-buttons {
  width: 100%;
}

.hld_form_wrap .nsl-button-google {
  background: white !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  border-radius: 40px !important;
  justify-content: center;
  height: 50px;
  box-shadow: initial !important;
}

.hld_form_wrap div.nsl-container .nsl-button-google[data-skin="dark"] .nsl-button-svg-container {
  background-color: transparent !important;
}

.hld_form_wrap .nsl-button-label-container {
  color: black;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.hld_form_wrap .nsl-button-label-container b {
  margin-left: 3px;
}

.hld_form_wrap .nsl-button-apple {
  color: white !important;
  text-align: center;
  display: flex;
  justify-content: center;
  border-radius: 50px !important;
  height: 50px;
}

.hld_form_wrap .nsl-button-apple .nsl-button-label-container {
  color: white !important;
}

/* .hld_form_wrap .fluentform form.ff-form-has-steps .ff_submit_btn_wrapper {
  display: none;
} */

.hld_form_wrap div.nsl-container .nsl-button-default div.nsl-button-label-container {
  flex: initial !important;
}

.hld_rounded_input input {
  border-radius: 50px !important;
  padding: 21px 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.3) !important;
}

.hld_rounded_input label {
  font-size: 16px !important;
  margin-bottom: 0 !important;
}

.hld_rounded_input {
  margin-top: 30px;
  margin-bottom: 30px;
}

/*  */
/* .ff-el-group.ff-text-left.ff_submit_btn_wrapper.ff_submit_btn_wrapper_custom{
  display: none;
} */
.hld-hidden {
  display: none !important;
}

#\31 3_save_progress_msg {
  display: none;
}

.ff-saved-state-input {
  display: none !important;
}

.ff-message-success.ff-el-group {
  display: none !important;
}

.hld_btn_continue_with_email {
  width: 100% !important;
  display: block !important;
  border-radius: 50px !important;
  height: 50px;
  padding: 10px 10px !important;
  background: var(--hld-color-primary);
}

.hld_btn_continue_with_email:hover {
  background-color: var(--hld-color-primary-dark);
}

.hdl_input_wrap label {
  font-size: 16px !important;
  font-weight: initial !important;
  margin-bottom: 0px !important;
}

.long-option-mcq .ff-el-form-check-label {
  display: flex !important;
  justify-content: left;
  align-items: center;
}

.hdl_input_wrap input {
  border-radius: 7px !important;
  border: 1px solid rgba(0, 0, 0, 0.3) !important;
}

.hld_login_form_wrap {
  max-width: 450px !important;
}

.hld_login_form_wrap input {
  border-radius: 50px !important;
  border: 1px solid rgba(0, 0, 0, 0.4) !important;
  padding: 24px 22px !important;
}

.hld_login_form_wrap .nsl-button-google {
  background: transparent !important;
  border: 1px solid rgba(0, 0, 0, 0.3) !important;
  border-radius: 40px !important;
  justify-content: center;
}

.hld_login_form_wrap div.nsl-container.nsl-container-block .nsl-container-buttons {
  width: 100%;
}

.hld_login_form_wrap label {
  font-weight: bold !important;
}

.hld_login_form_wrap .nsl-button-label-container {
  flex: initial !important;
}

.hld_login_form_wrap {
  color: black;
}

.section#hdlDashboard .container .tabs {
  padding-top: 1px !important;
}

.hld_form_wrap textarea {
  border: 1px solid rgba(0, 0, 0, 0.4) !important;
}

.hld_label_normal label {
  font-size: 15px !important;
  margin-bottom: 0 !important;
  font-weight: bold !important;
}

.hld_label_normal input {
  border: 1px solid rgba(0, 0, 0, 0.4) !important;
  border-radius: 5px !important;
}

#stripe-container label {
  font-size: 1.2rem !important;
  text-align: left;
  font-weight: 600;
  margin-bottom: 5px;
  font-family: var(--hld-font-primary);
  font-optical-sizing: var(--font-optical-sizing);
}

#card-element {
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  background-color: white;
  padding: 15px 19px !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#hdlMakeStipePayment {
  width: 100%;
  padding: 10px 0;
  border-radius: 10px;
}

.ff-summary-wrapper {
  background-color: white;
}

/* hide the button */
.hld_form_main_submit_button {
  display: none;
}

.hld_form_main_submit_button_weight_loss {
  border-radius: 50px !important;
  height: 45px !important;
}

.dashboard-wrapper .hld-img-wrap img {
  width: 100% !important;
}

/* todo: uncomment this before publish because it will hide the next button on login step */
/* .fluentform-step.active[data-name="form_step-13_1"] .ff-btn-next {
  display: none !important;
} */

/* Style for packages */

.hld_patient_packages {
  display: flex;
  flex-direction: column !important;
  gap: 8px;
}

.hld_patient_packages .package-option {
  display: block;
  cursor: pointer;
}

.hld_patient_packages input[type="radio"] {
  display: none;
}

.hld_patient_packages .package-box {
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 25px 20px;
  transition: border-color 0.3s;
  position: relative;
  cursor: pointer;
  background-color: white !important;
  box-shadow: initial;
  height: 100%;
  position: relative;
}

.hld_patient_packages .package-box:hover {
  background: #f9f9f9;
}

.package-description p {
  margin-bottom: 0 !important;
  font-size: 0.875rem;
}

.max-w-150 {
  max-width: 150px;
}

.hld_btn_cancel {
  max-width: auto !important;
  background: #e74c3c !important;
  color: white !important;
  border: none !important;
  display: inline-block;
  width: auto !important;
  padding: 0 20px !important;
}

.hld-subscription-title {
  font-size: 24px;
  color: black;
  margin-bottom: 15px;
}

.hld-btn-save-card {
  border-radius: 50px;
  width: 100%;
  margin-top: 30px;
  height: 40px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  background: var(--hld-color-primary);
}

.hld-btn-save-card:hover {
  background-color: var(--hld-color-primary-dark);
}

.hld-thank-you-desc {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--hld-font-primary);
  margin-bottom: 0 !important;
}

.ff-message-success {
  padding: 0 !important;
}

.ff-message-success+div {
  padding: 0 !important;
}

.hld-summary .title-select-payment {
  text-align: left;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-family: var(--hld-font-primary);
  font-optical-sizing: var(--font-optical-sizing);
}

.hld-summary .payment-btn {
  width: 100%;
  background: #ffffff;
  color: black;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  padding: 20px 20px;
  transition: all 0.3s ease-in-out;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-family: var(--hld-font-primary) !important;
  font-optical-sizing: var(--font-optical-sizing);
}

.hld-summary .payment-btn img {
  width: 20px;
  margin-right: 5px;
  border-radius: 20px;
}

.hld-summary .payment-btn:hover {
  background-color: var(--hld-color-primary);
  color: white;
}

/* #hldPayWithKlarna {
  width: 100%;
  border-radius: 50px;
  background: #feaace;
  color: black;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
} */
.ff-btn-submit {
  visibility: visible;
  width: 100%;
  border-radius: 50px;
  font-size: 15px;
}

.hld-add-card-wrap {
  max-width: 100%;
  width: 100%;
  margin: auto;
}

.hld-thank-you-title {
  text-align: center;
  margin-top: 30px;
  font-size: 1.5rem;
}

.btn-google-apple-pay {
  margin-bottom: 20px;
  border-radius: 10px !important;
  overflow: hidden;
}

.hld-order-item {
  padding: 24px 32px !important;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  margin-bottom: 20px !important;
}
.hld-order-item .card-body {
  min-width: 0;
  overflow-x: hidden;
}
.hld-order-item .collapse {
  min-width: 0;
  overflow-x: hidden;
}
.hld-order-item .row > [class*="col-"] {
  min-width: 0;
}

/* Orders list container: prevent horizontal scroll */
.hld-orders {
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.hld-view-invoice {
  border-radius: 50px !important;
  padding: 8px 20px !important;
  margin-top: 10px !important;
  max-width: 100% !important;
  background-color: var(--hld-color-primary) !important;
  border: none !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  width: 100%;
}

.hld-btn--disabled {
  background-color: #e5e7eb !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  pointer-events: none;
}

.hld_terms_consent a {
  text-decoration: none;
  color: var(--hld-color-primary);
}

.hld_terms_consent span {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
}

.hld_terms_consent input[type="checkbox"] {
  accent-color: var(--hld-color-primary);
  height: auto;
  margin-top: 4px;
  transform: scale(1.3);
  margin-right: 3px;
  margin-left: 4px;
}

.hld-order-id {
  color: darkgray;
}

.hld-summary .txt-agreement {
  font-family: var(--hld-font-primary);
  text-align: center;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 10px;
  margin-bottom: 0;
}

.hld-order-item .hld-sub-desc {
  font-size: 1rem;
  font-weight: 500;
  color: #737373;
  margin-bottom: 4px;
}

.hld-order-item .hld-sub-desc .small.text-muted {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 2px;
  line-height: 1.4;
}

.hld-subscription-card {
  background: #f9fafb;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  margin-top: 16px;
  border: 1px solid #e5e7eb;
}

.hld-subscription-card .card-body {
  padding: 0;
}

.hld-subscription-card .heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.hld_patient_packages .save-label {
  background-color: #d4f7d4;
  color: #218838;
  padding: 4px 15px;
  font-size: 14px;
  margin-left: 10px;
  border-radius: 50px;
}

.hld_secure_evaluation {
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.ff-summary-wrapper {
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.hdl_primary_color {
  color: var(--hld-color-primary);
}

#hdlMakeStipePayment {
  background-color: var(--hld-color-primary);
  border-radius: 12px;
  margin-top: 0px;
  color: white !important;
}


.hld_patient_packages .package-price {
  margin-top: 15px;
  color: rgba(0, 0, 0, 0.7);
  font-size: 13px;
}

.hld_name_container label {
  font-size: 1rem !important;
  margin-bottom: 0 !important;
}

.hld_patient_packages .package-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 10px;
  font-size: 1rem;
}

.hld_checkout_or {
  display: block;
  text-align: center;
}

.hld_patient_packages .package-price span.discount-price {
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 2px;
  letter-spacing: 1px;
}

.hld_patient_packages .regular-price {
  font-weight: 600;
  font-size: 19px;
  margin-top: 10px;
}

.hld_patient_packages .badges-wrap {
  margin-top: 10px;
}

.hld_patient_packages .badges-wrap .hld-badge {
  background: #a5a4a4;
}

/* Plan highlight classes (admin-configurable) */
.hld_patient_packages .package-option.plan--recommended .package-box {
  border-color: var(--hld-color-primary, #7c3aed);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.25);
}

.hld_patient_packages .package-option.plan--highlight .package-box {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04) 0%, rgba(124, 58, 237, 0.08) 100%);
  border-color: rgba(124, 58, 237, 0.3);
}

.hld_patient_packages .package-description {
  font-size: 16px;
  margin-top: 5px;
  color: rgba(0, 0, 0, 0.7);
}

/* var(--hld-color-primary) border when selected */
.hld_patient_packages input[type="radio"]:checked+.package-box {
  border-color: var(--hld-color-primary);
}

/*  Style the selected radio (entire label gets var(--hld-color-primary) border) */
.hld_patient_packages input[type="radio"]:checked~.package-box {
  border-color: var(--hld-color-primary);
  box-shadow: 0 0 0 2px rgba(128, 0, 128, 0.3);
}

/* Style for Patient Login form */
.hld_login_wrapper {
  max-width: 400px !important;
  background: #fff;
  font-family: var(--hld-font-primary);
  padding: 0 0 100px 0;
  margin-top: 5rem;
}

.hld_login_form {
  display: flex;
  flex-direction: column;
}

.hld_login_form label {
  margin-top: 10px;
  font-weight: bold;
}

.hld_login_form input {
  padding: 15px 15px;
  font-size: 16px;
  margin-top: 5px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  height: 65px;
  box-shadow: none;
  margin-bottom: 20px;
  cursor: pointer;
}

.hld_login_button {
  margin-top: 20px;
  padding: 12px;
  border: none;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  /* background: var(--hld-color-primary) !important; */
  background: black;
  font-size: 1rem;
}

.hld_tabs_hint {
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.875rem;
  margin-top: 3px;
  text-align: center;
  display: none;
}

.hld_login_button:hover {
  background: #005f8d;
}

.hld_or_separator {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
}

.hld_error_message {
  color: #b32d2e;
  background: #fbeaea;
  padding: 10px;
  border-left: 4px solid #b32d2e;
  margin-bottom: 20px;
  border-radius: 4px;
}

.hld_logged_in_notice {
  padding: 20px;
  background: #e6ffed;
  border-left: 4px solid #46b450;
  border-radius: 4px;
}

.hld_social_login {
  text-align: center;
}

.hld_social_login .nsl-container {
  display: inline-block;
}

.hld_patient_login_title {
  font-size: 1.7rem;
  text-align: left;
  margin-bottom: 20px;
  font-weight: 600;
}

.hld_login_wrapper .nsl-button {
  background: transparent !important;
  border: 1px solid rgba(0, 0, 0, 0.4) !important;
  border-radius: 40px !important;
  justify-content: center;
  height: 50px;
  box-shadow: initial !important;
  color: black;
  align-items: center;
  width: 100%;
}

.hld_apple_signin .nsl-button {
  background-color: black !important;
}

.hld_apple_signin .nsl-button-label-container {
  color: white !important;
}

.hld_login_wrapper .nsl-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hld_lab_order_container h5 {
  color: var(--hld-color-primary) !important;
}

.hld_color_primary {
  color: var(--hld-color-primary);
}

.hld_btn_view_detail {
  background: var(--hld-color-primary);
  border: 1px solid var(--hld-color-primary);
}

.hld_btn_order_status {
  max-width: 120px;
}

.hld_email_field label,
.hld_pwd_wrap label {
  font-size: 17px !important;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 400 !important;
  margin-bottom: 0 !important;
}

.hld_email_field input,
.hld_pwd_wrap input {
  border-radius: 10px !important;
  height: 50px;
  padding-left: 25px !important;
}

/* Css start for testimonial section in glp prefunnel form */
.hld_testimonial-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0px 0px;
  text-align: center;
  font-family: var(--hld-font-primary);
}

.hld_section-title {
  font-size: 26px;
  line-height: 1.5;
  margin-bottom: 40px;
  font-weight: 600;
}

.hld_section-title span {
  color: #2e7d32;
  /* green highlight */
}

.hld_testimonial-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  /* makes it responsive */
}

.hld_testimonial-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.hld_testimonial-image {
  width: 100%;
}

.hld_testimonial-content {
  max-width: 100%;
  text-align: left;
  padding: 0 15px;
}

.hld_testimonial-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 6px;
}

.hld_verified {
  color: #2e7d32;
  font-size: 14px;
  margin-bottom: 12px !important;
}

.hld_badge {
  display: inline-block;
  background: #2e7d32;
  color: #fff;
  padding: 4px 19px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 15px;
}

.hld_testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* section css ends */

/* BMI section css starts */
.hld_bmi-section {
  max-width: 100%;
  margin: 0 auto;
  font-family: var(--hld-font-primary);
  text-align: center;
  width: 100%;
}

.hld_bmi-title {
  font-size: 26px;
  margin-bottom: 25px;
  font-weight: 600;
}

.hld_bmi-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 6px solid #2e7d32;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  background: #f9f9f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hld_bmi-label {
  font-size: 16px;
  color: #555;
}

.hld_bmi-value {
  font-size: 32px;
  font-weight: bold;
  color: #2e7d32;
}

.hld_bmi-notifications {
  margin: 20px 0;
}

.hld_bmi-notification {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
}

.hld_bmi-notification.hld_success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #2e7d32;
}

.hld_bmi-notification.hld_warning {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #e65100;
}

.hld_icon {
  font-size: 18px;
  flex-shrink: 0;
}

.hld_bmi-inputs {
  margin-top: 20px;
}

.hld_bmi-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.hld_bmi-row input,
.hld_bmi-weight {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.hld_bmi-weight {
  width: 100%;
}

.hld_inches_wrap label,
.hld_feet_wrap label,
.hld_weight_wrap label {
  font-size: 18px !important;
  margin-bottom: 0 !important;
}

.hld_inches_wrap input,
.hld_feet_wrap input,
.hld_weight_wrap input {
  border-radius: 10px !important;
  height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  padding-left: 20px !important;
  box-shadow: initial !important;
}

.hld_bmi-notification p {
  margin-bottom: 0 !important;
}

/* Section css ends */

.hld_address_element label,
.hld_email_input label {
  font-size: 18px !important;
  margin-bottom: 0 !important;
}

.hld_address_element input,
.hld_email_input input {
  height: 50px !important;
  padding-left: 20px !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
}

/* Style for Male/Female Radio Custom */
.hld-custom-checkbox-group {
  display: flex;
  gap: 15px;
  margin: 0px 0;
  flex-direction: row;
}

.hld-custom-checkbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: border 0.3s ease, color 0.3s ease;
  width: 120px;
  text-align: center;
  width: 100%;
  background-color: white;
  transition: all 0.3 ease-in-out;
  overflow: hidden;
}

.hld-custom-checkbox:hover {
  border-color: var(--hld-color-primary);
  box-shadow: 0 4px 14px rgba(109, 111, 252, 0.25);
  transform: translateY(-2px);
}

.hld-cb-male-female {
  color: var(--hld-color-primary);
  font-weight: 600;
  transition: all 0.3s ease;
  /* 👈 Smooth transition */
}

.hld-cb-male-female:hover {
  border: 1px solid #6d6ffc;
  box-shadow: 0 3px 12px rgba(109, 111, 252, 0.35);
}

.hld-custom-checkbox svg {
  margin-bottom: 8px;
  width: 70px;
  color: var(--hld-color-primary);
}

.hld-custom-checkbox.active {
  border: 3px solid var(--hld-color-primary);
  /* Selected state */
  color: var(--hld-color-primary);
}

/* ✅ Only add border on active without breaking your existing design */
.hld_patient_packages .hld-custom-checkbox.active .package-box {
  border: 2px solid var(--hld-color-primary);
  border-radius: 10px;
}

.package-option {
  padding: 0;
  border: none;
}

.hld_package {
  display: none;
}

/* Medicines */
/* .hld-custom-checkbox-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hld-custom-checkbox {
  cursor: pointer;
  flex: 1 1 45%;
} */

.med-box {
  border-radius: 10px;
  padding: 25px 20px;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  text-align: left;
  height: 100%;
  position: relative;
}

/* 
.hld-custom-checkbox.active .med-box {
  border-color: purple;
  box-shadow: 0 0 10px rgba(128, 0, 128, 0.3);
} */

.badges {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.hld-badge {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 18px;
  color: #fff;
  font-weight: 500;
}

.hld-badge-blue {
  background: var(--hld-color-primary);
}

.hld-badge-pink {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.4);
  color: black;
}

.med-compounded {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  margin-bottom: 4px;
}

.med-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.med-title .star {
  font-size: 14px;
  color: gold;
}

.med-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--hld-color-primary);
  margin-bottom: 8px;
}

.med-features {
  margin: 0 !important;
  padding-left: 18px !important;
  font-size: 16px;
  color: #444;
}

.hld-medicine {
  padding: 0 !important;
}

.med-features ul li {
  text-align: left;
}

.hld_no_found_wrap,
.hld_action_item_wrap {
  background: white;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 300px;
  border-radius: 20px;
  box-shadow: var(--bs-box-shadow-sm) !important;
  margin-bottom: 15px;
}

.hld_no_found_wrap p,
.hld_action_item_wrap p {
  font-size: 24px;
  color: black;
  margin-bottom: 6px;
  text-align: center;
  font-family: var(--hld-font-primary);
  font-optical-sizing: var(--font-optical-sizing);
}

.hld_action_item_wrap .desc {
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 15px;
  text-align: center;
  max-width: 800px;
  font-size: 19px;
}

.hld_action_item_wrap .title {
  font-weight: bold !important;
}

.hld_action_item_wrap .hld_action_item_for {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.65);
  margin-top: 2px;
  margin-bottom: 8px;
}

.hld_no_found_wrap a,
.hld_action_item_wrap a {
  padding: 10px 20px;
  background: var(--hld-color-primary);
  color: white;
  text-decoration: none;
  border-radius: 50px;
}

.hld_btn_logout_main a {
  text-decoration: none !important;
  color: #000000 !important;
  font-size: 0.875rem !important;
  padding: 4px 12px !important;
  text-transform: capitalize !important;
}

.hld_btn_profile_logout {
  text-align: center !important;
  margin: auto !important;
  text-decoration: none !important;
  background: transparent !important;
  color: #000000 !important;
  border-radius: 50px !important;
  height: auto !important;
  min-height: auto !important;
  padding: 4px 12px !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  font-size: 0.875rem !important;
  text-transform: capitalize !important;
}

.hld_btn_profile_logout:hover {
  color: #000000 !important;
  background: transparent !important;
}

.hld_login_wrapper .nsl-container-buttons {
  width: 100%;
}

.hld_login_wrapper .nsl-button-label-container {
  flex: initial !important;
  color: black;
}

.hld_login_wrapper .hld_create_wrap {
  text-align: center;
}

.hld_login_wrapper .hld_create_wrap a {
  font-weight: 700;
  text-decoration: none;
  color: var(--hld-color-primary);
}

.hld_create_wrap {
  margin-top: 5px;
}

.hld_login_wrapper .hld_forgot_password a {
  text-align: right;
  width: 100%;
  display: block;
  color: var(--hld-color-primary);
  font-weight: 600;
  text-decoration: none;
}

.hld_medication_wrap .ff-el-group {
  margin-bottom: 0;
}

/* *********************** css for action item sidebar *********************** starts */
/* Overlay */
.hld-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: flex-end;
  z-index: 9999;
}

/* Sidebar */
.hld-sidebar {
  background: #fff;
  width: 90%;
  max-width: 450px !important;
  height: 100%;
  position: fixed;
  right: -100%;
  transition: right 0.4s ease-in-out;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

/* Sidebar active */
.hld-sidebar-overlay.active {
  display: flex;
}

.hld-sidebar.active {
  right: 0;
}

/* Close button */
.hld-sidebar-close {
  position: absolute;
  top: 14px;
  right: 12px;
  border: none;
  font-size: 2rem;
  cursor: pointer !important;
  padding: 0px 12px;
  color: black;
  border-radius: 50px;
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Sidebar content */
.hld-sidebar-content {
  padding: 20px 20px 20px;
  overflow-y: auto;
  flex: 1;
}

.hld-sidebar .desc {
  font-size: 1.1rem;
}

.hld-sidebar .title {
  font-size: 1.3rem;
  text-align: center;
}

.hld-sidebar h2 {
  font-size: 1.5rem;
  color: black;
}

.hld_lab_order_container button {
  background: var(--hld-color-primary);
  border-radius: 50px;
  border: none;
  font-size: 0.875rem;
  padding: 8px 20px;
}

.hld-lab-order .hld_btn_view_detail_wrap {
  display: flex;
  justify-content: end;
  align-items: center;
}

.hld-mt-0 {
  margin-top: 0 !important;
}

.hld_login_wrapper .nsl-button-label-container b {
  font-weight: 400;
}

.hld_login_wrapper .hld_login_button:hover {
  background-color: var(--hld-color-primary);
}

.hld_login_wrapper input:hover {
  border: 2px solid var(--hld-color-primary);
}

.hld_login_wrapper .hld_error {
  font-size: 0.875rem;
  color: red;
}

.hld_login_wrapper input:focus {
  border: 2px solid var(--hld-color-primary);
}

.hld-lab-order .lab-icon-wrap {
  border-radius: 50% !important;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hld_lab_order_container .card {
  border: none;
  border-radius: 10px;
}

.hld-upload-id .hld-heading {
  max-width: 700px;
  margin: auto;
  margin-bottom: 10px;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.8);
  text-align: center;
}

.hld-upload-id .card {
  margin: auto;
}

/* css for disqualify page */

.hld_disqualify_wrapper {
  max-width: 100%;
  margin: 40px auto;
  padding: 35px 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: var(--hld-font-primary);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.hld_disqualify_title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2c2c2c;
  padding: 0;
}

.hld_disqualify_description {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.dobDisqualifySection {
  display: none;
}

.hld_disqualify_message {
  font-size: 1.1rem;
  font-weight: 600;
  color: #c62828;
  background: #fdecea;
  border: 1px solid #f5c6cb;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.hld-summary .hld-summary-title {
  font-family: var(--hld-font-primary);
  font-optical-sizing: var(--font-optical-sizing);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0;
}

.hld_disqualify_btn {
  display: inline-block;
  background: var(--hld-color-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.iti__selected-country-primary {
  padding: 0 15px !important;
}

.hld-shipping-wrap label {
  font-size: 18px !important;
  margin-bottom: 0 !important;
}

.hld-shipping-orders-label {
  font-size: 1rem;
  margin: 0.5rem 0 0.25rem 0;
  color: inherit;
}

.hld-shipping-orders-note {
  margin: 0 0 1rem 0;
  color: inherit;
}

.hld-shipping-orders-note a {
  color: #0d6efd;
  text-decoration: underline;
}

.hld_disqualify_btn:hover {
  background: var(--hld-color-primary);
  color: white;
}

.fluentform .ff-el-progress-bar {
  background-color: var(--hld-color-primary) !important;
  border-radius: 10px;
  overflow: hidden;
}

.ff-el-progress {
  border-radius: 25px !important;
  height: 7px !important;
}

.btn_payment_method {
  float: right;
}

.btn_payment_method:hover,
.btn_payment_method:focus {
  background-color: var(--hld-color-primary-dark);
  color: white;
  border: none;
}

/* Desktop date picker */
.myBirthDate select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none !important;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0;
  padding-top: 0.5rem;
  padding-right: 1rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  max-width: 200px !important;
}

.hld-success-story-wrap .ff-el-group.ff-custom_html {
  outline: none !important;
}

.hld_form_wrap .ff-custom_html {
  outline: none !important;
}

/* hide the number from progress bar  */
.hld_form_wrap .ff-el-progress-bar span {
  display: none !important;
}

.hld-checkout .fluentform .ff-el-group {
  margin-bottom: 0 !important;
}

.ff-el-form-check-label input {
  display: none !important;
}

/* css ends for disqualify page */
/* Mobile adjustments */
@media (max-width: 768px) {
  .hld-sidebar {
    width: 90%;
    max-width: 90%;
  }
}

/* *************** Optin Section Css ********************/
.hld_optin_container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
  font-family: var(--hld-font-primary);
}

.hld_optin_box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  box-shadow: initial;
  transition: all 0.3s ease;
  cursor: not-allowed;
}

.hld_optin_box:hover {
  border-color: var(--hld-color-primary);
  box-shadow: 0 4px 14px rgba(109, 111, 252, 0.25);
  transform: translateY(-2px);
}

.hld_optin_icon {
  font-size: 20px;
  flex-shrink: 0;
  color: var(--hld-color-primary);
}

.hld_optin_text {
  flex: 1;
}

/* ***********Login/ My Account button style */

.hld-btn {
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px !important;
  font-size: 15px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hld-login-btn-nav {
  background-color: white !important;
  color: #000 !important;
}

.hld-login-btn-nav:hover {
  background-color: #005f8a;
}

.hld-account-btn {
  background-color: #28a745;
  color: #fff;
}

.hld-account-btn:hover {
  background-color: #218838;
}

.custom-weight-text .weight-text {
  color: var(--hld-color-primary);
  transition: color 0.3s ease;
  font-size: 18px;
  font-weight: 700;
}

.optin_cb_container input[type="checkbox"] {
  display: block !important;
}

.optin_cb_container label {
  background: none !important;
  outline: none !important;
  border: none !important;
  display: flex;
  gap: 10px;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
}

/* . {
  display: inline-block;
  border-radius: 30px;
  padding: 7px 29px;
  background: var(--bs-primary);
} */
.optin_cb_container input {
  height: auto !important;
}

.hld_form_wrap .ffs_default_wrap {
  margin-top: 30px;
}

.package-header strong {
  font-size: 1.25rem;
  font-weight: 500;
  color: #333;
}

.package-description li {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 0.875rem;
  font-weight: 400;
  margin-bottom: 5px;
}

.hldDobFieldWrap {
  display: none;
}

.hld-login-buttons-wrapper {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
}

.hld-login-buttons-wrapper .hld-get-started-btn {
  color: #fff;
  background: var(--hld-color-primary);
  border: none;
  padding: 10px 18px;
  transition: all 300ms ease;
  /* smooth 300ms hover effect */
}

.discount-sub-desc {
  display: block;
  font-size: 13px;
}

/* Hover Effect */
.hld-login-buttons-wrapper .hld-get-started-btn:hover {
  background: var(--hld-color-primary-dark,
      #0056b3);
  /* fallback if --hld-color-primary-dark not defined */
  transform: translateY(-2px);
  /* subtle lift on hover */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Target the label when its input radio is checked */
.ff-el-form-check-label:has(input:checked) {
  background-color: var(--hld-color-primary) !important;
  color: #fff !important;
  transition: 0.3s !important;
}

.hld-subscription-card .hld-text {
  margin-bottom: 0.6em;
}

.hld_form_wrap .ff-el-form-check label:hover {
  border: 1px solid var(--hld-color-primary) !important;
  color: var(--hld-color-primary);
}

/************* Style start for summary page **********************/
div.ff-summary-wrapper {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  font-family: var(--hld-font-primary);
  max-width: 100%;
  overflow: hidden;
  font-optical-sizing: var(--font-optical-sizing);
  margin-top: 15px;
}

.hld-summary .discount {
  font-size: 1rem;
  color: #28a745;
}

div.ff-summary-inner-wrapper {
  padding: 0;
}

h3.ff-summary-title {
  margin-top: 0;
  background: #f2f2f2;
  padding: 20px 20px;

  color: black;
  font-weight: bold;
  font-size: 18px;
}

div.ff-summary-box {
  border-radius: 8px;
}

p.ff-summary-section-title {
  font-weight: bold;
  font-size: 20px;
  font-family: Helvetica;
  margin-bottom: 30px;
  margin-top: 0;
}

.hld-packages-klarna-afterpay-wrap {
  display: flex;
  justify-content: end;
  position: absolute;
  right: 10px;
  flex-direction: row;
  gap: 6px;
  /* top: 12px; */
  top: 25px;

}

.hld-packages-klarna-afterpay-wrap img {
  height: 25px;
}

div.ff-summary-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  margin-top: 10px;
}

div.ff-summary-label {
  flex: 1;
  color: rgba(0, 0, 0, 0.7);
  font-size: 15px;
  max-width: 65%;
}

div.ff-summary-value {
  text-align: right;
  min-width: 60px;
  color: rgb(0, 0, 0);
  font-size: 17px;
}

div.ff-summary-note {
  margin-bottom: 10px;
  color: gray;
  font-size: 13px;
}

hr.ff-summary-divider {
  margin: 15px 0;
}

div.ff-summary-row.ff-total-row {
  font-size: 16px;
}

div.ff-summary-value.ff-free {
  color: green;
  font-weight: bold;
}

.ff-summary-label .ff-subtitle {
  font-weight: normal;
  font-size: 13px;
  color: #6d6ffc;
}

.ff-summary-row.ff-total-row {
  padding-top: 0;
  margin-top: 15px;
  margin-bottom: 15px;
}

.hld-summary .hld-due-today-row .hld-12-month-pay {
  font-size: 12px;
  color: #555;
  font-weight: 400;
  margin-top: 6px;
}
.hld-summary .hld-12-month-pay .hld-pay-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 50%;
}
.hld-summary #hldMonthlyPaymentAmount {
  font-weight: 700;
  color: #000;
  font-size: 20px;
}

.ff-summary-total-wrap {
  font-size: 20px !important;
  font-weight: bold;
  color: black !important;
}

.hld-summary .hld-description {
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
  margin-top: 5px;
  width: 70%;
}

/* All-inclusive care: icon + text lines */
.hld-summary .hld-care-title {
  margin: 0 0 6px 0;
}
.hld-summary .hld-care-line {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 6px 0;
}
.hld-summary .hld-care-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Medication / Plan: desktop row, mobile stacked separate lines */
.hld-summary .hld-medication-plan-row .ff-summary-label {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: unset !important;
}
.hld-summary .hld-med-plan-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hld-summary .hld-med-plan-line .med-label,
.hld-summary .hld-med-plan-line .med-package {
  flex-shrink: 0;
}
.hld-summary .hld-med-plan-line .med-value,
.hld-summary .hld-med-plan-line .plan-value {
  font-weight: 600;
  color: #000;
}
@media (max-width: 767px) {
  .hld-summary .hld-medication-plan-row .ff-summary-label {
    flex-direction: column;
    max-width: unset !important;
  }
  .hld-summary .hld-med-plan-line {
    flex-wrap: wrap;
  }
}

/* Discount: keep green for amount and coupon badge */
.hld-summary #hldDiscountAmount,
.hld-summary #hldNewPatientDiscountWrap .ff-summary-value .discount,
.hld-summary #hldNewPatientDiscountWrap .hld-discount-breakdown {
  color: #16a34a !important;
}
.hld-summary #hldDiscountCoupon.coupon {
  /* color: #16a34a; */
}

.hld-summary .desc-header {
  position: relative;
  margin-bottom: 50px;
}

.hld-summary .checkout-img {
  position: absolute;
}

.hld-summary .discount-sub-desc {
  color: rgba(0, 0, 0, 0.5);
}

.hld-summary .hld-summary-items {
  color: rgba(0, 0, 0, 0.8);
  font-size: 16px;
  margin-top: 3px;
}

.hld-summary .hld-small-txt {
  margin-bottom: 5px;
  text-align: center;
  font-size: 14px;
  color: #7c7c7c;
}

.hld-summary .secure-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 14px;
  color: #555;
  font-weight: 500;
}
.hld-summary .secure-wrap-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
/* Disclaimer below Secure & Trusted */
.hld-summary .txt-agreement {
  font-family: var(--hld-font-primary);
  text-align: center;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 8px;
  margin-bottom: 0;
}

/* Checkout spacing: Afterpay–Card gap = Klarna–Afterpay gap; Card–Pay = tightest */
.hld-summary .hld-payment-btns-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
  margin-top: 10px;
}
.hld-summary .hld-payment-btns-wrap .payment-btn {
  margin: 0;
}
.hld-summary .hld_stripe_container {
  margin-top: 10px;
  margin-bottom: 6px;
}
.hld-summary #hdlMakeStipePayment {
  margin-top: 0px;
}

.hld-discount {
  background: #e1e1e1;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 50px;
  padding: 4px 14px;
  max-width: 200px;
  display: inline;
}

.discount-title {
  margin-bottom: 14px !important;
  margin-top: 15px;
  font-weight: bold;
  color: #848484;
}

.hld-line-through {
  text-decoration: line-through;
  /* color: #474747; */
  color: rgba(0, 0, 0, 0.5);
  font-weight: 400;
  font-size: 1.2rem;
}
#hldDueWas{
  padding-right: 5px !important;
}
.hld_form_wrap div.ff-summary-inner-wrapper {
  padding: 0 !important;
}

.hld-summary .med-label {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}

.hld-summary .med-name {
  color: black;
  font-size: 1.2rem;
  font-weight: 600;
}

.hld-summary .align-item-normal {
  align-items: normal;
}

.hld-summary .hld-month-supply {
  color: black;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: right;
}

#payment-request-button {
  display: inline;
  width: 100%;
  padding: 0;
}

/************* summary_design *********************/

@keyframes loaderBarAnim {

  /* Start: bar grows quickly */
  0% {
    width: 0%;
    transform: translateX(0);
  }

  /* FAST movement – first 50% happens quickly */
  30% {
    width: 70%;
    /* grow fast */
    /* transform: translateX(15%); */
  }

  /* Midpoint at 50% */
  50% {
    width: 80%;
    /* transform: translateX(20%); */
  }

  /* SLOW movement for the remaining duration */
  75% {
    width: 90%;
    /* transform: translateX(40%); */
  }

  100% {
    width: 100%;
    /* transform: translateX(100%); */
  }
}

.hld-medication-wrap {
  flex-direction: column;
}

.hld-btn {
  text-align: center;
  margin: auto;
  display: block;
  max-width: 200px;
  text-decoration: none;
  background: var(--hld-color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.hld-btn:hover {
  color: white;
}

.hld-btn-back-to-home {
  max-width: 200px !important;
  color: white;
}

.hld-thank-you-wrap {
  padding: 3rem 1rem;
  max-width: 900px !important;
  margin: auto;
}

.mt-20 {
  margin-top: 20px;
}

.ff-message-success+div {
  padding: 0 !important;
}

.hld-summary .coupon {
  font-size: 12px;
  margin-left: 10px;
  padding: 3px 7px;
  border-radius: 50px;
  background: #28a745;
  color: white;
}

/* Phone call required box */
.hld_phone_state_box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #dbe1e8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  margin-bottom: 20px;
  max-width: 700px !important;
  margin-top: 20px;
}

.hld_phone_state_icon svg {
  flex-shrink: 0;
}

.hld_phone_state_text h3 {
  margin: 0 0 6px 0;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}

.hld_phone_state_text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #475569;
}

/* Thank you box */
.hld_thankyou_box {
  width: 100%;
  padding: 28px 24px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
  text-align: center;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  max-width: 700px !important;
  margin-top: 20px;
  margin-bottom: 20px !important;
}

.hld_thankyou_box h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
}

.hld_questionnaire_wrap .need-help p {
  margin-bottom: 7px;
}

.hld_thankyou_box p {
  margin: 0 0 0px;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.55;
}

.hld_form_wrap.payment-success {
  display: none;
}

/* Dashboard button */
.hld_btn_dashboard {
  display: inline-block;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  background: var(--hld-color-primary);
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 34px;
  transition: background 0.25s ease;
  margin-top: 15px;
}

.hld_btn_dashboard:hover {
  background: #1e4fc7;
}

.hld-btn-secondary {
  background: white;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  float: right;
  width: 100%;
  max-width: 100%;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px !important;
  font-size: 15px;
  height: 40px;
  text-decoration: none;
  margin-top: 20px;
}

section#hdlDashboard {
  padding: 0 !important;
}

section#hdlDashboard .container .tabs .content {
  padding: 0 16px !important;
}

.hld-height-weight-wrap .card {
  margin: auto;
}

.hld-height-weight-wrap .hld-heading {
  font-size: 1.3rem;
  margin: auto;
  margin-bottom: 11px;
  font-weight: bold;
  font-family: var(--hld-font-primary);
}

.hld-height-weight-wrap button,
.hld-height-weight-wrap button:hover,
.hld-height-weight-wrap button:focus {
  background: var(--hld-color-primary);
  border-radius: 50px;
}

/************** Design for healsend.com home page slider starts ****************/
/* .hld-main-slider{

} */
/************** Design for healsend.com home page slider ends ****************/

/* ***************** sidebar code ends for action item sidebar */

/* Mobile only (up to 767px) mobile_device_start */
@media screen and (max-width: 767px) {

  /* mobile styles */
  .hld_form_container {
    margin-top: -30px;
    padding-top: 0px;
  }

  section#hdlDashboard .container .tabs ul {
    border-radius: 0 !important;
  }

  .hld_login_form input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    /* 20px */
    border: 1px solid rgba(0, 0, 0, 0.23);
    border-radius: 8px;
    height: 56px;
    outline: none;
    box-shadow: none;
    cursor: text;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .hld_login_form input:focus {
    border-color: var(--hld-color-primary);
    /* Material Primary Blue */
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
  }

  .hld_disqualify_wrapper {
    width: 100%;
    max-width: 100%;
  }

  .hld-custom-checkbox-group {
    flex-direction: column;
  }

  .hld_section-title {
    font-size: 1.3rem;
  }

  .hld_bmi-title {
    font-size: 1.5rem;
  }

  .med-features li {
    margin-bottom: 0.275rem;
    max-width: 70%;
  }

  .hld_tabs_hint {
    display: block;
  }

  .hld_no_found_wrap a,
  .hld_action_item_wrap a {
    font-size: 0.875rem;
    text-align: center;
  }

  .hld_login_wrapper {
    padding: 64px 24px;
    margin-top: 0;
  }

  .hld_terms_consent span {
    font-size: 0.875rem;
  }

  .hld-subscription-card {
    padding: 30px 15px;
  }

  .hld_terms_consent input[type="checkbox"] {
    margin-top: 5px;
    transform: scale(1.2);
    margin-right: 1px;
    margin-left: 4px;
  }

  .hld_patient_login_title {
    margin-bottom: 2rem;
  }

  .tabs-nav-wrapper {
    position: fixed !important;
    left: 0;
    right: 0;
    touch-action: pan-x;
  }

  .hld-dashboard .content section.container {
    margin-bottom: 24px;
  }

  .hld-dashboard .content {
    margin-top: 75px !important;
  }

  /* checkbox style */
  .hld_login_form input[type="checkbox"] {
    all: unset;
    appearance: none;
    width: 20px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.6);
    border-radius: 0;
    /* 👈 make it fully square */
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 0rem;
    margin-top: 0.2rem;
  }

  /* Checked */
  .hld_login_form input[type="checkbox"]:checked {
    background-color: var(--hld-color-primary);
    border-color: var(--hld-color-primary);
  }

  /* Checkmark */
  .hld_login_form input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  /* Hover / Focus */
  .hld_login_form input[type="checkbox"]:hover {
    border-color: var(--hld-color-primary);
  }

  .hld_login_form input[type="checkbox"]:focus {
    outline: 2px solid rgba(25, 118, 210, 0.3);
    outline-offset: 2px;
  }

  .hld_no_found_wrap p,
  .hld_action_item_wrap p {
    font-size: 1rem !important;
  }

  .hld_action_item_wrap .title {
    font-size: 1.2rem !important;
  }

  .profile-container .hld-patient-info {
    padding-top: 0px;
  }

  .profile-container .hld-edit-wrap {
    width: 100%;
    padding: 0;
  }

  .profile-container .hld-edit-wrap button {
    width: 100%;
    margin-top: 0rem;
  }

  .profile-container .card-body {
    margin: 0 !important;
  }

  /* .profile-container .hld-personal-info */
  .profile-container .hld-personal-info .col-md-9 {
    margin-top: 0;
  }

  .hld-personal-info .hld-edit-wrap {
    margin-top: 5px;
  }

  .btn_edit_settings {
    width: 100%;
  }

  .profile-container .hld-personal-info .card-body {
    padding: 1.5rem 1.5rem !important;
  }

  .hld-personal-info .col-md-9 {
    padding: 0 !important;
  }

  .hld-payment-info .card-body,
  .hld-shipping-info .card-body {
    padding: 1.5rem 1.5rem !important;
  }

  .hld-payment-info .col-md-8 {
    margin-top: 0 !important;
  }

  .hld-payment-info .col-md-8,
  .hld-payment-info .col-md-4 {
    padding: 0 !important;
  }

  .hld-chat-container {
    padding: 0 !important;
  }
  
  .hld-chat-container .container {
    padding: 0 !important;
    margin: 0 !important;
  }

  .hld-login-buttons-wrapper .hld-get-started-btn {
    display: none;
  }

  .hld-custom-checkbox-group {
    flex-direction: column;
  }

  .hld-view-invoice {
    width: 100%;
  }

  .hld-invoice-btns-wrap {
    padding: 0;
  }

  .hld-order-detail-box .card-body {
    padding: 1.5rem !important;
  }

  .hld_form_wrap {
    /* padding: 15px 20px; */
    padding: 15px 0px;
    
  }
  /* .ast-single-post.ast-page-builder-template .site-main > article, */
   .woocommerce.ast-page-builder-template .site-main, .ast-page-builder-template .post-navigation{
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hld_form_wrap .ffs_default_wrap{
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0px !important;
  }
  .container {
    max-width: 100% !important;
  }

  div.ff-summary-wrapper {
    padding: 25px 20px;
  }

  .hld-summary .txt-agreement {
    max-width: 100%;
    color: rgba(0, 0, 0, 0.5);
  }

  .hld_questionnaire_wrap {
    padding: 20px;
  }

  .hld-summary .desc-header {
    margin-bottom: 25px;
  }
}

/* Responsive mobile_device****************************************************************************** */

@media (min-width: 768px) and (max-width: 991px) {

  /* styles here */
  .hld_form_container {
    margin-top: -30px;
    padding-top: 0px;
  }
}

/* Not Mobile only (768px to 1024px) */
@media screen and (min-width: 768px) {

  /* tablet styles */
  .hld-personal-info {
    position: relative;
  }

  .hld-edit-wrap {
    position: absolute;
    right: 10px;
    top: 5px;
  }

  .tabs-nav-wrapper {
    margin-top: 20px;
  }
}

.hld-navbar {
  width: 100%;
  background-color: #ffffff;
  padding: 5px 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 999;
  transition: all 0.3s ease;
  max-width: 100%;
}

.hld-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
}

.hld-back-btn,
.hld-help-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #333;
  padding: 8px 10px;
  transition: color 0.3s ease;
  box-shadow: initial;
}

.hld-chat-wrap {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 999;
  height: 100vh;
}

.hld-chat-wrap iframe {
  height: 100vh;
}

  .hld-treatment-info-box.hld-treatment-info-box--in-chat .hld-treatment-list{
    border-radius: 0 !important;
  }
.hld-back-btn:hover,
.hld-help-btn:hover {
  background: white;
  color: #333;
}

.hld-back-btn:focus {
  background-color: transparent;
  color: black;
}

.hld-back-btn .hld_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.hld-back-btn .hld_wrap svg {
  width: 25px;
  height: 25px;
}

.hld-logo img {
  height: 40px !important;
  width: auto;
  display: block;
  margin: 0 auto;
}

.hld-order-card {
  border-radius: 10px;
  overflow: hidden;
}

.hld-patient-img {
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.hld-symptom-list .badge {
  font-size: 0.85rem;
  background-color: #6c757d;
}

.hld-order-detail-box {
  max-width: 900px;
  margin: 0 auto;
}

.hld-order-detail-box .card-header {
  padding: 12px 15px;
  background-color: transparent;
}

.hld-order-detail-box .card-body {
  padding: 15px 18px;
}

.hld-back-to-orders {
  width: 100%;
  background: var(--hld-color-primary) !important;
  border-radius: 50px !important;
  border: none !important;
  color: white !important;
}

.hld-save-account-details {
  display: none;
  background: var(--hld-color-primary);
  min-width: 100px;
  border-radius: 100px !important;
  border: none !important;
  font-size: 1rem !important;
  margin-top: 5px;
}

.hld-desktop-dob label {
  margin-bottom: 0 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.hidden {
  display: none !important;
}

.hld-dob-mobile {
  display: none;
}

.hld-dob-desktop-label {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 0 !important;
  font-family: var(--hld-color-primary);
}

.hld-dob-desktop-wrap {
  display: block;
}

.hld_login_button {
  background: var(--hld-color-primary);
}

.hld-medicine .med-image {
  position: absolute;
}

.ff-btn.ff-btn-submit {
  border-radius: 50px !important;
  height: 50px;
  text-align: center;
  background: var(--hld-color-primary);
  opacity: 1 !important;
}

.hld-view-invoice {
  color: white !important;
}

/* subscription_style */
.hld-subscription {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-family: var(--hld-font-primary);
}

.hld-subscription .left {
  flex: 1;
  min-width: 0;
}

.hld-subscription .left .sub-title {
  font-size: 0.8125rem;
  color: #6b7280;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.hld-subscription .left .title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin: 0.25rem 0 0.375rem 0;
  line-height: 1.3;
}

.hld-subscription .left .title.hld-subscription-one-line {
  font-weight: 400;
}

.hld-subscription .left > span:not(.status) {
  font-size: 0.875rem;
  color: #6b7280;
  display: block;
  margin-top: 0.125rem;
}

.hld-subscription .right {
  text-align: right;
  flex-shrink: 0;
}

.hld-subscription .right .sub-title {
  font-size: 0.8125rem;
  color: #6b7280;
  font-weight: 400;
  display: block;
  margin-bottom: 0.25rem;
}

.hld-subscription .title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.hld-subscription .right .title {
  margin: 0 0 0.25rem 0;
}

.hld-subscription .right > span:last-of-type {
  font-size: 0.875rem;
  color: #6b7280;
}

.hld-subscription .status {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  margin-left: 0.25rem;
}

.hld-subscription .status.succeeded {
  background-color: #9ca3af;
  color: #fff;
}

.hld-subscription .status.active {
  background-color: #22c55e;
  color: white;
}

.hld-subscription .status.inactive {
  background-color: #9ca3af;
  color: #fff;
}

.hlt-btn_revoke_subscription {
  display: flex;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e01b1b !important;
}

/* Payment Method style for subscription */
.hld-payment-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  background: #ffffff;
  max-width: 100%;
  /* shadow not required already we showed shadow */
  /* box-shadow: 0 4px 14px rgba(0,0,0,0.05); */
}

.hld-payment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hld-card-brand {
  font-weight: 600;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f3f4f6;
  text-transform: uppercase;
}

.hld-card-last4 {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.hld-payment-body {
  display: grid;
  row-gap: 10px;
}

.hld-payment-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.hld-label {
  color: #6b7280;
}

.hld-value {
  color: #111827;
  font-weight: 500;
}

/* Brand accents (optional) */
.hld-card-brand-visa {
  background: #e0ecff;
  color: #1a56db;
}

.hld-card-brand-mastercard {
  background: #ffe4e4;
  color: #b91c1c;
}

.hld-card-brand-amex {
  background: #e0f2fe;
  color: #0369a1;
}

/* Style ends for payment method */
/* .hld_form_wrap label:hover {
  border: 1.2px solid var(--hld-color-primary) !important;
  color: var(--hld-color-primary);
} */
@media (max-width: 768px) {
  .hld-dob-desktop-wrap {
    display: none;
  }

  .hld-dob-mobile {
    display: block;
  }

  .hld-navbar {
    padding: 8px 10px;
  }

  .hld-back-btn,
  .hld-help-btn {
    font-size: 14px;
  }

  .hld-logo img {
    height: 30px;
  }

  .hld_order_status {
    width: 100%;
    padding: 7px 12px !important;
    font-size: 0.875rem;
  }
}

.hld-footer {
  position: initial;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

@media (max-width: 600px) {
  .hld-footer-inner {
    flex-direction: row;
    text-align: center;
    gap: 10px;
    padding: 10px 0px !important;
  }
}

/* Hide Main Footer On greater than mobile devices i.e tablet or desktop */

/* HeroUI CSS */
/* Add HeroUI CSS here */

/* 
   --------------------------------------------------------------
   Badge Styles (Added by Agent)
   Matches WhatsApp colors for Patient Favorite (Blue) and Cost Effective (Green)
   --------------------------------------------------------------
*/

.hld-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
  color: white !important;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  line-height: normal;
}

.hld-badge-blue {
  background-color: #34B7F1 !important;
  /* WhatsApp Blue Check Color */
}

.hld-badge-green {
  background-color: #25D366 !important;
  /* WhatsApp Green */
}

.hld-badge-pink {
  background-color: #E91E63 !important;
}

.hld-badge-purple {
  background-color: #6d6ffc !important;
}

.hld-badge-orange {
  background-color: #ff9800 !important;
}

/* Treatment / prescription info box (MDI-style reference) */
.hld-treatment-info-box {
  background: #f0f9fa;
  border: 1px solid #b8e4e8;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  box-sizing: border-box;
}
.hld-treatment-info-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}
.hld-treatment-info-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0d9488;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hld-treatment-info-icon svg {
  width: 18px;
  height: 18px;
}
.hld-treatment-info-intro {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #334155;
  min-width: 0;
  flex: 1;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.hld-treatment-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  border: 0;
  display: block;
}
.hld-treatment-item {
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9375rem;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.hld-treatment-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.hld-treatment-name {
  display: block;
  color: #0f172a;
  margin-bottom: 0.25rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.hld-treatment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #64748b;
  min-width: 0;
}
.hld-treatment-chat-link {
  margin: 1rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}
.hld-treatment-chat-link a {
  color: var(--hld-color-primary, #6d6ffc);
  font-weight: 600;
  text-decoration: none;
}
.hld-treatment-chat-link a:hover {
  text-decoration: underline;
}

/* Prescription summary in messages chat (clickable, opens visit details) */
.hld-msg-bubble--prescription-link {
  padding: 0;
  overflow: hidden;
}
.hld-msg-prescription-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.hld-msg-prescription-card-link:hover {
  color: inherit;
}
.hld-messages-intake-label {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0 !important;
  font-weight: 500;
}

.hld-treatment-info-box--in-chat {
  margin: 0;
  border-radius: 0;
  border: 0;
  background: #f0f9fa;
  box-shadow: none;
}
.hld-msg-bubble--prescription-link .hld-treatment-info-box--in-chat {
  border-radius: 12px;
  margin: 0;
}
.hld-msg-prescription-cta {
  margin: 0.75rem 0 0;
  padding-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hld-color-primary, #6d6ffc);
}
.hld-msg-prescription-card-link:hover .hld-msg-prescription-cta {
  text-decoration: underline;
}

/* Messages – chat-style window (MDI reference) - Redesigned */
.hld-mdi-messages.container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  background: #ffffff;
  border-radius: 15px;
}

/* Two-column layout: sidebar + main (WhatsApp-style) */
.hld-messages-layout {
  display: flex;
  /* min-height: calc(100vh - 200px); */
  background: #ffffff;
  overflow: hidden;
  border-radius: 15px ;
}

.hld-messages-sidebar {
  width: 280px;
  min-width: 280px;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.hld-messages-sidebar-title {
  padding: 1rem 1rem 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}

.hld-messages-conversation-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  /* flex: 1; */
  min-height: 0;
  flex-direction: column !important;
  margin: 0 !important;
  width: 100% !important;
}

.hld-messages-conversation-item {
  margin: 0;
  padding: 0;
  width: 100% !important;
  border-bottom: 1px solid #f3f4f6;
}

.hld-messages-conversation-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #111827;
  transition: background 0.15s ease;
}

.hld-messages-conversation-link:hover {
  background: #f3f4f6;
}

.hld-messages-conversation-item--active .hld-messages-conversation-link {
  background: #eff6ff;
}

/* WhatsApp-style avatar circle per conversation */
.hld-messages-conversation-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6866ed, #8b89f0);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hld-messages-conversation-item--active .hld-messages-conversation-avatar {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.hld-messages-conversation-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.hld-messages-conversation-clinician {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #111827;
}

.hld-messages-conversation-clinician-name {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hld-messages-conversation-item--active .hld-messages-conversation-clinician {
  color: #1d4ed8;
}

.hld-messages-conversation-item--active .hld-messages-conversation-clinician {
  color: #1d4ed8;
}

.hld-messages-conversation-patient-id {
  display: block;
  font-size: 0.8125rem;
  font-family: monospace;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hld-messages-conversation-item--active .hld-messages-conversation-patient-id {
  color: #2563eb;
}

.hld-messages-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.hld-messages-chat-window {
  position: relative;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 200px);
  height: 100%;
  flex: 1;
  min-height: 0;
}

.hld-messages-window-loader {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 1rem;
}

.hld-messages-window-loader-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--hld-color-primary, #6d6ffc);
  border-radius: 50%;
  animation: hld-messages-loader-spin 0.8s linear infinite;
}

.hld-messages-window-loader-text {
  font-size: 0.9375rem;
  color: #4b5563;
  font-weight: 500;
}
.hld-messages-chat-header {
  flex-shrink: 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.hld-messages-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  gap: 1rem;
}

.hld-messages-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.hld-messages-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.hld-messages-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #6866ed, #8b89f0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #ffffff;
}

.hld-messages-avatar-text {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
}

.hld-messages-online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.hld-messages-header-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.hld-messages-chat-title {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.hld-messages-chat-title-line2 {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  margin-top: 0.125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hld-messages-status-line {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
}

.hld-messages-online-text {
  color: #10b981;
  font-weight: 500;
}

.hld-messages-separator {
  color: #d1d5db;
}

.hld-messages-specialty {
  color: #6b7280;
}

.hld-messages-header-right {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.hld-messages-hipaa-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: #9ca3af;
  border-top: 1px solid #f3f4f6;
  background: #fafafa;
}

.hld-messages-hipaa-badge svg {
  flex-shrink: 0;
}

.hld-messages-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid #f3f4f6;
  background: rgba(255, 255, 255, 0.5);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hld-messages-quick-actions::-webkit-scrollbar {
  display: none;
}

.hld-quick-action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.hld-quick-action-btn:hover {
  border-color: rgba(109, 111, 252, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hld-quick-action-btn:active {
  transform: scale(0.95);
}

.hld-quick-action-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hld-quick-action-schedule {
  background: #dbeafe;
  color: #2563eb;
}

.hld-quick-action-refill {
  background: #d1fae5;
  color: #059669;
}

.hld-quick-action-records {
  background: #fef3c7;
  color: #d97706;
}

.hld-quick-action-urgent .hld-quick-action-icon {
  background: #fee2e2;
  color: #dc2626;
}

.hld-quick-action-urgent {
  border-color: #fecaca;
}
.hld-messages-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #6b7280;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.hld-messages-header-btn:hover {
  background: rgba(109, 111, 252, 0.1);
  color: #6866ed;
}

.hld-messages-patient-app-link {
  text-decoration: none;
}
.hld-messages-refresh {
  margin-right: 0;
  flex-shrink: 0;
}
.hld-messages-header-title-wrap {
  flex: 1;
  min-width: 0;
}
.hld-messages-chat-title {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
}
.hld-messages-my-details {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.75rem;
}
.hld-messages-my-details span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.hld-messages-header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.hld-messages-open-app {
  width: auto !important;
  padding: 0.4rem 0.75rem !important;
  border-radius: 8px;
  font-weight: 600;
  color: var(--hld-color-primary, #6d6ffc);
  border: 1px solid var(--hld-color-primary, #6d6ffc);
  background: #fff;
}
.hld-messages-open-app:hover {
  background: var(--hld-color-primary, #6d6ffc);
  color: #fff;
}
.hld-messages-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  scroll-behavior: smooth;
  position: relative;
  max-height: 60vh !important;
}

.hld-messages-list-loader {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
}

.hld-messages-list-loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: hld-messages-loader-spin 0.8s linear infinite;
}

.hld-messages-list-loader-text {
  font-size: 0.875rem;
  color: #6b7280;
}

@keyframes hld-messages-loader-spin {
  to { transform: rotate(360deg); }
}

/* Messages: responsive layout for tablet and mobile */
@media (max-width: 991px) {
  .hld-mdi-messages {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .hld-messages-sidebar-title{
    border-bottom: none !important;
  }
  .hld-messages-layout {
    flex-direction: column;
    min-height: 0;
    height: auto;
    min-height: calc(100vh - 180px);
  }
  section#hdlDashboard aside.hld-messages-sidebar ul.hld-messages-conversation-list{
    width: fit-content !important;
    margin: unset !important;
    padding: 0px !important;
    border-bottom: none !important;
    display: grid;
            grid-template-columns: repeat(5, 1fr);
            direction: rtl;

  }
  section#hdlDashboard aside.hld-messages-sidebar ul.hld-messages-conversation-list a{
    padding: 10px 5px !important;
  }
  .section#hdlDashboard .container .tabs ul.hld-messages-conversation-list li{
    padding: 0px !important;
    background: none !important;
  }



  .hld-messages-sidebar {
    width: 100%;
    min-width: 0;
    max-height: unset;
    min-height: unset;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px !important;
  }
  .hld-messages-conversation-link .hld-messages-conversation-body{
    display: none;
    
  }
  .hld-messages-main {
    flex: 1;
    min-height: 280px;
  }
  .hld-messages-chat-window {
    min-height: 0;
    flex: 1;
  }
  .hld-messages-header-main {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
    min-width: 0;
  }
  .hld-messages-header-left {
    min-width: 0;
    overflow: hidden;
  }
  .hld-messages-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.8125rem;
  }
  .hld-messages-chat-title {
    font-size: 0.875rem;
  }
  .hld-messages-hipaa-badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.6875rem;
    flex-wrap: wrap;
  }
  .hld-messages-list {
    padding: 0.75rem;
    max-height: none !important;
  }
}

@media (max-width: 544px) {
  .hld-mdi-messages {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .hld-messages-sidebar-title {
    padding: 0.75rem 0.5rem;
    font-size: 0.9375rem;
  }
  .hld-messages-conversation-link {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }
  .hld-messages-conversation-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 0.8125rem;
  }
  .hld-messages-header-main {
    padding: 0.5rem;
  }
  .hld-messages-header-btn {
    width: 36px;
    height: 36px;
  }
  .hld-messages-avatar {
    width: 36px;
    height: 36px;
  }
  .hld-messages-chat-title {
    font-size: 0.8125rem;
  }
  .hld-messages-status-line {
    font-size: 0.6875rem;
  }
  .hld-messages-list {
    padding: 0.5rem;
  }
}

.hld-messages-list::-webkit-scrollbar {
  width: 6px;
}

.hld-messages-list::-webkit-scrollbar-track {
  background: transparent;
}

.hld-messages-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.hld-messages-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Date separator */
.hld-msg-date-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

.hld-msg-date-separator span {
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: #f3f4f6;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
}
.hld-messages-empty {
  margin: 0;
  padding: 1rem 0;
}
.hld-msg-bubble {
  /* max-width: 80%; */
  margin-bottom: 0;
  padding: 0;
  border-radius: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  /* background: #f3f4f6; */

}
.hld-msg-bubble .hld-msg-content{
  padding: 0.75rem 1rem;
  background: #f3f4f6;
  width: fit-content !important;
  max-width: 80% !important;
  border-radius: 15px !important; 
}

.hld-msg-bubble-wrapper {
  display: flex;
  width: 100%;
  margin-bottom: 0.5rem;
}

.hld-msg-bubble-wrapper.hld-msg-bubble--clinician {
  justify-content: flex-start;
}
div#hldMdiMessagesListMessages .hld-msg-bubble--clinician{
  padding:0 !important;
  border-radius: 15px !important;
}

.hld-msg-bubble-wrapper.hld-msg-bubble--patient {
  justify-content: flex-end;
}

.hld-msg-bubble--clinician {
  /* background: #f3f4f6; */
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  box-shadow: none;
  width: 100%;
}

.hld-msg-sender-line {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
  line-height: 1.2;
  font-weight: 500;
}

.hld-msg-bubble-wrapper.hld-msg-bubble--clinician .hld-msg-sender-line {
  text-align: left;
}

.hld-msg-bubble-wrapper.hld-msg-bubble--patient .hld-msg-sender-line {
  text-align: right;
}

.hld-msg-bubble--clinician .hld-msg-sender {
  display: none;
}
div#hldMdiMessagesListMessages .hld-msg-bubble-wrapper.hld-msg-bubble--clinician{
  padding:  0!important;
}

.hld-msg-bubble--patient {
  /* background: var(--hld-color-primary, #6d6ffc); */
  color: #fff;
  border-radius: 1rem;
  padding: 0 1rem !important;
  box-shadow: none;
  width: 100%;
  align-items: end !important;
  margin : 0 !important
}

.hld-msg-bubble--patient .hld-msg-sender {
  display: none;
}

.hld-msg-bubble--patient .hld-msg-content,
.hld-msg-bubble--patient .hld-msg-time {
  color: #fff;
}

.hld-msg-content {
  font-size: 0.9375rem;
  line-height: 1.5;
  word-break: break-word;
  white-space: pre-wrap;
  color: inherit;
}

.hld-msg-bubble--clinician .hld-msg-content {
  color: #111827;
}

.hld-msg-bubble--patient .hld-msg-content {
  color: #ffffff;
  background: var(--hld-color-primary, #6d6ffc);

}

/* Message files and images */
.hld-msg-files {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.hld-msg-files:first-child {
  margin-top: 0;
}
.hld-msg-file {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  overflow: hidden;
}
.hld-msg-file--image img {
  max-width: 200px;
  max-height: 200px;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}
.hld-msg-file--doc {
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.06);
  color: #374151;
  font-size: 0.875rem;
  gap: 0.5rem;
}
.hld-msg-bubble--patient .hld-msg-file--doc {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.hld-msg-file--doc:hover {
  background: rgba(0, 0, 0, 0.1);
}
.hld-msg-bubble--patient .hld-msg-file--doc:hover {
  background: rgba(255, 255, 255, 0.3);
}
.hld-msg-file-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.hld-msg-file-icon svg {
  width: 20px;
  height: 20px;
}
.hld-msg-file-name {
  word-break: break-word;
  max-width: 180px;
}

.hld-msg-meta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
  padding: 0;
}

.hld-msg-bubble-wrapper.hld-msg-bubble--clinician {
  flex-direction: column;
  align-items: flex-start;
  max-width: 100% !important;
}


   .hld-msg-bubble-wrapper.hld-msg-bubble--patient,
   .hld-msg-bubble-wrapper.hld-msg-bubble--clinician,
   .hld-msg-bubble.hld-msg-bubble--clinician.hld-msg-bubble--prescription-link{
  padding: 0 !important;
}
.hld-msg-bubble-wrapper.hld-msg-bubble--patient {
  flex-direction: column;
  align-items: flex-end;
  /* max-width: 80%; */
  margin-left: auto;
}

.hld-msg-bubble-wrapper.hld-msg-bubble--clinician .hld-msg-meta {
  justify-content: flex-start;
  padding-left: 0.5rem;
  margin-top: 0.25rem;
}

.hld-msg-bubble-wrapper.hld-msg-bubble--patient .hld-msg-meta {
  justify-content: flex-end;
  padding-right: 0.5rem;
  margin-top: 0.25rem;
}

.hld-msg-time {
  font-size: 0.6875rem;
  color: #9ca3af;
  line-height: 1.2;
}

.hld-msg-bubble-wrapper.hld-msg-bubble--clinician .hld-msg-time {
  color: #9ca3af;
}

.hld-msg-bubble-wrapper.hld-msg-bubble--patient .hld-msg-time {
  color: #9ca3af;
}

.hld-msg-read {
  display: inline-flex;
  align-items: center;
  color: #9ca3af;
  margin-left: 0.25rem;
}

.hld-msg-read--read {
  color: var(--hld-color-primary, #6d6ffc);
}

.hld-msg-read svg {
  width: 14px;
  height: 14px;
}
.hld-messages-send-form {
  flex-shrink: 0;
  padding: 0.75rem 1rem;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  z-index: 10;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.08);
}

.hld-messages-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.hld-messages-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 1.5rem;
  font-size: 0.9375rem;
  resize: none;
  background: #f3f4f6;
  min-height: 44px;
  max-height: 120px;
  line-height: 1.5;
  transition: all 0.2s ease;
  font-family: inherit;
  color: #111827;
}
.hld-messages-input:focus {
  background: #ffffff;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(109, 111, 252, 0.2);
}

.hld-messages-attach-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0 !important;
}

.hld-messages-attach-btn:hover {
  background: rgba(109, 111, 252, 0.1);
  color: var(--hld-color-primary, #6d6ffc);
}

.hld-messages-attachments-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0;
  align-items: center;
}

.hld-messages-attach-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.5rem 0.35rem 0.625rem;
  font-size: 0.8125rem;
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  max-width: 14rem;
  flex-shrink: 0;
}

.hld-messages-attach-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.hld-messages-attach-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  min-height: 1.25rem;
  padding: 0;
  margin: 0;
  border: 0;
  background: #d1d5db;
  color: #374151;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
}

.hld-messages-attach-chip-remove:hover {
  color: #fff;
  background: #ef4444;
}

.hld-messages-send-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hld-messages-status {
  flex: 1;
  font-size: 0.75rem;
  color: #6b7280;
}

.hld-messages-send-btn {
  min-width: 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--hld-color-primary, #6d6ffc);
  color: #fff;
  border: 0;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(109, 111, 252, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hld-messages-send-btn:hover:not(:disabled) {
  background: #5854d4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(109, 111, 252, 0.4);
}

.hld-messages-send-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hld-messages-send-btn svg {
  transform: rotate(-45deg);
}

.entry-header.ast-no-thumbnail{
  display: none !important;
}

.hld-msg-bubble-wrapper.hld-msg-bubble--patient .hld-msg-files a{
  background-color: var(--hld-color-primary, #6d6ffc);
}

#page {
  min-height: unset !important;
}

.hld-visit-header > span.fw-bold.small {
  display: none !important;
}

.hld-visit-header > span.text-muted.small:nth-child(3) {
  display: none !important;
}

section.hld-visit-section.mb-4 > h6 {
  display: none !important;
}

section.hld-visit-section.mb-4 > dl.row.small.mb-0 > dt:nth-of-type(n+2),
section.hld-visit-section.mb-4 > dl.row.small.mb-0 > dd:nth-of-type(n+2) {
  display: none !important;
}

.hld-visits section.hld-visit-section.mb-3 {
  display: none !important;
}

#hld-mdi-message-text {
  overflow: hidden !important;
}


.hld_form_wrap div.nsl-container.nsl-container-block .nsl-container-buttons{
  padding-top: 0px !important;
}
.hld_form_wrap div.nsl-container.nsl-container-block .nsl-container-buttons a{
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.hld_login_wrap.active .ff-el-group{
 margin-top: 10px !important;
 margin-bottom: 10px !important;
}
.hld_login_wrap.active .ff-el-group a{
  color: #000 !important;
}


div#hldNewPatientDiscountWrap {
  display: flex !important;
}
div#hldNewPatientDiscountWrap .ff-summary-value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  color:#28a745 !important
}
.hld-discount-breakdown {
  display: block;
  font-size: 12px;
  color: #555;
  font-weight: 400;
  white-space: normal;
  text-align: right;
  display: none !important;
}
section#hdlDashboard .container .tabs .content section h2.hld-ref-title::after{
  display: none !important;
}

.hld-medicine .med-image,.hld-summary .checkout-img{
  aspect-ratio: 1 / 1.6;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  .hld_no_found_wrap {
    width: 100%;
  }
  .profile-container strong {
    margin-bottom: 0 !important;
  }
 
  #payment-methods-list .pm-row .item {
    flex-wrap: wrap-reverse;
    gap: 8px;
  }
 
  #hld-account-details-form > div:has(label[for="hld_full_name"]) {
    margin-top: 0 !important;
  }
 
  .profile-container .hld-patient-info {
    margin-top: 0 !important;
  }
 
  .profile-container .hld-personal-info .card-body {
    padding: 1rem !important;
  }
 
  .hld-shipping-info .card-body {
    padding: 1rem !important;
  }
 
  .hld-shipping-info .card-body > div {
    margin-top: 0 !important;
  }
 
  .hld-shipping-address-container {
    padding: 1rem !important;
  }
 
  .hld-shipping-address-container > .hld-shipping-info {
    margin-bottom: 0 !important;
  }
 
  .hld-shipping-orders-label {
    margin-top: 0 !important;
  }
 
  .hld_btn_profile_logout {
    background: var(--hld-color-primary) !important;
    color: white !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
 
  .btn-add-pm-wrap button{
    color: white !important;
  }
 
  .hld-messages-send-form {
    position: fixed;
    bottom: 0;
    width: 100% !important;
    left: 0;
  }
 
  #hldVisitsWrap .hld-visit-medicine-name {
    background: #6d6ffc !important;
    border-radius: 25px !important;
    padding: 6px 12px !important;
  }
 
  .hld-visit-header-actions > a,
  .hld-visit-header-actions > button {
    border-radius: 25px;
  }
 
  .hld-ref-header > .hld-consultation-toggle {
    border-radius: 25px !important;
  }
 
  #hldVisitsWrap .hld-medicine-info .hld-medarmacy-name {
    line-height: 150% !important;
  }
}
 
.hld-summary .desc-header{
  margin-bottom: 0 !important;
}

div.ff-summary-row{
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

span#hldDueToday{
  font-weight: 400 !important;
  font-size: 1.2rem !important;
}

.hld_no_found_wrap, .hld_action_item_wrap{
  width: 100% !important;
}

@media screen and (max-width: 767px) {
  section#hdlDashboard .container .tabs {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .lastbreak{
  margin-bottom:0 !important

  }
  section.container.hld-chat-container p.text-muted{
    padding-top: 30px !important;
    text-align: center !important;
  }
}


div.border-cutom-class p {
  margin: 0 !important;
  padding: 0px;
}
div.border-cutom-class p.one-pa{
  font-size: 26px !important;
  color: #000000 !important;
}
div.border-cutom-class p.two-pa{

}
div.border-cutom-class {
  border: none !important;
  margin-bottom: 0px !important;
  padding: 15px 10px !important;
  padding-top:0px !important;
}

.ff-summary-wrapper .desc-header .hld-care-title{
  margin-bottom: 15px !important;
  font-size: 20px !important ;
  text-transform: capitalize !important;
}
div.hld-med-plan-line .med-label{
  font-weight: 600 !important;
  font-size: 16px !important;
}
.hld-due-today-row strong .hld-12-month-pay{
  align-items: center !important;
}
@media screen and (max-width: 496px) {
.hld-due-today-row strong{
  display: flex !important ;
      flex-wrap: wrap !important;
      flex: unset !important;
}
.hld-summary .hld-due-today-row .hld-12-month-pay{
  display: flex !important ;
align-items: center !important;
}
.ff-summary-value.ff-summary-total-wrap div{
  display: flex;
    flex-wrap: nowrap;
    width: 100%;
    position: absolute;
    left: 0;
    gap: 5px !important;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px !important;
}
.ff-summary-row.ff-total-row{
  position: relative !important;
}
.lastbreak{
  margin-top:40px !important
}

}
.ff-summary-value.ff-summary-total-wrap div{
  display: flex;
    align-items: center;
    gap: 10px;
}

div.hld-med-plan-line .med-label,div.hld-med-plan-line .med-package{
  color: #000000 !important;
  font-weight: 600 !important;
}

.hld-summary .hld-med-plan-line .med-value{
  font-weight: 400 !important;
  color: black !important;
}
.ff-summary-row.ff-total-row.totalasdasd .ff-summary-label{
  color: #000000 !important;
}
.ff-summary-row.ff-total-row.hld-due-today-row strong{
  color: #000000 !important;
}
.hld-12-month-pay-text{
  font-size: 14px !important;
}

.hld-consultation-toggle,.hld-visit-order-toggle,.hld-visit-header-actions a{
  border-radius:15px !important
}

.animate-pulse {
	animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1 !important; }
  50%       { transform: scale(0.85); opacity: 0.6 !important; }
}

.outer-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #6866ed;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.inner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0c0b37e8 !important;
  animation: pulse 1.5s ease-in-out infinite;
}

.hld-btn-cancel-order-dashboard{
  font-size: 12px !important;
  color:grey !important;
  border:none !important;

}

.hld-subscription .sub-title{
  margin-bottom: 15px !important;
}

#hldVisitsWrap .hld-ref-step-icon.hld-ref-icon-pending .outer-circle{
  background-color: white !important;
}

#hldVisitsWrap .hld-visit-medicine-name{
  border-radius: 20px !important;
  background: white !important;
  color: var(--hld-color-primary) !important;
  border: 1px solid blue !important;
  font-weight: 400 !important;
}

.hld-custom-checkbox.hld-medicine .med-features{
  width: 85%  !important;  
}

.label-format{
  font-size: 16px !important;
  font-weight: 400 !important;
}

span#hldSummaryPackageDuration.plan-value{
  font-weight: 400 !important;
}


.dueTodayText{
    font-size: 18px !important
}

.dueTodayValueAf{
  font-size: 23px !important
}

div.ff-summary-wrapper{
  padding: 15px 20px !important;
}

section#hdlDashboard{
  margin-top: 0px !important;
}

  section#hdlDashboard .container div.tabs-nav-wrapper ul li {
      margin-bottom: 0px !important;
  }
@media (min-width: 769px) {

  section#hdlDashboard .container .tabs .tabs-nav-wrapper{
    z-index: 111111111111 !important
  }
}