/* =========================
   Base
========================= */
:root {
  --primary: #0693a4;        /* لون الشعار */
  --primary-dark: #057a89;   /* أغمق للـ hover */
  --primary-light: #e6f4f7;  /* خلفيات خفيفة */
  --bg-light: #f7fbfc;
}

html, body {
  width: 100%;
  height: 100%;
}

* {
  box-sizing: border-box;
  font-family: "Tajawal", Arial, sans-serif;
}

body {
  margin: 0;
  background: var(--bg-light);
  color: #222;
}

/* =========================
   Layout
========================= */
.booking-wrap {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}



.booking-card {
  background: #fff;
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 28px;
}

/* =========================
   Header
========================= */
.booking-header {
  text-align: center;
  margin-bottom: 24px;
}

.booking-header h1 {
  color: var(--primary);
}


.booking-header p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* =========================
   Form
========================= */
.booking-form .field {
  margin-bottom: 18px;
}

.booking-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

.booking-form input,
.booking-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
  transition: border .2s, box-shadow .2s;
}

.booking-form input:focus,
.booking-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6,147,164,.15);
}

.booking-form .hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #888;
}

/* =========================
   Actions
========================= */
.actions button {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .1s ease;
}

.actions button:hover {
  background: var(--primary-dark);
}

.actions button:active {
  transform: scale(.98);
}


/* =========================
   Messages
========================= */
.msg {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
}

.msg.error {
  color: #dc3545;
}

.msg.success {
  color: #198754;
}

/* =========================
   Mobile
========================= */
@media (max-width: 480px) {
  .booking-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(6,147,164,.12);
  padding: 28px;
}


  .booking-header h1 {
    font-size: 22px;
  }
}
.booking-card {
  margin: 0 auto;
}

/* Loading state */
.actions button.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.doctor-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f7fbfb;
  border: 1px solid #e3f1f1;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 22px;
}

.doctor-summary-photo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0aa3a3;
}

.doctor-summary-info h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #0a5c5c;
}

.doctor-summary-info .spec {
  margin: 0;
  font-weight: 600;
  color: #0aa3a3;
}

.doctor-summary-info .branch {
  margin: 4px 0 0;
  font-size: 14px;
  color: #666;
}
