/* Scoped styles from Appointments/public/style.css for doctors-page booking modal */
.appt-booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: "DM Sans", system-ui, sans-serif;
}

.appt-booking-overlay.is-open {
  display: flex;
}

.appt-booking-panel {
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px 24px;
  position: relative;
  color: #111827;
}

.appt-booking-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

.appt-booking-title {
  font-size: 22px;
  font-weight: 700;
  color: #014a01;
  margin: 0 40px 4px 0;
}

.appt-booking-sub {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 16px;
}

.appt-dates-section {
  margin-top: 8px;
}

.appt-dates-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.appt-dates-label {
  font-size: 17px;
  font-weight: 700;
}

.appt-dates-nav {
  display: flex;
  gap: 8px;
}

.appt-nav-btn {
  border: none;
  background: #dbeafe;
  color: #1e3a8a;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}

.appt-dates-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.appt-date-pill {
  min-width: 72px;
  height: 88px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid #dbe3ea;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.appt-date-pill .day {
  font-size: 12px;
  color: #4b5563;
  margin-bottom: 4px;
}

.appt-date-pill .date {
  font-size: 24px;
  font-weight: 700;
}

.appt-date-pill.active {
  background: linear-gradient(180deg, #1d4ed8, #2563eb);
  border-color: #2563eb;
}

.appt-date-pill.active .day,
.appt-date-pill.active .date {
  color: #fff;
}

.appt-status-message {
  font-size: 15px;
  margin: 16px 0;
  color: #374151;
}

.appt-status-message.is-error {
  color: #dc2626;
}

.appt-hospital-section {
  background: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1.5px solid #dbe3ea;
  margin-top: 14px;
}

.appt-hospital-name {
  font-size: 18px;
  font-weight: 700;
  color: #014a01;
  margin: 0 0 6px;
}

.appt-hospital-area {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 4px;
}

.appt-hospital-fee {
  font-size: 14px;
  color: #374151;
  margin: 0 0 12px;
}

.appt-hospital-no-slots {
  font-size: 14px;
  color: #6b7280;
  margin: 8px 0 0;
}

.appt-booking-doctor-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1.5px solid #dbe3ea;
  margin-top: 12px;
}

.appt-doctor-card-top {
  display: flex;
  gap: 14px;
  cursor: pointer;
}

.appt-doctor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: #e5e7eb;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 28px;
}

.appt-doctor-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.appt-doctor-meta {
  font-size: 14px;
  color: #374151;
}

.appt-slots-title {
  margin-top: 4px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
}

.appt-slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.appt-slots-grid.is-visible {
  display: flex;
}

.appt-slots-title.is-visible {
  display: block;
}

.appt-slot-btn {
  min-width: 100px;
  border: 2px solid #72a9d3;
  background: #dff1ff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
}

.appt-slot-btn.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.appt-footer-actions {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.appt-confirm-btn {
  width: 100%;
  border: none;
  background: #2563eb;
  color: #fff;
  border-radius: 14px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.appt-confirm-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
