﻿.booking-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 20, 60, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Roboto', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  }
  .booking-modal-overlay.is-open {
    display: flex;
  }
  .booking-modal {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: 16px;
    padding: 28px 26px 26px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 20, 60, 0.35);
    max-height: 90vh;
    overflow-y: auto;
  }
  .booking-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f3f8;
    color: #002b7c;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
  }
  .booking-modal-close:hover { background: #e1e6f2; }
  .booking-modal h3 {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    color: #002b7c;
  }
  .booking-modal-doctor {
    margin: 0 0 20px 0;
    font-size: 13.5px;
    color: #6b7690;
  }
  .booking-modal-doctor span {
    font-weight: 600;
    color: #002b7c;
  }
  .booking-field {
    margin-bottom: 14px;
  }
  .booking-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #17233b;
    margin-bottom: 6px;
  }
  .booking-field input,
  .booking-field select,
  .booking-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1.5px solid #e3e7f0;
    border-radius: 8px;
    font-size: 13.5px;
    font-family: inherit;
    color: #17233b;
    transition: border-color 0.2s ease;
  }
  .booking-field input:focus,
  .booking-field select:focus,
  .booking-field textarea:focus {
    outline: none;
    border-color: #002b7c;
  }
  .booking-field textarea {
    resize: vertical;
    min-height: 70px;
  }
  .booking-field-error {
    display: none;
    color: #d13c3c;
    font-size: 11.5px;
    margin-top: 5px;
    font-weight: 500;
  }
  .booking-field-error.is-visible {
    display: block;
  }
  .booking-field input.has-error,
  .booking-field textarea.has-error {
    border-color: #d13c3c;
  }
  .booking-hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }
  .booking-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0 0;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #17233b;
    cursor: pointer;
  }
  .booking-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #002b7c;
    cursor: pointer;
    flex-shrink: 0;
  }
  .booking-submit-btn {
    width: 100%;
    background: #002b7c;
    color: #ffffff;
    border: none;
    padding: 13px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
    transition: background-color 0.25s ease;
  }
  .booking-submit-btn:hover { background: #001a4d; }
  .booking-success-msg {
    display: none;
    text-align: center;
    padding: 10px 0 4px;
    color: #1c7c3c;
    font-size: 13.5px;
    font-weight: 600;
  }
  .booking-success-msg.is-error {
    color: #d13c3c;
  }

