
  * {
    box-sizing: border-box;
  }

  body, html {
    width: 100%;
    overflow-x: hidden;
  }

  #notificationContainer .notification-title {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
  }

  #notificationContainer .notification-message {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    opacity: .85;
  }

  #notificationContainer .notification-close {
    position: static;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    padding: 4px;
    border: 0;
    background: none;
    color: #999;
    font-size: 18px;
    opacity: .6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
  }

  /* ============ MAIN CONTAINER ============ */
  .form-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 20px 90px;
    overflow: hidden;
    margin-bottom: 20px;
  }

  @media (min-width: 768px) {
    .form-container {
      width: min(100% - 32px, 720px);
      max-width: 720px;
      margin-inline: auto;
      padding: 24px 32px 90px;
    }
  }

  @media (min-width: 1200px) {
    .form-container {
      width: min(100% - 48px, 760px);
      max-width: 760px;
    }
  }

  /* ============ NOTIFICATION STYLES ============ */
  /* Base Notification */
  .notification {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideInRight 0.4s ease-out;
    backdrop-filter: blur(10px);
    max-width: 500px;
  }

  /* Error Notification */
  .error-notification,
  .notification.error {
    background: linear-gradient(135deg, #fee 0%, #fdd 100%);
    border-left: 4px solid #e74c3c;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.2);
  }

  /* Success Notification */
  .notification.success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 4px solid #4caf50;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.2);
  }

  /* Warning Notification */
  .notification.warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.2);
  }

  /* Info Notification */
  .notification.info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.2);
  }

  .error-notification.show,
  .notification.show {
    animation: slideInRight 0.4s ease-out;
  }

  .error-notification.hide,
  .notification.hide {
    animation: slideOutRight 0.4s ease-out forwards;
  }

  /* Title Styling */
  .error-notification-title,
  .notification-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
  }

  /* Error Title */
  .error-notification-title {
    color: #c0392b;
  }

  /* Success Title */
  .notification.success .notification-title {
    color: #2e7d32;
  }

  /* Warning Title */
  .notification.warning .notification-title {
    color: #e65100;
  }

  /* Info Title */
  .notification.info .notification-title {
    color: #0d47a1;
  }

  /* Message Styling */
  .error-notification-message,
  .notification-message {
    font-size: 13px;
    line-height: 1.4;
  }

  /* Error Message */
  .error-notification-message {
    color: #a93226;
  }

  /* Success Message */
  .notification.success .notification-message {
    color: #1b5e20;
  }

  /* Warning Message */
  .notification.warning .notification-message {
    color: #bf360c;
  }

  /* Info Message */
  .notification.info .notification-message {
    color: #1a237e;
  }

  /* Close Button */
  .error-notification-close,
  .notification-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
  }

  /* Error Close Button */
  .error-notification-close {
    color: #c0392b;
  }

  /* Success Close Button */
  .notification.success .notification-close {
    color: #2e7d32;
  }

  /* Warning Close Button */
  .notification.warning .notification-close {
    color: #e65100;
  }

  /* Info Close Button */
  .notification.info .notification-close {
    color: #0d47a1;
  }
   
  

  /* ============ STEP INDICATOR ============ */
  .step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
  }

  .step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
  }

  .step-item.active .step-number {
    background: linear-gradient(135deg, #004C5C 0%, #003a47 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 76, 92, 0.3);
  }

  .step-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-align: center;
  }

  .step-item.active .step-label {
    color: #004C5C;
  }

  /* ============ FORM STEPS ============ */
  .form-step {
    display: none;
    animation: slideInRight 0.5s ease-out;
  }

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

  .step-header {
    margin-bottom: 25px;
    text-align: center;
  }

  .step-header h2 {
    margin: 0;
    font-size: 22px;
    color: #004C5C;
    font-weight: 700;
  }

  .step-header p {
    margin: 8px 0 0;
    color: #666;
    font-size: 14px;
  }

  /* ============ FORM CONTROLS ============ */
  .input-wrapper {
    margin-bottom: 16px;
    position: relative;
  }

  label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #004C5C;
    font-size: 14px;
  }

  .required-field {
    position: relative;
  }

  .required-field::after {
    content: "*";
    color: #e74c3c;
    margin-left: 2px;
  }

  .form-control,
  .form-select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    color: #333;
  }

  .form-control:focus,
  .form-select:focus {
    outline: none;
    border-color: #004C5C;
    box-shadow: 0 0 0 3px rgba(0, 76, 92, 0.1);
  }

  .form-control::placeholder {
    color: #999;
  }

  .form-select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23004C5C" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
  }

  .validation-icon {
    position: absolute;
    right: 12px;
    top: 38px;
    font-size: 18px;
    display: none;
  }

  .validation-icon.valid {
    display: block;
    color: #27ae60;
  }

  .validation-icon.invalid {
    display: block;
    color: #e74c3c;
  }

  .field-error-message {
    display: none;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 6px;
  }

  .field-error-message.show {
    display: block;
  }

  /* ============ SERVICE DISPLAY ============ */
  .service-display-box {
    padding: 12px 14px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    -webkit-user-select: none;
    user-select: none;
  }

  .service-display-box:hover {
    border-color: #004C5C;
    background: #f0f7f9;
  }

  .service-display-box.selected {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #1b5e20;
    color: #1b5e20;
    font-weight: 600;
  }

  /* ============ SERVICE CAROUSEL ============ */
  .service-carousel-wrapper {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    z-index: 9999;
    animation: slideUpService 0.4s ease-out;
  }

  .service-carousel-wrapper.show {
    display: block;
  }

  .service-carousel-container {
    background: linear-gradient(135deg, #004C5C 0%, #003a47 100%);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 12px 32px rgba(0, 76, 92, 0.3);
  }

  .service-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: white;
    font-weight: 600;
    font-size: 14px;
  }

  .service-carousel-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.2s ease;
    padding: 0;
    width: 30px;
    height: 30px;
  }

  .service-carousel-close:active {
    background: rgba(255, 255, 255, 0.1);
  }

  .service-carousel-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }

  .service-carousel-scroll::-webkit-scrollbar {
    height: 4px;
  }

  .service-carousel-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }

  .service-carousel-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
  }

  .service-card {
    flex: 0 0 auto;
    min-width: 90px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    scroll-snap-align: start;
    -webkit-user-select: none;
    user-select: none;
  }

  .service-card:active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .service-card.selected {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border-color: #fff;
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
  }

  .service-card-icon {
    font-size: 28px;
    margin-bottom: 6px;
    display: block;
  }

  .service-card-name {
    color: white;
    font-size: 11px;
    font-weight: 600;
    word-break: break-word;
    line-height: 1.3;
    margin-bottom: 6px;
    display: block;
  }

  .view-details-link {
    display: block;
    font-size: 10px;
    color: #ffde59;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
    transition: all 0.2s;
  }

  .view-details-link:hover {
    color: #fff;
    transform: scale(1.05);
  }

  /* ============ DOCTOR CAROUSEL ============ */
  .doctor-carousel-wrapper {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    z-index: 9998;
    animation: slideUpService 0.4s ease-out;
  }

  .doctor-carousel-wrapper.show {
    display: block;
  }

  .doctor-carousel-container {
    background: linear-gradient(135deg, #2d5016 0%, #1f3a0d 100%);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 12px 32px rgba(45, 80, 22, 0.3);
  }

  .doctor-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: white;
    font-weight: 600;
    font-size: 14px;
  }

  .doctor-carousel-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.2s ease;
    padding: 0;
    width: 30px;
    height: 30px;
  }

  .doctor-carousel-close:active {
    background: rgba(255, 255, 255, 0.1);
  }

  .doctor-carousel-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }

  .doctor-carousel-scroll::-webkit-scrollbar {
    height: 4px;
  }

  .doctor-carousel-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }

  .doctor-carousel-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
  }

  .doctor-card {
    flex: 0 0 auto;
    min-width: 100px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    scroll-snap-align: start;
    -webkit-user-select: none;
    user-select: none;
  }

  .doctor-card:active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .doctor-card.selected {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border-color: #fff;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
  }

  .doctor-card-icon {
    font-size: 32px;
    margin-bottom: 6px;
    display: block;
  }

  .doctor-card-name {
    color: white;
    font-size: 12px;
    font-weight: 600;
    word-break: break-word;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .doctor-card-spec {
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    font-style: italic;
  }

  /* ============ TIME SLOTS ============ */
  .time-slots-container {
    margin-top: 10px;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 100%);
    border-radius: 6px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    border: 1px solid #e0e8f0;
  }

  .time-slots-container.show {
    display: block;
    animation: slideDown 0.4s ease-out;
  }

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

  .time-slot {
    padding: 8px 6px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 5px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #004C5C;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
  }

  .time-slot:hover {
    border-color: #004C5C;
    background: #f0f7f9;
  }

  .time-slot.selected {
    background: linear-gradient(135deg, #004C5C 0%, #003a47 100%);
    color: white;
    border-color: #004C5C;
  }

  .slots-placeholder {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 13px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px dashed #ddd;
  }

  /* ============ BUTTONS ============ */
  .btn-group {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    margin-bottom: 12px;
  }

  .btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    -webkit-user-select: none;
    user-select: none;
  }

  .btn-primary {
    background: linear-gradient(135deg, #004C5C 0%, #003a47 100%);
    color: white;
    flex: 2;
  }

  .btn-primary:active:not(:disabled) {
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(0, 76, 92, 0.3);
  }

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

  .btn-secondary {
    background: white;
    color: #004C5C;
    border: 2px solid #004C5C;
  }

  .btn-secondary:active {
    background: #f8f9fa;
  }

  /* ============ ADDITIONAL MESSAGE ============ */
  .textarea-wrapper {
    margin-bottom: 16px;
  }

  .form-control-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 80px;
    color: #333;
  }

  .form-control-textarea:focus {
    outline: none;
    border-color: #004C5C;
    box-shadow: 0 0 0 3px rgba(0, 76, 92, 0.1);
  }

  .form-control-textarea::placeholder {
    color: #999;
  }

  /* ============ ANIMATIONS ============ */
  @keyframes slideInRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  @keyframes slideOutRight {
    from {
      transform: translateX(0);
      opacity: 1;
    }
    to {
      transform: translateX(100%);
      opacity: 0;
    }
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 300px;
    }
  }

  @keyframes slideUpService {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

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

  /* ============ MOBILE RESPONSIVE ============ */
  @media (max-width: 480px) {
    .form-container {
      padding: 16px 16px 100px;
    }

    .btn-group {
      margin-bottom: 18px;
    }

    .step-number {
      width: 40px;
      height: 40px;
      font-size: 16px;
    }

    .step-header h2 {
      font-size: 18px;
    }

    .btn {
      font-size: 13px;
      padding: 10px 12px;
    }

    .service-carousel-wrapper {
      left: 12px;
      right: 12px;
      bottom: 16px;
    }

    .error-notification {
      left: 12px;
      right: 12px;
      top: 12px;
      max-width: none;
    }
  }

  /* ============ SERVICE-FIRST PROVIDER SELECTION ============ */
  .appointment-service-grid,
  .appointment-clinic-grid,
  .appointment-doctor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .appointment-service-card,
  .appointment-clinic-card,
  .appointment-doctor-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 35, 50, .06);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  .appointment-service-card:hover,
  .appointment-clinic-card:hover,
  .appointment-doctor-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 118, 128, .45);
    box-shadow: 0 12px 26px rgba(15, 76, 92, .11);
  }

  .appointment-service-card.selected,
  .appointment-clinic-card.selected,
  .appointment-doctor-card.selected {
    border-color: #087985;
    box-shadow: 0 0 0 3px rgba(15, 163, 177, .13), 0 10px 24px rgba(15, 76, 92, .1);
  }

  .appointment-service-image-wrap {
    position: relative;
    display: grid;
    height: 118px;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #e9f8f7, #edf3ff);
  }

  .appointment-service-image { width: 100%; height: 100%; object-fit: cover; }
  .appointment-service-image-wrap.has-placeholder > span {
    color: #087985;
    font-size: 2rem;
  }
  .appointment-service-image.is-logo {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: contain;
    background: #f8fafc;
    padding: 20px;
  }

  .appointment-service-price {
    position: absolute;
    top: 9px;
    right: 9px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    color: #173c43;
    background: rgba(255, 255, 255, .91);
    font-size: .7rem;
    font-weight: 800;
  }

  .appointment-service-card-body { padding: 12px; }
  .appointment-service-card-body h3 {
    overflow: hidden;
    margin: 0 0 6px;
    color: #173c43;
    font-size: .88rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .appointment-service-card-meta { display: flex; justify-content: space-between; gap: 8px; color: #64748b; font-size: .7rem; }
  .appointment-service-card-actions { display: flex; gap: 8px; margin-top: 11px; }
  .appointment-service-card-actions button {
    min-height: 36px;
    flex: 1;
    padding: 7px 9px;
    border: 1px solid #d8e4e8;
    border-radius: 9px;
    color: #15545d;
    background: #f8fbfc;
    font-size: .7rem;
    font-weight: 750;
  }
  .appointment-service-card-actions .appointment-service-choose {
    border-color: #087985;
    color: #fff;
    background: linear-gradient(135deg, #0fa3b1, #087985);
  }

  .booking-selection-note,
  .booking-selection-status {
    grid-column: 1 / -1;
    margin: 0;
    padding: 13px 15px;
    border: 1px dashed #cbd8df;
    border-radius: 12px;
    color: #64748b;
    background: #f8fbfc;
    font-size: .8rem;
    line-height: 1.5;
  }
  .booking-provider-picker[hidden] { display: none !important; }
  .booking-provider-picker .booking-selection-status:empty { display: none; }
  .appointment-clinic-grid,
  .appointment-doctor-grid { margin-top: 11px; }
  .appointment-clinic-card,
  .appointment-doctor-card {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 11px;
    padding: 12px;
    color: inherit;
    text-align: left;
    cursor: pointer;
  }
  .appointment-clinic-icon,
  .appointment-doctor-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    color: #087985;
    background: #e4f5f3;
  }
  .appointment-doctor-avatar { border-radius: 50%; background: #edf2f7; }
  .appointment-doctor-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .appointment-clinic-card-copy,
  .appointment-doctor-card-copy { min-width: 0; display: grid; gap: 4px; }
  .appointment-clinic-card-copy strong,
  .appointment-doctor-card-copy strong {
    overflow: hidden;
    color: #23384b;
    font-size: .8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .appointment-clinic-card-copy small,
  .appointment-doctor-card-copy small { overflow: hidden; color: #64748b; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }
  .appointment-selection-check {
    display: grid;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    place-items: center;
    margin-left: auto;
    border: 1px solid #d3dce3;
    border-radius: 50%;
    color: transparent;
    font-size: .68rem;
  }
  .appointment-clinic-card.selected .appointment-selection-check,
  .appointment-doctor-card.selected .appointment-selection-check { border-color: #087985; color: #fff; background: #087985; }

  .booking-service-drawer-backdrop {
    position: fixed;
    z-index: 10020;
    inset: 0;
    background: rgba(13, 33, 43, .42);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .25s ease;
  }
  .booking-service-drawer-backdrop.active { opacity: 1; }
  .booking-service-drawer {
    position: fixed;
    z-index: 10021;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(440px, 100vw);
    overflow-y: auto;
    color: #203344;
    background: #fff;
    box-shadow: -18px 0 55px rgba(9, 32, 46, .2);
    transform: translateX(102%);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  }
  .booking-service-drawer[hidden],
  .booking-service-drawer-backdrop[hidden] { display: none; }
  .booking-service-drawer.open { transform: translateX(0); }
  .booking-service-drawer-header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    border-bottom: 1px solid #e8edf1;
    background: rgba(255, 255, 255, .95);
    font-size: .82rem;
    font-weight: 800;
  }
  .booking-service-drawer-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: #526475;
    background: #f1f5f8;
    font-size: 1.4rem;
  }
  .booking-service-drawer-content { padding: 20px; }
  .booking-service-drawer-image {
    width: 100%;
    height: 205px;
    border-radius: 18px;
    object-fit: cover;
    background: linear-gradient(135deg, #e9f8f7, #edf3ff);
  }
  .booking-service-drawer-image.is-logo { object-fit: contain; padding: 35px; }
  .booking-service-drawer-eyebrow {
    margin: 20px 0 6px;
    color: #087985;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .booking-service-drawer-content h3 { margin: 0 0 8px; color: #173c43; font-size: 1.35rem; font-weight: 850; }
  .booking-service-drawer-content > p:not(.booking-service-drawer-eyebrow) { color: #64748b; font-size: .85rem; line-height: 1.55; }
  @media (min-width: 760px) {
    .appointment-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .appointment-clinic-grid,
    .appointment-doctor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 480px) {
    .appointment-service-grid { gap: 9px; }
    .appointment-service-image-wrap { height: 96px; }
    .appointment-service-card-body { padding: 10px; }
    .appointment-service-card-actions { flex-direction: column; }
    .appointment-service-card-actions button { width: 100%; }
    .appointment-clinic-grid,
    .appointment-doctor-grid { grid-template-columns: 1fr; }
  }

  /* Match the provider page's glass service cards and service-detail drawer. */
  .appointment-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .appointment-service-card {
    position: relative;
    display: flex;
    min-height: 202px;
    flex-direction: column;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    color: #0f172a;
    text-align: left;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    cursor: pointer;
    animation: bookingCardEntrance .5s ease-out both;
  }

  .appointment-service-card:nth-child(1) { animation-delay: .05s; }
  .appointment-service-card:nth-child(2) { animation-delay: .1s; }
  .appointment-service-card:nth-child(3) { animation-delay: .15s; }
  .appointment-service-card:nth-child(4) { animation-delay: .2s; }
  .appointment-service-card:nth-child(n+5) { animation-delay: .25s; }

  @keyframes bookingCardEntrance {
    from { opacity: 0; transform: translateY(20px) scale(.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  .appointment-service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 118, 128, .45);
    background: #fff;
  }

  .appointment-service-card:active {
    transform: scale(.96);
  }

  .appointment-service-card.selected {
    border-color: rgba(45, 212, 191, .9);
    box-shadow: 0 0 0 2px rgba(45, 212, 191, .25), 0 8px 32px rgba(0, 0, 0, .2);
  }

  .appointment-service-card:focus-visible,
  .booking-service-drawer button:focus-visible {
    outline: 3px solid #2dd4bf;
    outline-offset: 3px;
  }

  .appointment-service-image-wrap {
    position: relative;
    display: block;
    height: 128px;
    flex: 0 0 128px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fbff, #edf4ff);
    border-bottom: 1px solid rgba(15, 23, 42, .05);
  }

  .appointment-service-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .appointment-service-image.is-logo {
    object-fit: contain;
    padding: 20px;
    background: #f8fafc;
  }

  .appointment-service-image-wrap.has-placeholder {
    display: grid;
    place-items: center;
    color: #2dd4bf;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #ecfeff, #f0fdf4);
  }

  .appointment-service-price {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 12px;
    color: #0f172a;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
    font-size: .65rem;
    font-weight: 700;
  }

  .appointment-service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
  }

  .appointment-service-card-body h3 {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: #0f172a;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .appointment-service-card-meta {
    align-items: center;
    color: #64748b;
    font-size: .72rem;
  }

  .appointment-service-card-meta > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .appointment-service-arrow {
    display: flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #0f172a;
    background: #f1f5f9;
    font-size: .6rem;
  }

  .booking-selection-note {
    color: #475569;
    border: 1px dashed rgba(15, 23, 42, .15);
    background: #f8fafc;
  }

  .booking-service-drawer-backdrop {
    z-index: 2999;
    display: block;
    background: rgba(0, 0, 0, .4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }

  .booking-service-drawer-backdrop[hidden],
  .booking-service-drawer[hidden] {
    display: none !important;
  }

  .booking-service-drawer {
    z-index: 3000;
    display: flex;
    flex-direction: column;
    width: 100vw;
    border-radius: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .1);
    transform: translateY(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  }

  .booking-service-drawer.open {
    transform: translateY(0);
  }

  .booking-service-drawer-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .booking-service-drawer-actions {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .booking-service-drawer-back,
  .booking-service-drawer-status,
  .booking-service-drawer-fav,
  .booking-service-drawer-close {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #0f172a;
    background: transparent;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
  }

  .booking-service-drawer-status {
    color: #0284c7;
    background: #f0f9ff;
  }

  .booking-service-drawer-fav {
    color: #0f172a;
    background: transparent;
  }

  .booking-service-drawer-close { background: #f1f5f9; }
  .booking-service-drawer-back:active,
  .booking-service-drawer-status:active,
  .booking-service-drawer-fav:active,
  .booking-service-drawer-close:active { background: #f1f5f9; transform: scale(.9); }

  .booking-service-drawer-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0 0 32px;
  }

  .booking-service-drawer-brand {
    display: flex;
    justify-content: center;
    margin: 18px 24px 0;
  }

  .booking-service-drawer-brand-image {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
  }

  .booking-service-detail-title {
    margin: 20px 24px 24px;
    text-align: center;
  }

  .booking-service-detail-title h3 {
    margin: 0 0 4px;
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 800;
  }

  .booking-service-detail-tagline {
    margin: 0;
    color: #64748b;
    font-size: .9rem;
    line-height: 1.5;
  }

  .booking-service-detail-image {
    position: relative;
    display: flex;
    height: 240px;
    flex: 0 0 240px;
    align-items: center;
    justify-content: center;
    margin: 0 24px 32px;
  }

  .booking-service-image-blob {
    position: absolute;
    z-index: 1;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #eff6ff;
  }

  .booking-service-drawer-image {
    position: relative;
    z-index: 2;
    width: auto;
    height: auto;
    max-width: 85%;
    max-height: 85%;
    border-radius: 0;
    object-fit: contain;
    background: none;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .1));
  }

  .booking-service-drawer-image.is-logo {
    padding: 40px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .1));
  }

  .booking-service-sparkle {
    position: absolute;
    z-index: 3;
    color: #2dd4bf;
    font-size: 1.4rem;
  }

  .booking-service-sparkle-one { top: 16%; right: 12%; }
  .booking-service-sparkle-two { bottom: 8%; left: 12%; }

  .booking-service-detail-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 24px 32px;
  }

  .booking-service-detail-highlights > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: .75rem;
    font-weight: 600;
    text-align: center;
  }

  .booking-service-highlight-icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.1rem;
  }

  .booking-service-highlight-icon.icon-blue { color: #3b82f6; background: #eff6ff; }
  .booking-service-highlight-icon.icon-teal { color: #0d9488; background: #f0fdfa; }
  .booking-service-highlight-icon.icon-green { color: #16a34a; background: #f0fdf4; }

  .booking-service-duration {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 24px 32px;
    padding: 16px 20px;
    border-radius: 16px;
    background: #f8fafc;
  }

  .booking-service-duration-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 10px;
    color: #64748b;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .05);
  }

  .booking-service-duration > span:last-child {
    display: grid;
    gap: 3px;
  }

  .booking-service-duration small {
    color: #64748b;
    font-size: .75rem;
  }

  .booking-service-duration strong {
    color: #1e293b;
    font-size: .95rem;
  }

  .booking-service-cost {
    margin: 0 24px 32px;
  }

  .booking-service-cost-label {
    margin: 0 0 4px;
    color: #64748b;
    font-size: .85rem;
    font-weight: 600;
  }

  .booking-service-cost-value {
    color: #0f172a;
    font-size: 1.75rem;
    font-weight: 800;
  }

  .booking-service-drawer-choose {
    display: flex;
    width: calc(100% - 48px);
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 24px 32px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
  }

  .booking-service-drawer-choose:hover { background: #1e293b; }
  .booking-service-drawer-choose:active { transform: scale(.98); }

  @media (min-width: 760px) {
    .appointment-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }

  @media (min-width: 768px) {
    .booking-service-drawer {
      top: 0;
      right: 0;
      bottom: 0;
      left: auto;
      width: min(450px, 100vw);
      border-left: 1px solid rgba(0, 0, 0, .05);
      border-top-left-radius: 32px;
      border-bottom-left-radius: 32px;
      overflow-x: hidden;
      transform: translateX(100%);
      box-shadow: -15px 0 45px rgba(0, 0, 0, .15);
    }
    .booking-service-drawer.open { transform: translateX(0); }
  }

  @media (max-width: 480px) {
    .appointment-service-grid {
      grid-template-columns: minmax(0, 1fr);
      gap: 12px;
      padding: 0;
    }
    .appointment-service-card { min-height: 188px; }
    .appointment-service-image-wrap { height: 112px; flex-basis: 112px; }
    .appointment-service-card-body { padding: 10px; }
    .booking-service-detail-title { margin-right: 20px; margin-left: 20px; }
    .booking-service-detail-image { margin-right: 20px; margin-left: 20px; }
    .booking-service-detail-highlights { margin-right: 20px; margin-left: 20px; }
    .booking-service-duration,
    .booking-service-cost { margin-right: 20px; margin-left: 20px; }
    .booking-service-drawer-choose {
      width: calc(100% - 40px);
      margin-right: 20px;
      margin-left: 20px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .appointment-service-card { animation: none; }
    .appointment-service-card,
    .booking-service-drawer,
    .booking-service-drawer-backdrop { transition: none; }
  }

  #step2 .step-header h2 {
    font-size: 1.55rem;
  }

  #step2 .step-header p,
  #step2 .booking-service-picker > label,
  #step2 .booking-provider-picker > label {
    font-size: 1rem;
  }

  #step2 .appointment-service-card {
    border-color: #e0e7ff;
  }

  #step2 .appointment-service-card:hover {
    border-color: #a5b4fc;
  }

  #step2 .appointment-service-card.selected {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .16), 0 10px 24px rgba(79, 70, 229, .12);
  }

  #step2 .appointment-service-card:focus-visible,
  #step2 .booking-service-drawer button:focus-visible {
    outline-color: #6366f1;
  }

  #step2 .appointment-service-image-wrap {
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  }

  #step2 .appointment-service-image-wrap.has-placeholder {
    color: #6366f1;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  }

  #step2 .appointment-service-price {
    color: #312e81;
    font-size: .82rem;
  }

  #step2 .appointment-service-card-body h3 {
    color: #1e1b4b;
    font-size: 1rem;
  }

  #step2 .appointment-service-card-meta {
    font-size: .88rem;
  }

  #step2 .appointment-service-arrow {
    color: #4f46e5;
    background: #eef2ff;
  }

  #step2 .booking-selection-note,
  #step2 .booking-selection-status {
    border-color: #c7d2fe;
    color: #475569;
    background: #f8f9ff;
    font-size: .95rem;
  }

  #step2 .appointment-clinic-icon,
  #step2 .appointment-doctor-avatar {
    color: #4f46e5;
    background: #eef2ff;
  }

  #step2 .appointment-clinic-card-copy strong,
  #step2 .appointment-doctor-card-copy strong {
    color: #1e1b4b;
    font-size: .98rem;
  }

  #step2 .appointment-clinic-card-copy small,
  #step2 .appointment-doctor-card-copy small {
    font-size: .85rem;
  }

  #step2 .appointment-clinic-card.selected,
  #step2 .appointment-doctor-card.selected {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .14), 0 10px 24px rgba(79, 70, 229, .1);
  }

  #step2 .appointment-clinic-card:hover,
  #step2 .appointment-doctor-card:hover {
    border-color: #a5b4fc;
  }

  #step2 .appointment-clinic-card.selected .appointment-selection-check,
  #step2 .appointment-doctor-card.selected .appointment-selection-check {
    border-color: #6366f1;
    background: #6366f1;
  }

  #step2 .booking-retry-button {
    margin-left: 12px;
    padding: 6px 12px;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    color: #4f46e5;
    background: #eef2ff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  #step2 .booking-retry-button:hover {
    border-color: #818cf8;
    background: #e0e7ff;
  }

  #step2 .booking-service-drawer {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #step2 .booking-service-drawer::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  #step2 .booking-service-drawer-status {
    color: #4f46e5;
    background: #eef2ff;
  }

  #step2 .booking-service-detail-title h3 {
    color: #1e1b4b;
    font-size: 1.9rem;
  }

  #step2 .booking-service-detail-tagline {
    font-size: 1rem;
  }

  #step2 .booking-service-drawer-image {
    background: none;
  }

  #step2 .booking-service-image-blob {
    background: #eef2ff;
  }

  #step2 .booking-service-sparkle {
    color: #6366f1;
  }

  #step2 .booking-service-detail-highlights > div {
    font-size: .88rem;
  }

  #step2 .booking-service-highlight-icon,
  #step2 .booking-service-highlight-icon.icon-blue,
  #step2 .booking-service-highlight-icon.icon-teal,
  #step2 .booking-service-highlight-icon.icon-green {
    color: #4f46e5;
    background: #eef2ff;
  }

  #step2 .booking-service-duration small,
  #step2 .booking-service-cost-label {
    font-size: .9rem;
  }

  #step2 .booking-service-duration strong {
    font-size: 1.05rem;
  }

  #step2 .booking-service-cost-value {
    color: #312e81;
    font-size: 1.9rem;
  }

  #step2 .booking-service-drawer-choose {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    font-size: 1.1rem;
  }

  #step2 .booking-service-drawer-choose:hover {
    background: #4338ca;
  }

  @media (max-width: 480px) {
    #step2 .appointment-service-grid {
      grid-template-columns: minmax(0, 1fr);
    }

    #step2 .appointment-service-card-body h3 {
      font-size: 1.05rem;
    }
  }

  #step2 .booking-service-search-wrap {
    position: relative;
    width: min(100%, 760px);
    margin: 0 auto 8px;
  }

  #step2 .booking-service-search-wrap[hidden] {
    display: none !important;
  }

  #step2 .booking-service-search {
    width: 100%;
    min-height: 52px;
    padding: 0 16px 0 48px;
    border: 1px solid #dbe2f0;
    border-radius: 16px;
    outline: none;
    color: #1e1b4b;
    background: #fff;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
  }

  #step2 .booking-service-search:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .13);
  }

  #step2 .booking-service-search-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #6366f1;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transform: translateY(-50%);
    pointer-events: none;
  }

  #step2 .booking-service-search-feedback {
    display: none;
    margin: 10px 0 14px;
    padding: 12px 14px;
    border: 1px solid #c7d2fe;
    border-radius: 14px;
    color: #3730a3;
    background: #f5f6ff;
    font-size: .92rem;
    line-height: 1.5;
  }

  #step2 .booking-service-search-feedback:not(:empty) {
    display: block;
  }

  #step2 .appointment-service-card.is-filtered {
    display: none;
  }

  #step2 .appointment-service-card.is-recommended {
    border-color: #818cf8;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, .14), 0 8px 20px rgba(79, 70, 229, .1);
  }

  #step2 .booking-service-recommendation:not([hidden]) {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 8px;
    padding: 4px 9px;
    border-radius: 999px;
    color: #4338ca;
    background: #eef2ff;
    font-size: .76rem;
    font-weight: 750;
  }

  #step2 .booking-service-recommendation[hidden] {
    display: none !important;
  }

  #step2 .booking-location-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 12px;
    color: #64748b;
    font-size: .88rem;
  }

  #step2 .booking-location-retry {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    color: #4338ca;
    background: #eef2ff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  #step2 .appointment-clinic-card-copy small {
    line-height: 1.5;
  }

  .booking-location-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(460px, calc(100vw - 32px));
    max-width: 460px;
    max-height: min(560px, calc(100dvh - 32px));
    padding: 0;
    overflow: hidden;
    border: 1px solid #e0e7ff;
    border-radius: 28px;
    color: #0f172a;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .26);
  }

  .booking-location-dialog[open] {
    animation: bookingLocationDialogCenter .22s ease-out both;
  }

  @keyframes bookingLocationDialogCenter {
    from { opacity: 0; transform: translateY(8px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  .booking-location-dialog::backdrop {
    background: rgba(15, 23, 42, .52);
    backdrop-filter: blur(5px);
  }

  .booking-location-dialog-content {
    padding: 36px 30px 32px;
    text-align: center;
  }

  .booking-location-dialog-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 20px;
    color: #4f46e5;
    background: #eef2ff;
    font-size: 1.6rem;
  }

  .booking-location-dialog-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .booking-location-dialog h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 22px !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
  }

  .booking-location-dialog-content > p:not(.booking-location-error) {
    margin: 0 auto;
    max-width: 340px;
    color: #475569;
    font-size: 16px !important;
    font-weight: 500;
    line-height: 1.55;
  }

  .booking-location-error {
    margin: 14px 0 0;
    color: #dc2626;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.45;
  }

  .booking-location-error:empty {
    display: none;
  }

  .booking-location-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
  }

  .booking-location-actions button {
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 9999px;
    font: inherit;
    font-size: 16px !important;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .booking-location-skip {
    color: #475569;
    background: #f1f5f9;
  }

  .booking-location-skip:hover {
    background: #e2e8f0;
    color: #1e293b;
  }

  .booking-location-share {
    color: #ffffff;
    background: #4f46e5;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
  }

  .booking-location-share:hover {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.45);
  }

  .booking-location-share:disabled {
    opacity: .65;
    cursor: wait;
  }

  @media (max-width: 480px) {
    .booking-location-dialog-content { padding: 24px 20px; }
    .booking-location-actions { flex-direction: column-reverse; }
    .booking-location-actions button { width: 100%; }
  }

  @media (max-width: 767px) {
    .booking-location-dialog {
      inset: auto 0 0;
      width: 100%;
      max-height: min(80dvh, 560px);
      margin: 0;
      padding-bottom: env(safe-area-inset-bottom);
      border-right: 0;
      border-bottom: 0;
      border-left: 0;
      border-radius: 24px 24px 0 0;
    }

    .booking-location-dialog[open] {
      animation: bookingLocationDialogBottom .3s cubic-bezier(.22, 1, .36, 1) both;
    }

    @keyframes bookingLocationDialogBottom {
      from { opacity: .6; transform: translateY(100%); }
      to { opacity: 1; transform: translateY(0); }
    }
  }

  /* Use fixed pixel sizes here because the site-wide font override makes rem text too small. */
  .form-container {
    font-size: 16px;
  }

  .step-label,
  .booking-summary dt,
  .summary-help {
    font-size: 14px;
  }

  .step-header h2 {
    font-size: 26px;
  }

  .step-header p,
  .form-container label {
    font-size: 16px;
  }

  .form-container .form-control,
  .form-container .form-select,
  .form-control-textarea,
  .form-container .booking-selection-status,
  .form-container .booking-selection-note,
  .form-container .booking-service-search-feedback,
  .form-container .booking-location-status {
    font-size: 16px;
  }

  .form-container .field-error-message,
  .booking-summary dd {
    font-size: 15px;
  }

  .form-container .btn,
  .form-container .booking-retry-button,
  .form-container .booking-location-retry {
    font-size: 16px;
  }

  #step2 .step-header h2 {
    font-size: 26px;
  }

  #step2 .step-header p,
  #step2 .booking-service-picker > label,
  #step2 .booking-provider-picker > label {
    font-size: 16px;
  }

  #step2 .booking-service-search {
    font-size: 16px;
  }

  #step2 .appointment-service-card-body {
    padding: 15px;
  }

  #step2 .appointment-service-card-body h3 {
    display: -webkit-box;
    min-height: 50px;
    overflow: hidden;
    font-size: 19px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #step2 .appointment-service-card-meta {
    font-size: 15px;
    line-height: 1.4;
  }

  #step2 .appointment-service-price {
    padding: 6px 11px;
    font-size: 15px;
  }

  #step2 .appointment-service-arrow {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  #step2 .booking-service-recommendation:not([hidden]) {
    font-size: 13px;
  }

  #step2 .booking-selection-status,
  #step2 .booking-selection-note,
  #step2 .booking-service-search-feedback {
    font-size: 15px;
    line-height: 1.5;
  }

  #step2 .booking-selection-status.is-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    border-style: solid;
    border-color: #d9ddff;
    color: #303b78;
    background: #f5f6ff;
  }

  #step2 .booking-loading-spinner {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border: 3px solid #c9cdf5;
    border-top-color: #4f46e5;
    border-radius: 50%;
    animation: booking-clinic-spin 0.75s linear infinite;
  }

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

  @media (prefers-reduced-motion: reduce) {
    #step2 .booking-loading-spinner { animation-duration: 1.8s; }
  }

  #step2 .appointment-clinic-card-copy strong,
  #step2 .appointment-doctor-card-copy strong {
    font-size: 17px;
    line-height: 1.3;
  }

  #step2 .appointment-clinic-card-copy small,
  #step2 .appointment-doctor-card-copy small {
    font-size: 14px;
    line-height: 1.4;
  }

  #step2 .appointment-selection-check {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 13px;
  }

  #step2 .booking-service-detail-title h3 {
    font-size: 30px;
  }

  #step2 .booking-service-detail-tagline,
  #step2 .booking-service-detail-highlights > div,
  #step2 .booking-service-duration small,
  #step2 .booking-service-cost-label {
    font-size: 16px;
  }

  #step2 .booking-service-duration strong {
    font-size: 18px;
  }

  #step2 .booking-service-drawer-choose {
    font-size: 18px;
  }

  #step2 .booking-service-cost-value {
    font-size: 30px;
  }

  #step3 .time-slot,
  #step3 .slots-placeholder,
  #appointmentReviewSlide .booking-summary,
  #appointmentReviewSlide .summary-help {
    font-size: 15px;
  }

  #step3 .time-slot {
    min-height: 46px;
  }

  #step3 .booking-slot-suggestion {
    display: block;
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid #d9ddff;
    border-radius: 18px;
    background: linear-gradient(120deg, #f5f6ff, #fff);
    box-shadow: 0 10px 28px rgba(49, 46, 129, 0.08);
  }

  #step3 .booking-slot-suggestion[hidden] {
    display: none;
  }

  .booking-slot-suggestion-copy {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
  }

  .booking-slot-suggestion-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 14px;
    color: #4f46e5;
    background: #e8eaff;
    font-size: 20px;
  }

  .booking-slot-suggestion-eyebrow {
    margin: 0 0 4px;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .booking-slot-suggestion-status {
    margin: 0;
    color: #303b78;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
  }

  .booking-slot-suggestion-detail {
    margin: 4px 0 0;
    color: #667085;
    font-size: 14px;
    font-weight: 550;
  }

  .booking-slot-suggestion-carousel {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
  }

  .booking-slot-suggestion-carousel[hidden] {
    display: none;
  }

  .booking-slot-suggestion-days {
    display: flex;
    min-width: 0;
    flex: 1;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .booking-slot-suggestion-days::-webkit-scrollbar {
    display: none;
  }

  .booking-slot-suggestion-day {
    flex: 0 0 clamp(190px, 30%, 230px);
    scroll-snap-align: start;
  }

  .booking-slot-suggestion-day-button {
    display: flex;
    width: 100%;
    min-height: 148px;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid #d9ddff;
    border-radius: 15px;
    color: #303b78;
    background: #fff;
    text-align: left;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  .booking-slot-suggestion-day-button:hover,
  .booking-slot-suggestion-day-button:focus-visible {
    border-color: #818cf8;
    background: #fafaff;
    box-shadow: 0 8px 20px rgba(49, 46, 129, .1);
    transform: translateY(-1px);
  }

  .booking-slot-suggestion-day-button.is-selected {
    border-color: #4f46e5;
    background: #f1f2ff;
    box-shadow: inset 0 0 0 1px #4f46e5;
  }

  .booking-slot-suggestion-day-name {
    color: #667085;
    font-size: 13px;
    font-weight: 650;
  }

  .booking-slot-suggestion-day-date {
    margin-top: 2px;
    color: #303b78;
    font-size: 15px;
    font-weight: 700;
  }

  .booking-slot-suggestion-day-time {
    margin-top: auto;
    color: #20264f;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
  }

  .booking-slot-suggestion-day-action {
    margin-top: 8px;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 700;
  }

  .booking-slot-suggestion-scroll {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid #d9ddff;
    border-radius: 50%;
    color: #4338ca;
    background: #fff;
  }

  .booking-slot-suggestion-scroll:hover:not(:disabled),
  .booking-slot-suggestion-scroll:focus-visible {
    border-color: #a5b4fc;
    background: #eef0ff;
  }

  .booking-slot-suggestion-scroll:disabled {
    cursor: default;
    opacity: .4;
  }

  #step3 .booking-slot-suggestion.is-loading .booking-slot-suggestion-icon i {
    animation: booking-clinic-spin .9s linear infinite;
  }

  #appointmentReviewSlide .booking-summary {
    margin: 0 0 22px;
    padding: 20px;
    border: 1px solid #e1e5f8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(49, 46, 129, 0.08);
  }

  #appointmentReviewSlide .booking-summary h3 {
    margin: 0 0 12px;
    color: #303b78;
    font-size: 20px;
    font-weight: 700;
  }

  #appointmentReviewSlide .booking-summary dl {
    margin: 0;
  }

  #appointmentReviewSlide .booking-summary dl > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid #edf0f8;
  }

  #appointmentReviewSlide .booking-summary dl > div:last-child {
    border-bottom: 0;
  }

  #appointmentReviewSlide .booking-summary dt,
  #appointmentReviewSlide .booking-summary dd {
    margin: 0;
  }

  #appointmentReviewSlide .booking-summary dt {
    color: #667085;
    font-weight: 600;
  }

  #appointmentReviewSlide .booking-summary dd {
    color: #20264f;
    font-weight: 650;
    text-align: right;
  }

  #appointmentReviewSlide .summary-help {
    margin: 12px 0 0;
    color: #667085;
  }

  .booking-back-button {
    display: inline-flex;
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    flex: 0 0 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50% !important;
    color: #4338ca;
    border-color: #d9ddff;
    background: #f5f6ff;
  }

  .booking-back-button:hover,
  .booking-back-button:focus-visible {
    color: #3730a3;
    border-color: #a5b4fc;
    background: #eef0ff;
  }

  .booking-back-button i {
    font-size: 18px;
  }

  @media (max-width: 480px) {
    #step3 .booking-slot-suggestion {
      padding: 15px;
    }

    .booking-slot-suggestion-scroll {
      display: none;
    }

    .booking-slot-suggestion-day {
      flex-basis: 82%;
    }

    #appointmentReviewSlide .booking-summary {
      padding: 16px;
    }
  }

  @media (max-width: 480px) {
    .step-indicator { gap: 28px; }
    .step-label { font-size: 15px; }
    .step-header h2 { font-size: 24px; }
    .step-header p { font-size: 16px; line-height: 1.45; }
    .form-container label { font-size: 16px; }
    .form-container .form-control,
    .form-container .form-select,
    .form-control-textarea { font-size: 16px; }
    #step2 .appointment-service-card-body h3 { font-size: 19px; }
    #step2 .appointment-service-card-meta { font-size: 15px; }
    #step2 .appointment-service-price { font-size: 15px; }
  }

  .booking-submit-dialog {
    width: min(440px, calc(100% - 32px));
    max-width: 440px;
    margin: auto;
    padding: 0;
    overflow: visible;
    border: 1px solid #e1e5f8;
    border-radius: 22px;
    color: #20264f;
    background: #fff;
    box-shadow: 0 24px 70px rgba(30, 27, 75, .2);
    outline: 0;
    text-align: center;
  }

  .booking-submit-dialog::backdrop {
    background: rgba(15, 23, 42, .52);
    backdrop-filter: blur(4px);
  }

  .booking-submit-dialog-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 30px 24px;
  }

  .booking-submit-art {
    position: relative;
    display: grid;
    width: 116px;
    height: 116px;
    place-items: center;
    margin-bottom: 16px;
  }

  .booking-submit-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(79, 70, 229, .2));
    animation: bookingLogoFloat 2.4s ease-in-out infinite;
  }

  .booking-submit-dialog h2 {
    margin: 0 0 7px;
    color: #303b78;
    font-size: 22px;
    font-weight: 750;
  }

  .booking-submit-message {
    max-width: 340px;
    min-height: 42px;
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
  }

  .booking-submit-stages {
    display: grid;
    width: 100%;
    gap: 13px;
    margin: 20px 0 16px;
    padding: 0;
    list-style: none;
    text-align: left;
  }

  .booking-submit-stages li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #9aa0b9;
    transition: color .2s ease;
  }

  .booking-submit-stages li.is-active,
  .booking-submit-stages li.is-complete {
    color: #353c76;
  }

  .booking-submit-stage-marker {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    place-items: center;
    border: 1px solid #d9ddff;
    border-radius: 50%;
    color: transparent;
    background: #f7f7ff;
    font-size: 11px;
    transition: all .2s ease;
  }

  .booking-submit-stages li.is-active .booking-submit-stage-marker {
    border-color: #818cf8;
    color: #4f46e5;
    background: #eef0ff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
  }

  .booking-submit-stages li.is-complete .booking-submit-stage-marker {
    border-color: #4f46e5;
    color: #fff;
    background: #4f46e5;
  }

  .booking-submit-stages strong,
  .booking-submit-stages small {
    display: block;
  }

  .booking-submit-stages strong {
    font-size: 13px;
    font-weight: 750;
  }

  .booking-submit-stages small {
    margin-top: 1px;
    color: #858ba4;
    font-size: 11px;
  }

  .booking-submit-progress {
    width: 100%;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #eceeff;
  }

  .booking-submit-progress span {
    display: block;
    width: 38%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #818cf8, #4f46e5);
    animation: bookingProgressSweep 1.5s ease-in-out infinite;
  }

  .booking-submit-reassurance {
    margin: 11px 0 0;
    color: #8990a8;
    font-size: 11px;
    line-height: 1.4;
  }

  .booking-submit-dialog.is-success .booking-submit-progress span {
    width: 100%;
    animation: none;
    transition: width .35s ease;
  }

  @keyframes bookingLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

  @keyframes bookingProgressSweep {
    0% { transform: translateX(-115%); }
    100% { transform: translateX(280%); }
  }

  @media (max-width: 480px) {
    .booking-submit-dialog-content { padding: 24px 22px 20px; }
    .booking-submit-art { margin-bottom: 12px; }
    .booking-submit-dialog h2 { font-size: 20px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .booking-submit-logo,
    .booking-submit-progress span {
      animation: none;
    }
  }