﻿.booking-modal-overlay {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 18, 55, 0.72);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      box-sizing: border-box;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      z-index: 999999;
    }
    .booking-modal-overlay.is-open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }
    .booking-modal {
      position: relative;
      width: 100%;
      max-width: 520px;
      max-height: 90vh;
      overflow-y: auto;
      background: #ffffff;
      border-radius: 18px;
      padding: 32px;
      box-sizing: border-box;
      box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
      transform: translateY(25px) scale(0.97);
      transition: transform 0.3s ease;
      font-family: 'Poppins', sans-serif;
    }
    .booking-modal-overlay.is-open .booking-modal {
      transform: translateY(0) scale(1);
    }
    .booking-modal::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 5px;
      background: linear-gradient(90deg, #002b7c, #ffb81b);
      border-radius: 18px 18px 0 0;
    }
    .booking-modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 38px;
      height: 38px;
      border: none;
      border-radius: 50%;
      background: #f1f5f9;
      color: #002b7c;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }
    .booking-modal-close:hover {
      background: #002b7c;
      color: #ffffff;
      transform: rotate(90deg);
    }
    .booking-modal h3 {
      margin: 0 50px 5px 0;
      color: #002b7c;
      font-size: 25px;
      font-weight: 700;
      line-height: 1.3;
    }
    .booking-modal-doctor {
      margin: 0 0 24px 0;
      color: #64748b;
      font-size: 13px;
      font-weight: 400;
    }
    .booking-modal-doctor span {
      color: #c36e16;
      font-weight: 600;
    }
    .booking-field {
      margin-bottom: 16px;
    }
    .booking-field label {
      display: block;
      margin-bottom: 7px;
      color: #17233b;
      font-size: 13px;
      font-weight: 600;
    }
    .booking-field input,
    .booking-field textarea {
      width: 100%;
      box-sizing: border-box;
      border: 1px solid #dbe2ea;
      border-radius: 9px;
      background: #ffffff;
      color: #17233b;
      font-family: 'Poppins', sans-serif;
      font-size: 13px;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .booking-field input {
      height: 46px;
      padding: 0 14px;
    }
    .booking-field textarea {
      min-height: 90px;
      padding: 12px 14px;
      resize: vertical;
    }
    .booking-field input:focus,
    .booking-field textarea:focus {
      border-color: #002b7c;
      box-shadow: 0 0 0 3px rgba(0, 37, 112, 0.08);
    }
    .booking-field input.has-error,
    .booking-field textarea.has-error {
      border-color: #d13c3c;
    }
    .booking-field-error {
      display: none;
      color: #d13c3c;
      font-size: 11.5px;
      margin-top: 6px;
      font-weight: 500;
    }
    .booking-field-error.is-visible {
      display: block;
    }
    .booking-checkbox-label {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 10px 0 0 0;
      font-size: 12.5px;
      font-weight: 500;
      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%;
      min-height: 48px;
      border: none;
      border-radius: 30px;
      background: #002b7c;
      color: #ffffff;
      font-family: 'Poppins', sans-serif;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    }
    .booking-submit-btn:hover {
      background: #c36e16;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 37, 112, 0.18);
    }
    .booking-success-msg {
      display: none;
      margin: 15px 0 0;
      padding: 10px 0 4px;
      color: #1c7c3c;
      text-align: center;
      font-size: 13.5px;
      font-weight: 600;
    }
    @media (max-width: 600px) {
      .booking-modal-overlay { padding: 15px; }
      .booking-modal { max-width: 100%; padding: 27px 20px 22px; border-radius: 15px; }
      .booking-modal h3 { font-size: 21px; margin-right: 42px; }
      .booking-modal-doctor { font-size: 12px; margin-bottom: 20px; }
      .booking-field { margin-bottom: 13px; }
      .booking-field label { font-size: 12px; margin-bottom: 5px; }
      .booking-field input { height: 43px; font-size: 12px; }
      .booking-field textarea { min-height: 75px; font-size: 12px; }
      .booking-submit-btn { min-height: 45px; font-size: 13px; }
      .booking-modal-close { width: 34px; height: 34px; top: 13px; right: 13px; font-size: 16px; }
    }

