/* ============================================================
   Appointly External Booking – Typography (Tajawal)
   - Scoped to external booking pages only (body.appointments-external-form)
   - No build step, no external deps besides Google Fonts link in the view
   ============================================================ */

body.appointments-external-form{
  font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Force inheritance across all widgets (bootstrap-select, datetimepicker, modals, etc.) */
body.appointments-external-form *,
body.appointments-external-form *::before,
body.appointments-external-form *::after{
  font-family: inherit !important;
  letter-spacing: 0;
}

/* Headings scale (keep it readable, not over-sized) */
body.appointments-external-form h1,
body.appointments-external-form h2{
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}
body.appointments-external-form h3,
body.appointments-external-form h4{
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}
body.appointments-external-form h5,
body.appointments-external-form h6{
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}

/* Common UI titles used by Appointly external booking */
body.appointments-external-form .appointly-col-title{
  font-size: 20px !important; /* section titles (18–20px) */
  font-weight: 700 !important;
}
body.appointments-external-form .appointly-step2-title{
  font-size: 20px !important;
  font-weight: 700 !important;
}
body.appointments-external-form .appointly-confirm-title{
  font-size: 28px !important;
  font-weight: 700 !important;
}

/* Body text + helper text */
body.appointments-external-form p,
body.appointments-external-form .help-block{
  line-height: 1.75;
}

body.appointments-external-form .text-muted,
body.appointments-external-form .appointly-muted,
body.appointments-external-form .appointly-step2-hint{
  color: #6B7280 !important; /* not too faint */
}

body.appointments-external-form .appointly-step2-hint{
  font-size: 13px !important; /* muted text 13–14px */
}

/* Forms */
body.appointments-external-form label{
  font-weight: 500;
}
body.appointments-external-form input,
body.appointments-external-form textarea,
body.appointments-external-form select{
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}
body.appointments-external-form input::placeholder,
body.appointments-external-form textarea::placeholder{
  color: #9CA3AF;
  opacity: 1;
}

/* Buttons */
body.appointments-external-form button,
body.appointments-external-form .btn{
  font-weight: 600;
}

/* Times / calendar elements */
body.appointments-external-form .appointly-time-slots-list .time-slot-btn{
  font-size: 15px;
  font-weight: 600;
}
