/**
 * Booking Wizard Styles for Semble Stripe Booking Plugin
 */

/* .semble-booking-wizard {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
} 0_0 */

/* .wizard-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
} */


/* Fullscreen Modal */
a:focus,
button:focus {
  outline: none !important;
}

.booking-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  /* overflow-y: auto; */
  /* height: 100dvh; */
  /* font-family: Arial, sans-serif; */
}

.booking-modal-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  position: relative;
}

/* Close button */
.booking-close {
  /* position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer; */
}

/* Progress */
.booking-progress {
  margin-bottom: 20px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #aaa;
}

.progress-steps .step.active {
  font-weight: bold;
  color: #1976d2;
}

.progress-bar {
  height: 4px;
  background: #eee;
  margin-top: 10px;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 20%;
  background: #1976d2;
  transition: width 0.3s;
}

/* Layout */
.booking-body {
  display: flex;
  gap: 40px;
}

.booking-left {
  flex: 2;
}

.booking-summary {
  flex: 1;
  border-left: 1px solid #eee;
  padding-left: 20px;
}

/* Practitioner list */
.doctors-list {
  margin-top: 20px;
}

.doctor-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.doctor-item.selected {
  border-color: #1976d2;
  background: #f0f7ff;
}

.doctor-item img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Buttons */
.next-step,
.prev-step {
  margin-top: 20px;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.next-step {
  background: #1976d2;
  color: #fff;
}

.prev-step {
  background: #eee;
}


/* Progress Bar */
.wizard-progress {
  background: #f8f9fa;
  padding: 30px;
  border-bottom: 1px solid #e9ecef;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  margin-bottom: 30px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 60%;
  width: 80%;
  height: 2px;
  background: #e9ecef;
  z-index: 1;
}

.step.active:not(:last-child)::after,
.step.completed:not(:last-child)::after {
  background: #3498db;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: #3498db;
  color: white;
}

.step.completed .step-number {
  background: #27ae60;
  color: white;
}

.step.completed .step-number::before {
  content: '✓';
  font-size: 16px;
}

.step-label {
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
}

.step.active .step-label {
  color: #3498db;
  font-weight: 600;
}

.step.completed .step-label {
  color: #27ae60;
  font-weight: 600;
}







/* Skeleton base START */
.skeleton_item {
  display: flex;
  margin-bottom: 10px;
}

.practitioner_item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eee;
  cursor: default;
}

/* Avatar placeholder */
.skeleton_avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Text placeholders */
.skeleton_text {
  height: 12px;
  margin-bottom: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton_name {
  width: 150px;
  height: 14px;
}

.skeleton_role {
  width: 100px;
  height: 12px;
}

/* Shimmer animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Skeleton base END */







/* Wizard Steps */
.wizard-step {
  display: none;
  /* padding: 40px; */
  min-height: 500px;
  overflow: unset !important;
}

.wizard-step.active {
  display: block;
}

.step-content h3 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 28px;
  font-weight: 600;
}

.step-content p {
  margin: 0 0 30px 0;
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}

/* Services List */
.services-container,
.doctors-container {
  margin: 30px 0;
}

.loading-services,
.loading-doctors,
.loading-slots {
  text-align: center;
  padding: 40px;
  color: #666;
}

.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}

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

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

.services-list,
.doctors-list {
  display: grid;
  gap: 15px;
}

.service-item,
.doctor-item {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.service-item:hover,
.doctor-item:hover {
  border-color: #3498db;
  box-shadow: 0 2px 10px rgba(52, 152, 219, 0.1);
}

.service-item.selected,
.doctor-item.selected {
  border-color: #3498db;
  background: #f8f9ff;
  box-shadow: 0 2px 10px rgba(52, 152, 219, 0.2);
}

.service-item h4,
.doctor-item h4 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

.service-item p,
.doctor-item p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.sbs-service-price {
  color: #27ae60;
  font-weight: 600;
  font-size: 16px;
}

/* Selected Info */
.selected-service-info,
.selected-doctor-info {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  border-left: 4px solid #3498db;
}

.selected-service-info h4,
.selected-doctor-info h4 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 18px;
}

.selected-service-info p,
.selected-doctor-info p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* Date and Time Selection */
.date-time-selection {
  margin: 30px 0;
}

.date-picker-container {
  margin-bottom: 30px;
}

.date-picker-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.date-picker-container input[type="date"] {
  width: 100%;
  max-width: 300px;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.date-picker-container input[type="date"]:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.time-slot {
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  font-weight: 500;
}

.time-slot:hover {
  border-color: #3498db;
  background: #f8f9ff;
}

.time-slot.selected {
  border-color: #3498db;
  background: #3498db;
  color: white;
}

.time-slot.unavailable {
  background: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Patient Form */
.patient-form {
  margin: 30px 0;
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.form-section h4 {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 20px;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
  font-size: 14px;
}

.form-group .required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}


/* Validation states (Parsley) */
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid,
.form-group input.parsley-error,
.form-group select.parsley-error,
.form-group textarea.parsley-error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08);
}

/* .form-group input.is-valid,
.form-group select.is-valid,
.form-group textarea.is-valid {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.08);
} */

.parsley-errors-list {
  margin: 6px 0 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.4;
  color: #e74c3c;
}

/* .form-group .parsley-errors-list li::before {
    content: '';
} */


/* Age Notice */
.age-notice {
  background-color: #3498db73;
  border: 1px solid #3498db;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.notice-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.age-notice p {
  margin: 0;
  /* color: #856404; */
  font-size: 14px;
  line-height: 1.4;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  color: #555;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e1e5e9;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark {
  background: #3498db;
  border-color: #3498db;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* Booking Summary */
.booking-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
}

.booking-summary h4 {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item.total {
  font-weight: 600;
  font-size: 16px;
  color: #333;
  border-top: 2px solid #e9ecef;
  padding-top: 15px;
  margin-top: 10px;
}

.summary-item .label {
  color: #666;
}

.summary-item .value {
  color: #333;
  font-weight: 500;
}

/* Payment Section */
.payment-section {
  margin: 30px 0;
}

#payment-element {
  padding: 20px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e1e5e9;
  margin-bottom: 20px;
}

/* Step Actions */
.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e9ecef;
}

.btn {
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

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

.btn-primary {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #2980b9, #1f5f8b);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover:not(:disabled) {
  background: #5a6268;
  transform: translateY(-1px);
}

/* Loading and Messages */
.wizard-loading,
.wizard-error,
.wizard-success {
  text-align: center;
  padding: 60px 40px;
  display: none;
}

.wizard-loading {
  color: #3498db;
}

.wizard-error {
  color: #e74c3c;
}

.wizard-success {
  color: #27ae60;
}

.error-icon,
.success-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.wizard-error h3,
.wizard-success h3 {
  margin: 0 0 15px 0;
  font-size: 24px;
  font-weight: 600;
}

.wizard-error p,
.wizard-success p {
  margin: 0 0 20px 0;
  font-size: 16px;
  line-height: 1.5;
}

.booking-details {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 20px;
  margin-top: 20px;
  text-align: left;
}

.booking-details p {
  margin: 0;
  font-size: 14px;
}

.booking-reference {
  font-family: monospace;
  background: #e9ecef;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}








/* Booking popup CSS starts here */

.book-appointment-popup {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #fff;
  z-index: 111111;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100lvh;
  min-height: 100svh;
  padding: 40px;
  overflow: auto;
}
.book-appointment-popup .wizard-alert { padding: 10px !important; margin: 0 0 5px 0 !important; }
.book-appointment-popup .wizard-alert p { margin-bottom: 0px;}
.book-appointment-popup.has-error .popup_left { min-height: calc(100dvh - 250px); }
/* .book-appointment-popup .wizard-alert { display: flex !important; } */

.booking_forms_process_steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.booking_forms_process_steps .step {
  text-align: center;
  opacity: 0.5;
}

.booking_forms_process_steps .step.done,
.booking_forms_process_steps .step.active {
  opacity: 1;
}

.booking_forms_process_steps .step .step-number {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E5E5E5;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  margin-right: 8px;
  margin-bottom: 0px;
}

.booking_forms_process_steps .step.done .step-number,
.booking_forms_process_steps .step.active .step-number {
  background: #1963dd;
  color: #fff;
}

.booking_forms_process_steps .step .step-label {
  font-size: 16px;
  color: #000;
  white-space: nowrap;
}

.booking_forms_process_steps .step.active .step-label {
  font-weight: 600;
}

.booking_form_step {
  display: none;
}

.booking_forms_process_steps .step:after {
  display: none !important;
}

.popup_header_close button {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  border: 1px solid rgb(217 217 217 / var(--tw-border-opacity, 1)) !important;
  border-radius: 8px !important;
  width: 32px;
  height: 32px;
  background: transparent;
  padding-bottom: 3px;
}

.popup_body {
  padding: 50px 15px 20px;
  max-width: 1120px;
  margin: auto;
}

.popup_footer_copyright {
  max-width: 1120px;
  margin: 0 auto 30px;
  padding: 0 15px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 600;
}

.popup_left {
  max-width: 70%;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 25px 25px 90px 25px;
  min-height: calc(100dvh - 200px);
  position: relative;
  /* background-color: yellow; */
}

.popup_footer {
  position: absolute;
  width: calc(100% - 50px);
  right: 25px;
  bottom: 25px;
}

.popup_title {
  margin-bottom: 0px;
  font-weight: 600;
  color: #000;
  font-size: 20px;
  font-size: 22px;
}

.popup_right {
  max-width: 30%;
  width: 100%;
  padding: 10px;
  margin-left: 20px;
  max-height: calc(100dvh - 250px);
  overflow: auto;
}

.popup_left_inner .payment-section {
  overflow: auto;
  max-height: calc(100dvh - 460px);
  width: calc(100% + 10px);
  padding-right: 10px;
}

.summary_details {
  padding-top: 20px;
}

.summary_title {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  font-weight: bold;
}

.summary_price {
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.summary_main {
  font-size: 20px !important;
  line-height: 28px !important;
  color: #000;
  font-weight: 600;
}

.summary_desc {
  color: rgb(102, 102, 102);
}

.input_border_box {
  height: 55px;
  border: 1px solid #e5e7eb;
  width: 100%;
  border-radius: 10px;
  position: relative;
}

.input_border_box.is-invalid {
  margin-bottom: 30px !important;
  /* display: flex;
  flex-direction: column; */ 
}
.input_border_box.dropdown_box.is-invalid{
  display: flex;
  flex-direction: column;
}
.input_border_box.dropdown_box.is-invalid ul.parsley-errors-list {
  order: 5;
}

.input_border_box.focus {
  border-color: #1963dd;
}

.input_border_box input {
  width: 100%;
  height: 100%;
  border: 0px;
  background: transparent;
  padding: 10px;
}

.input_border_box .practitioner_search_input {
  padding-left: 50px;
}

.practitioner_search_icon {
  z-index: 1;
  position: absolute;
  left: 0;
  width: 30px;
  height: 30px;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 10px;
}

.practitioner_item {
  display: flex;
  width: 100%;
  height: 66px;
  padding: 10px 20px;
  align-items: center;
  box-shadow: unset;
  border: 1px solid #e5e7eb;
  background: transparent;
  outline: none;
  border-radius: 10px;
  margin-bottom: 10px;
  gap: 10px;
  position: relative;
}

.practitioner_icon {
  padding: 3px 6px;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.practitioner_icon svg {
  color: #1963dd;
}

.practitioner_info {
  text-align: left;
}

.appointment_time,
.appointment_date,
.practitioner_name {
  font-size: 16px;
  font-weight: bold;
}

.practitioner_designation {
  font-size: 14px;
  font-weight: 600;
  color: #999;
}

.practitioner_item.active {
  border: 1px solid rgb(25, 99, 221);
  background: rgba(25, 99, 221, 0.1);
}

.practitioner_check {
  position: absolute;
  right: 15px;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 30px;
}

.practitioner_list {
  overflow: auto;
  max-height: 23vh;
  max-height: calc(100dvh - 500px);
  padding-right: 10px;
  width: calc(100% + 10px);
  margin: 10px 0;
}

.next-step-btn {
  background: #1963dd;
  color: #fff;
  border: none;
  padding: 10px 20px 12px;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
}

.popup_footer_actions {
  display: flex;
  justify-content: flex-end;
}

.simple_arrow_btn {
  border: 0px;
  background: transparent;
  margin-right: 5px;
}

.secure_payment.summary_title,
.secure_payment.summary_title svg {
  color: rgb(102, 102, 102);
}

.date_calender {
  display: flex;
  flex-direction: row;
  gap: 10px;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.date_calender * {
  -webkit-tap-highlight-color: transparent;
}

.date_calender .slick-slide {
  margin: 5px;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.date_calender .slick-list {
  overflow: hidden;
  position: relative;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.date_calender .slick-track {
  display: flex;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.date_btn {
  border: 1px solid #e5e7eb;
  background: transparent;
  border-radius: 10px;
  padding: 10px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: calc(100% - 10px);
  width: 100%;
}

.date_day,
.date_number {
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  width: 100%;
  color: #000 !important;

}

.price {
  background: #f6f6f6;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: #777;
}

.price span {
  color: #000;
}

.today_date {
  display: none;
}

.date_btn.active .today_date {
  display: block;
}

.date_btn.active .price span {
  color: #fff;
}

.today_date {
  font-size: 14px;
  font-weight: bold;
  color: rgb(25, 99, 221);
  margin-bottom: 10px;
  width: 100%;
}

.date_info {
  width: 100%;
}

.appointment_location {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}

.date_btn .price {
  width: 100%;
}

.date_btn.active {
  border: 1px solid rgb(25, 99, 221);
  background: rgba(25, 99, 221, 0.1);
}

.date_btn.active .price {
  background: rgb(25, 99, 221);
  color: #fff;
}

.all_day_filter>button {
  display: flex;
  align-items: center;
  border: 0px;
  background: transparent;
}

.all_day_filter>button svg {
  position: relative;
  top: 2px;
  left: 5px;
}

.all_day_filter button {
  padding: 0 !important;
  width: auto !important;
  min-width: auto;
  color: #000 !important;
  box-shadow: unset !important;
  border: 0px !important;
  outline: 0px !important;
}

.dropdown2.dropdown-menu {
  padding: 0px;
}

.dropdown2.dropdown-menu li a {
  border-bottom: 1px solid #cccccc50;
  padding: 5px 10px;
  width: 100%;
  display: inline-block;
  color: #333;
}

.dropdown2.dropdown-menu li a:hover {
  background: #f5f5f5;
  text-decoration: none;
}

.dropdown2.dropdown-menu li:last-child a {
  border-bottom: 0px;
}

.all_day_filter button:hover {
  outline: none !important;
  background: transparent !important;
}

.all_day_filter button:after {
  display: none;
}

.time_price_listing {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  overflow: auto;
  height: 100%;
  max-height: calc(100dvh - 630px);

}

.time_price_listing.compact-time-list {
  max-height: 165px;
}

.time_price_listing li {
  width: calc(33.33% - 10px);
}

.sbs-compact-booking .time_price_listing li {
  width: calc(50% - 10px);
}

.time button {
  width: 100%;
  border: 1px solid #e5e7eb;
  background: transparent;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 600;
}

.time.active button {
  width: 100%;
  border: 1px solid rgb(25, 99, 221);
  background: rgba(25, 99, 221, 0.1);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 10px 12px;
}

.time button>div:last-child {
  background: #f6f6f6;
  border-radius: 20px;
  padding: 7px 10px;
}

.time.active button>div:last-child {
  background: rgba(25, 99, 221, 0.2);
  color: rgb(25, 99, 221);
}

.patient_info {
  display: flex;
  align-items: flex-start;
  background: rgba(25, 99, 221, 0.1);
  padding: 15px;
  border-radius: 6px;
}

.patient_icon {
  position: relative;
  top: -4px;
  margin-right: 10px;
}

.patient_icon svg {
  color: rgb(25, 99, 221)
}

.patient_text {
  font-size: 14px;
  font-size: 15px;
  line-height: 21px;
}


.input_border_box.textarea_box {
  height: auto;
}

.patient_form {
  margin-top: 20px;

}

.scroll_box {
  max-height: calc(100dvh - 425px);
  overflow: auto;
  overflow-x: hidden;
  width: calc(100% + 10px);
  padding-right: 10px;
}

.patient_form .input_border_box {
  margin-bottom: 15px;
  border-radius: 6px;
}

.patient_form .input_border_box label {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 14px;
  left: 15px;
  font-weight: bold;
  color: #666;
  height: 18px;
}

.input_border_box input {
  padding-left: 15px;
}

.input_border_box.textarea_box textarea {
  width: 100%;
  border: 0px;
  background: transparent;
  padding: 15px;
}

.input_border_box.textarea_box label {
  bottom: unset;
  top: 15px;
  max-width: calc(100% - 30px);
}

.input_border_box select {
  padding-left: 15px;
  width: calc(100% - 10px);
  height: 100%;
  background: transparent;
  border: 0px;
  font-size: 14px;
  font-weight: bold;
  color: #666;
  padding-right: 15px;
  margin-right: 10px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline-color: #1963dd;
  outline: none;
}



input[type=date]:invalid+label:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
}

input[type=date]:focus:invalid+label:after {
  display: none;
}

input:not(:focus):not(.wpcf7-form-control):invalid {
  color: transparent;
}

.custom_checkbox {
  position: relative;
}

.custom_checkbox input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.custom_checkbox label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: #666;
  font-weight: bold;
  margin-bottom: 15px;
}

.custom_checkbox label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
}

.custom_checkbox input:checked~label:before {
  background: #1963dd;
  border-color: #1963dd;
}

.custom_checkbox label:after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}

.custom_checkbox input:checked~label:after {
  display: block;
}

.border_bottom {
  border-bottom: 1px solid #eee;
}

.payment_summary_title {
  font-size: 16px;
  font-weight: 600;
  color: #666;
}

.payment_summary_price {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.total_payment {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-top: 10px;
}

.total_price {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-top: 10px;
}

.discount_code_box form {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 5px 10px;
}

.discount_code_box form input {
  border: 0px;
  background: transparent;
  width: calc(100% - 100px);
  height: 40px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: bold;
  color: #666;
}

.discount_code_box form button {
  border: 0px;
  background: transparent;
  color: #666;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  margin-left: 10px;
  cursor: pointer;
}

.slick-arrow.slick-next {
  right: -15px;
  z-index: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.slick-arrow.slick-next::before {
  content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBjbGFzcz0iZG9ic3ctdGV4dC1ibGFjayI+PHBhdGggZD0iTTguNSA1TDE1LjUgMTJMOC41IDE5IiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjwvc3ZnPg==);
}

.slick-arrow.slick-prev {
  left: -20px;
  z-index: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.slick-arrow.slick-prev::before {
  content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBjbGFzcz0iZG9ic3ctdGV4dC1ibGFjayI+PHBhdGggZD0iTTE1LjUgMTlMOC41IDEyTDE1LjUgNSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvcGF0aD48L3N2Zz4gIA==);
}

button:hover,
a:hover {
  cursor: pointer;
}

.input_border_box input,
.input_border_box select,
.input_border_box textarea {
  font-size: 16px;
  color: #000;
  font-weight: 600;
}

.patient_form .input_border_box.filled input {
  padding-top: 17px;
  padding-bottom: 5px;
}

.patient_form .input_border_box.filled input[type="date"] {
  background: #fff !important;
  /* background: orange !important;
  padding-top: 20px !important;
  line-height: 60px !important;
  padding-bottom: 0px !important; */
}

.patient_form .input_border_box.filled label {
  bottom: unset;
  top: 6px;
  font-size: 12px;
  color: rgb(102, 102, 102);
  font-weight: 600;
  line-height: 12px;
}

.patient_form .input_border_box.filled textarea {
  padding-top: 24px;
}

.hold-badge {
  padding: 7px;
  margin-bottom: 32px;
  width: 100%;
  border-radius: 20px;
  text-align: center;
}

.badge-dot {
  margin-right: 4px !important;
  position: relative;
  top: -1px;
}

.hold-text {
  font-size: 14px;
}

/* Booking popup CSS end here */
.sbs-compact-booking,
.semble-booking-wizard {
  max-width: 482px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 24px;
  background-color: #fff;
}

.compact-practitioner-wrap,
.services-selection_search_wrap {
  width: 100%;
  border-radius: 8px;
  height: 48px;
  padding: 0px;
  margin-bottom: 20px;
  display: flex;
  position: relative;
  justify-content: flex-start;
  align-items: center;
}

.compact-practitioner-wrap select:focus,
.services-selection_search_wrap>input:focus {
  border-color: #1963dd;
}

.compact-practitioner-wrap select,
.services-selection_search_wrap>input {
  width: 100%;
  padding: 7px 10px 10px 53px;
  border: 0px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid #ccc;
  height: 48px;
}

.compact-practitioner-wrap select {
  background: transparent;
  padding-left: 15px;
  margin-right: 10px;
  font-size: 16px;
  font-weight: 600;
}

.services-selection_search_icon {
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 30px;
}

.services-list .service-item h4 {
  margin: 0px;
  color: #000;
  font-size: 16px;
  font-size: 17px;
}

.practitioner_search_wrap.input_border_box.filled {
  border-color: #1963dd;
}

.services-selection .service-item,
.doctor-item {
  border: 1px solid rgb(25, 99, 221);
  border: 1px solid rgb(229, 231, 235);
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  margin-right: 10px;
}

.services-selection .service-item.selected,
.doctor-item.selected {
  box-shadow: unset;
  border: 1px solid rgb(25, 99, 221);
  background-color: #1963dd20;
}

.services-selection .services-list {
  max-height: 300px;
  overflow: auto;
}

.sbs-compact-booking .compact-actions,
.semble-booking-wizard .step-actions {
  margin-top: 0px !important;
  padding-top: 0px;
  border: 0;
}

.popup_footer #submit-payment,
.sbs-compact-booking .compact-actions>button,
.semble-booking-wizard .step-actions>button {
  width: 100%;
  background: rgb(25, 99, 221);
}

.practitioner_check svg {
  color: #1963dd;
}

.semble_booking_header {
  margin-bottom: 10px;
}

.semble_booking_header h2 {
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin-bottom: 2px;
}

.semble_booking_header label {
  font-size: 16px;
  color: rgb(128, 128, 128);
  font-weight: 600;
}

.shadow_box {
  position: relative;
}

.shadow_box::before {
  /* content: ""; */
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 56px;
  pointer-events: none;
  background-image: linear-gradient(to top, #ffffff00, #fff);
}

body.appointment-modal-open {
  overflow: hidden;
}

body.appointment-modal-open .site-header {
  z-index: 0 !important;
}

.sbs-compact-booking {}

.date_calender_sm {
  margin-bottom: 16px;
}

.compact-date-wrap .slick-list {
  padding-left: 3px;
  overflow: hidden;
  position: relative;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.compact-date-wrap .slick-track {
  display: flex;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.compact-date-wrap .slick-slide {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hold-expired-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 9999;
}

.hold-expired-modal-inner {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  width: 388px;
  max-width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.hold-expired-modal-inner p {
  font-size: 16px;
  color: #000;
  font-weight: 600;
  margin: 15px 0 30px;
}

.hold_title svg {
  color: #1963dd;
}

.hold_title span {
  display: block;
  width: 100%;
  font-weight: bold;
  font-size: 20px;
  color: #000;
  margin-top: 20px;
}

.hold-expired-modal-inner button.btn-primary {
  width: 100%;
  background: #1963dd;
}

.button_group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.button_group .btn-secondary {
  background: transparent;
  color: #333;
  padding: 8px 28px;
}

.button_group .btn-secondary:hover {
  background-color: transparent !important;
  color: #000;
}

.terms_and_condition {
  font-size: 14px !important;
  line-height: 20px !important;
  color: rgba(0, 0, 0, 0.6) !important;
  font-weight: 600;
  margin-top: 12px;
}

.terms_and_condition a {
  text-decoration: underline;
  color: rgba(0, 0, 0, 0.8) !important;
}

.popup_right_inner~.popup_right_inner {
  margin-top: 30px;
}

::placeholder {
  color: #666 !important;
}

body>.select2-container.select2-container--default.select2-container--open {
  z-index: 1111111;
  padding-top: 10px;
  background: transparent !important;
  border: 0px;
}

span.select2.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  border-radius: 6px;
  height: 53px;
  border: 0px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 53px;
  line-height: 53px !important;
  font-size: 16px;
  color: #000;
  font-weight: 600;
  padding-left: 15px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 51px !important;
  right: 8px !important;
}

.select2-results__option--selectable {
  font-size: 16px !important;
  font-weight: 600;
}

.d-none.visible {
  display: block !important;
}

.patient_form .input_border_box.value_add label {
  bottom: unset;
  top: 6px;
  font-size: 12px;
  color: rgb(102, 102, 102);
  font-weight: 600;
}

.input_border_box.value_add .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 63px !important;
}

.select2-container .select2-selection--single {
  height: 53px !important;
}

.iti.iti--allow-dropdown.iti--separate-dial-code.iti--show-flags {
  height: 53px;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: transparent !important;
}

.select2-selection__rendered {
  line-height: 53px !important;
}

.select2-container .select2-selection--single {
  height: 53px !important;
}

.select2-selection__arrow {
  height: 53px !important;
}

.patient_form .input_border_box.phone-wrapper input {
  padding-top: 20px !important;
  padding-bottom: 0px !important;
}

.patient_form .input_border_box.phone-wrapper label {
  bottom: unset !important;
  top: 6px !important;
  font-size: 12px !important;
  color: rgb(102, 102, 102) !important;
  font-weight: 600 !important;
}

.iti--allow-dropdown .iti__flag-container,
.iti--separate-dial-code .iti__flag-container {
  right: auto !important;
  left: 0 !important;
  height: 25px !important;
  top: unset !important;
  bottom: 4px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.iti__selected-flag .iti__flag.iti__gb {
  opacity: 0 !important;
}

.iti__country-list {
  width: 320px;
  border-radius: 6px;
  margin-top: 11px !important;

}

.iti__country-name {
  white-space: wrap;
}

.select2-dropdown {
  background-color: white;
  border: 1px solid #e5e7eb !important;
  border-radius: 4px;
  border-radius: 6px !important;
}

button.summary_btn.border-button {
  border: 1px solid #1963dd;
  padding: 10px 16px;
  line-height: 10px;
  height: 44px;
  border-radius: 6px;
  margin-right: 10px;
  /* margin: 0px !important; */
  /* float: right; */
  color: #1963dd;
  background: #fff;
  display: none;
  margin-top: 20px;
}

.success-booking-card {
  background: #f0f5ff;
}

.success-booking-card {
  /* display: none; */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 111;
  height: 100%;
}

.success-booking-card-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  align-items: center;
  align-self: center;
  box-shadow: 0 0 10px 5px #cccc;
  border-radius: 24px;
  padding: 50px;
  background: #fff;
}

.success-booking-card-inner .icon {
  width: 40px;
  height: 40px;
  display: flex;
  border: 2px solid green;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  color: green;
  background: rgba(0, 128, 0, 0.1);
  position: relative;
}

.success-booking-card-inner .icon:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(0, 128, 0, 0.1);
  left: -21px;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border-radius: 100%;
}


.success-booking-card-inner h2 {
  font-weight: bold;
  color: #008000;
  margin-top: 40px;
}

.notes {
  margin-top: 15px;
}

.success-booking-card-inner p {
  margin-bottom: 5px;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.success-booking-card-inner p strong {
  font-weight: bold;
  margin: 0px !important;

}

.success-booking-card-inner strong {
  margin: 10px auto !important;
  display: inline-block;
  font-size: 20px;
}

.success-booking-card-inner p>a {
  text-decoration: underline;
}

.success-booking-card-inner a.btn {
  border: 2px solid #1963dd;
}

.success-booking-card-inner a.btn:hover {
  background-color: #fff;
}

.practitioner_icon img {
  width: 100%;
}

span.practitioner_icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practitioner_icon.has-picture {
  padding: 0px;
  overflow: hidden;
}

.practitioner_icon {
  min-width: 42px;
  min-height: 42px;
  width: 42px;
  height: 42px;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.practitioner_item.active .practitioner_icon {
  background: #1963dd20;
}

.compact-practitioner-select~.select2.select2-container {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}

.compact-practitioner-select~.select2.select2-container.select2-container--open {
  border: 1px solid #1963dd;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #e5e7eb !important;
}

.sbs-compact-booking .select2-selection__arrow>b {
  display: none;
}

.sbs-compact-booking .select2-selection__arrow {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBjbGFzcz0iZG9ic3ctbWwtMiBkb2Jzdy1tdC0xIGRvYnN3LWgtWzE2cHhdIGRvYnN3LXctWzE2cHhdIGRvYnN3LWN1cnNvci1wb2ludGVyIGRvYnN3LXJvdGF0ZS0xODAiPjxwYXRoIGQ9Ik01LjQ3MDMgOC43ODE0NUM1Ljc2MzI3IDkuMDc0NDEgNi4yMzkwNSA5LjA3NDQxIDYuNTMyMDIgOC43ODE0NUwxMS4wMzIgNC4yODE0NUMxMS4zMjUgMy45ODg0OCAxMS4zMjUgMy41MTI3IDExLjAzMiAzLjIxOTczQzEwLjczOTEgMi45MjY3NiAxMC4yNjMzIDIuOTI2NzYgOS45NzAzIDMuMjE5NzNMNS45OTk5OSA3LjE5MDA0TDIuMDI5NjggMy4yMjIwN0MxLjczNjcxIDIuOTI5MSAxLjI2MDkzIDIuOTI5MSAwLjk2Nzk1NyAzLjIyMjA3QzAuNjc0OTg4IDMuNTE1MDQgMC42NzQ5ODggMy45OTA4MiAwLjk2Nzk1NyA0LjI4Mzc5TDUuNDY3OTYgOC43ODM3OUw1LjQ3MDMgOC43ODE0NVoiIGZpbGw9ImN1cnJlbnRDb2xvciI+PC9wYXRoPjwvc3ZnPg==) no-repeat center center;
}

.compact-practitioner-select~.select2.select2-container.select2-container--open .select2-selection__arrow {}

.select2-results__option {
  font-size: 17px;
  padding-left: 12px;
}

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

.custom_select_box ul.parsley-errors-list {
  order: 3;
}

.custom_checkbox.is-invalid>label {
  margin-bottom: 0px;
}

.custom_checkbox.is-invalid+ul.filled {
  margin-top: 0px;
  margin-bottom: 12px;
  padding-left: 30px;
}

.success-booking-card>div {
  max-height: 100dvh;
  overflow: auto;
}

.success-booking-card-inner {
  margin: 100px auto 20px;
}

/* .appointment-modal-open .single-page-banner-section.single-banner-has-video { z-index: 11111 !important; position: relative; height: 100vh !important; background-color: red; }
.appointment-modal-open  .section-animated-heading { z-index: 0 !important;  position: relative; opacity: 0 !important;}
.appointment-modal-open .whatsapp-button-wrapper.position-fixed,
.appointment-modal-open .consultation-section { z-index: 0 !important; position: relative; opacity: 0 !important; } */


/* Responsive Design */
@media (max-width:1024px) {
  .popup_header {
    flex-wrap: wrap;
  }

  .book-appointment-popup {
    padding: 20px;
    overflow: hidden;
  }

  .progress-steps {
    width: 100%;
    max-width: 100%;
    order: 1;
  }

  .popup_header_steps {
    width: 100%;
    padding-top: 15px;
  }

  .progress-steps .step {
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: calc(25% - 6px);
  }

  .booking_forms_process_steps {
    gap: 0;
    justify-content: flex-start;
  }

  .booking_forms_process_steps .step .step-label {
    display: none;
  }

  .progress-steps .step {
    position: relative;
  }

  .progress-steps .step:before {
    content: "";
    position: absolute;
    width: calc(100% - 36px);
    height: 1px;
    background-color: #333;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 28px;
  }

  .progress-steps .step:last-child:before {
    display: none;
  }

  .popup_body {
    flex-direction: column;
    padding: 30px 0 15px;
  }

  .popup_left,
  .popup_right {
    max-width: 100%;
    width: 100%;
  }

  .popup_right {
    display: none;
    position: absolute;
    background: #fff;
    width: 100%;
    left: 0;
    z-index: 1;
    max-width: 100%;
    bottom: 0;
    margin: 0;
    padding: 40px;
    box-shadow: 0 0 8px 3px #E3E3E3;
  }

  .popup_right {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1), opacity 0.3s;
    opacity: 0;
  }

  .popup_right.slide-up.visible {
    transform: translateY(0);
    opacity: 1;
  }

  .date_btn {
    min-width: calc(100% - 5px);
  }

  button.summary_btn.border-button {
    display: block;
  }

  .popup_footer_copyright {
    padding-left: 0px;
  }



  /* .booking_forms_process_steps .step { opacity: 1;} */
}


@media (max-width:840px) {
  .success-booking-card-inner {
    max-width: calc(100vw - 40px);
  }
}

@media (max-width: 768px) {
  .patient_form .input_border_box.filled textarea {padding-top: 30px;}
  /* .popup_footer #submit-payment, .sbs-compact-booking .compact-actions > button, .semble-booking-wizard .step-actions > button */
  .sbs-compact-booking .compact-actions>button {
    max-width: 100%;
  }

  .popup_left {
    padding: 15px 15px 90px 15px;
  }

  .success-booking-card-inner {
    padding: 50px 15px;
  }

  .patient_form .col-6 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .semble-booking-wizard {
    padding: 15px;
  }

  .wizard-progress {
    padding: 20px;
  }

  .progress-steps {
    flex-direction: column;
    gap: 20px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .wizard-step {
    padding: 20px;
  }

  .step-content h3 {
    font-size: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .time-slots {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .step-actions {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
  .patient_form .summary_title ~ .custom_checkbox { max-width: 145px;}
  .patient_form .summary_title ~ .custom_checkbox label{ font-size: 13px; line-height: 12px; margin-bottom: 10px; }

  #payment-element { margin-bottom: 10px; padding: 0px 20px 20px 20px;}
  #payment_details .secure_payment.summary_title {padding-left: 22px;}
  #payment_details .top_title_box {margin-bottom: 15px !important;flex-direction: column;justify-content: flex-start !important;align-items: flex-start !important;}
  #payment_details .step-actions {gap: 5px; }
  #payment_details .terms_and_condition{ margin-top: 0px; }
  #payment_details .step-actions{ padding-top: 10px; border-top:0px; margin-top: 10px;}
  #payment_details button.summary_btn.border-button{ margin-right: 0; margin-top: 0px; width: 100%;}
  #payment_detail.popup_left_inner .payment-section {max-height: calc(100dvh - 510px);padding-right: 10px; margin :10px 0;}
}


@media (max-width:575px) {
  .date_btn {
    /* min-width: 100%; */
  }

  .popup_left {
    padding: 10px 10px 70px 10px;
  }

  .popup_footer {
    bottom: 15px;
  }

  .wizard-step {
    padding: 10px 15px;
  }

  .top_title_box {
    margin-bottom: 15px !important;
  }

  .time_price_listing {
    max-height: calc(100dvh - 560px);
  }

  .scroll_box {
    max-height: calc(100dvh - 385px);
  }

  .time_price_listing li {
    width: calc(50% - 10px);
  }

  .simple_arrow_btn {
    padding-left: 0px;
    padding-right: 0px;
  }

  .popup_title {
    font-size: 18px;
  }

  .date_btn {
    padding: 10px 6px;
  }

}

@media (max-width: 480px) {
  .wizard-progress {
    padding: 15px;
  }

  .wizard-step {
    padding: 15px;
  }

  .step-content h3 {
    font-size: 20px;
  }

  .services-list,
  .doctors-list {
    gap: 10px;
  }

  .service-item,
  .doctor-item {
    padding: 15px;
  }

  .time-slots {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
  }

  .time-slot {
    padding: 10px 12px;
    font-size: 14px;
  }

  button.summary_btn.border-button {
    padding: 10px 15px;
  }

  .next-step-btn {
    padding: 10px 16px 12px;
  }
}

/* Accessibility */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.btn:focus {
  /* outline: 2px solid #3498db;
    outline-offset: 2px; */
  outline: 0px solid #3498db;
  outline-offset: 0px;
  box-shadow: unset !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .wizard-container {
    border: 2px solid #000;
  }

  .service-item,
  .doctor-item,
  .time-slot {
    border: 2px solid #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  .progress-fill,
  .step-number,
  .service-item,
  .doctor-item,
  .time-slot,
  .btn,
  .form-group input,
  .form-group select,
  .form-group textarea {
    transition: none;
  }

  .spinner {
    animation: none;
  }
}










.wizard-alert {
  position: relative;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 0.95rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeIn 0.25s ease;
}

.wizard-alert-error {
  background: #fdecea;
  border: 1px solid #f5c2c7;
  color: #842029;
}

.wizard-alert-close {
  margin-left: 12px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  color: #842029;
  border: none;
  background: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.wizard-alert-success {
  background: #f0fdf4;
  /* border-left: 4px solid #28a745; */
  color: #1e4620;
}


.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

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



/* Base button style for loading */
.time button.loading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background-color: #f0f0f0;
  position: relative;
  overflow: hidden;
  pointer-events: none;
  /* Disable clicks while loading */
  color: transparent;
  /* Hide actual text */
}

/* Skeleton blocks inside the button */
.time button.loading .skeleton-time,
.time button.loading .skeleton-price {
  background: #e0e0e0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

/* Time placeholder on left */
.time button.loading .skeleton-time {
  width: 60px;
  height: 20px;
}

/* Price placeholder on right (like the bubble) */
.time button.loading .skeleton-price {
  width: 40px;
  height: 24px;
  border-radius: 20px;
}

/* Shimmer animation */
.time button.loading .skeleton-time::after,
.time button.loading .skeleton-price::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  width: 150px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  animation: loading-shimmer 1.2s infinite;
}

@keyframes loading-shimmer {
  0% {
    left: -150px;
  }

  100% {
    left: 100%;
  }
}

/* Past time slot styling - UK timezone filtering */
.time_price_listing li.time.past-time,
.compact-time-list li.time.past-time {
  opacity: 0.4;
  pointer-events: none;
  position: relative;
}

.time_price_listing li.time.past-time button,
.compact-time-list li.time.past-time button {
  cursor: not-allowed;
  background-color: #f5f5f5;
  color: #999;
}

.time_price_listing li.time.past-time::after,
.compact-time-list li.time.past-time::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

/* Disabled date buttons (no availability) */
.date_btn.no-availability,
.compact-date-calender .date_btn.no-availability,
.date_btn:disabled,
.compact-date-calender .date_btn:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background-color: #f5f5f5 !important;
}

/* No availability indicator on date buttons (doctor off days) - deprecated, using disabled state instead */
.date_btn .no-slots-indicator,
.compact-date-calender .date_btn .no-slots-indicator {
  font-size: 11px;
  color: #999;
  display: block;
  margin-top: 5px;
  text-align: center;
  font-weight: 500;
}

.date_btn[style*="opacity: 0.6"],
.compact-date-calender .date_btn[style*="opacity: 0.6"] {
  cursor: default;
}

/* Smooth slider transitions */
.date_calender .slick-track,
.compact-date-calender .slick-track {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.date_calender .slick-slide,
.compact-date-calender .slick-slide {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}









/* Skeleton button for carousel slides */
.date_btn.loading {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 120px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background-color: #f0f0f0;
  position: relative;
  overflow: hidden;
  pointer-events: none;
  color: transparent;
  width: 100%;
  /* make it fill the slide container */
  box-sizing: border-box;
}


/* Day & date skeletons */
.date_btn.loading .skeleton-date_day,
.date_btn.loading .skeleton-date_number {
  width: 60px;
  height: 16px;
  border-radius: 8px;
  background: #e0e0e0;
  margin-bottom: 5px;
  position: relative;
  overflow: hidden;
}

/* Price bubble skeleton */
.date_btn.loading .skeleton-price {
  width: 60px;
  height: 24px;
  border-radius: 50px;
  background: #e0e0e0;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

/* Shimmer animation for all skeleton parts */
.date_btn.loading .skeleton-today_date::after,
.date_btn.loading .skeleton-date_day::after,
.date_btn.loading .skeleton-date_number::after,
.date_btn.loading .skeleton-price::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  width: 150px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  animation: loading-shimmer 1.2s infinite;
}

@keyframes loading-shimmer {
  0% {
    left: -150px;
  }

  100% {
    left: 100%;
  }
}

/* Past time slot styling - UK timezone filtering */
.time_price_listing li.time.past-time,
.compact-time-list li.time.past-time {
  opacity: 0.4;
  pointer-events: none;
  position: relative;
}

.time_price_listing li.time.past-time button,
.compact-time-list li.time.past-time button {
  cursor: not-allowed;
  background-color: #f5f5f5;
  color: #999;
}

.time_price_listing li.time.past-time::after,
.compact-time-list li.time.past-time::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

/* Disabled date buttons (no availability) */
.date_btn.no-availability,
.compact-date-calender .date_btn.no-availability,
.date_btn:disabled,
.compact-date-calender .date_btn:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background-color: #f5f5f5 !important;
}

/* No availability indicator on date buttons (doctor off days) - deprecated, using disabled state instead */
.date_btn .no-slots-indicator,
.compact-date-calender .date_btn .no-slots-indicator {
  font-size: 11px;
  color: #999;
  display: block;
  margin-top: 5px;
  text-align: center;
  font-weight: 500;
}

.date_btn[style*="opacity: 0.6"],
.compact-date-calender .date_btn[style*="opacity: 0.6"] {
  cursor: default;
}

/* Smooth slider transitions */
.date_calender .slick-track,
.compact-date-calender .slick-track {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.date_calender .slick-slide,
.compact-date-calender .slick-slide {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Fix date button layout */
.date_calender .date_btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    height: auto;
    min-height: 120px;
    position: relative;
    box-sizing: border-box;
}

.date_calender .date_info {
    margin-bottom: 8px;
}

.date_calender .date_day {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.date_calender .date_number {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.date_calender .price {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    font-size: 12px;
    color: #3C6F9A;
    padding: 0 5px;
    white-space: normal;
    line-height: 1.3;
}

/* Active state */
.date_calender .date_btn.active {
    border-color: #3C6F9A;
    background: #f0f7ff;
}

.date_calender .date_btn.active .price {
    color: #2a5a8a;
    font-weight: 600;
}

/* Disabled state */
.date_calender .date_btn.no-availability {
    opacity: 0.5;
    cursor: not-allowed;
}

.date_calender .date_btn.no-availability .price {
    color: #999;
}

/* Slick slider fixes */
.date_calender.slick-slider .slick-slide {
    padding: 0 5px;
}

.date_calender.slick-slider .date_btn {
    margin: 0 auto;
    max-width: 100px; /* Adjust based on your design */
}