/* ============================================
   DEMO1 INNER PAGES CSS
   DO NOT put landing page styles here.
   Loaded AFTER style.css in base.html.
   ============================================ */

/* ---------- UTILITIES ---------- */
.inner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 60px 0; }
.section--gray { background: #f8f9fa; }
.section--light-blue { background: #f0f7fb; }
.section-label {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #005485;
  margin-bottom: 8px;
}
.section-heading {
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}
.section-underline {
  width: 50px;
  height: 3px;
  background: #005485;
  margin-bottom: 25px;
}
.section-underline--center { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.two-col { display: flex; gap: 40px; align-items: flex-start; }
.two-col__left { flex: 1; }
.two-col__right { flex: 1; }
.btn-primary {
  display: inline-block;
  background: #005485;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-primary:hover { background: #003d63; }
.btn-orange {
  display: inline-block;
  background: #d35400;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-orange:hover { background: #b94700; }

/* ---------- PAGE BANNER ---------- */
.page-banner {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,84,133,0.85), rgba(0,40,65,0.9));
}
.page-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-banner__title {
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
}

/* ---------- ABOUT PAGE ---------- */
.about__hero {
  padding: 60px 0;
}
.about__hero .two-col {
  align-items: center;
}
.about__hero .two-col__left {
  flex: 0.45;
}
.about__hero .two-col__right {
  flex: 0.55;
}
.about__heading {
  font-family: 'Raleway', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
  line-height: 1.3;
}
.about__subheading {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
}
.about__cta-text {
  font-weight: 600;
  color: #005485;
  margin-bottom: 10px;
  font-size: 15px;
}
.about__text p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 15px;
}
.about__bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.about__bullets li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: #333;
  font-weight: 500;
  font-size: 15px;
}
.about__bullets li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #005485;
  font-weight: 700;
}
.about__image img {
  width: 100%;
  display: block;
}

/* ---------- SERVICE CARDS GRID ---------- */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}
.service-card {
  flex: 0 0 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}
.service-card__image {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card__icon {
  display: none;
  position: absolute;
  bottom: -22px;
  left: 20px;
  width: 55px;
  height: 55px;
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  object-fit: contain;
}
.service-card__content {
  padding: 20px;
}
.service-card__name {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}
.service-card__desc {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.service-card__link {
  display: inline-block;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid #333;
  padding: 6px 18px;
  transition: background 0.3s, color 0.3s;
}
.service-card__link:hover {
  background: #005485;
  color: #fff;
  border-color: #005485;
}

/* ---------- DOCTOR CARDS (HORIZONTAL — service detail) ---------- */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.doctor-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.doctor-card__photo {
  width: 180px;
  flex-shrink: 0;
}
.doctor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-card__info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.doctor-card__name {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}
.doctor-card__title {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}
.doctor-card__specialty {
  font-size: 14px;
  color: #005485;
  margin-bottom: 15px;
}
.doctor-card__cta {
  display: inline-block;
  border: 1px solid #005485;
  color: #005485;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  text-align: center;
}
.doctor-card__cta:hover {
  background: #005485;
  color: #fff;
}

/* ---------- DOCTOR CARDS (CIRCULAR — team page) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.doctor-circle {
  background: #fff;
  border-radius: 4px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.doctor-circle__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  background: #e8f4fb;
}
.doctor-circle__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-circle__name {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}
.doctor-circle__underline {
  width: 40px;
  height: 3px;
  background: #005485;
  margin: 0 auto 18px;
}
.doctor-circle__cta {
  display: inline-block;
  border: 1px solid #333;
  color: #333;
  padding: 10px 35px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.doctor-circle__cta:hover {
  background: #005485;
  color: #fff;
  border-color: #005485;
}

/* ---------- CTA BAR (team + appointment pages) ---------- */
.cta-bar {
  padding: 60px 0;
  background: #f8f9fa;
}
.cta-bar__heading {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: #333;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.5;
}
.cta-bar__phone {
  color: #005485;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}
.cta-bar__phone i {
  margin-right: 8px;
}

/* ---------- SERVICE DETAIL SIDEBAR ---------- */
.service-layout {
  display: flex;
  gap: 40px;
  padding: 50px 0;
}
.service-sidebar {
  width: 280px;
  flex-shrink: 0;
}
.service-sidebar__heading {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}
.service-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.service-sidebar__item {
  border-left: 3px solid #e0e0e0;
  transition: border-color 0.3s;
}
.service-sidebar__item.active {
  border-left-color: #005485;
}
.service-sidebar__item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.3s, background 0.3s;
}
.service-sidebar__item a:hover {
  color: #005485;
  background: #f8f9fa;
}
.service-sidebar__item.active a {
  color: #005485;
  font-weight: 600;
}
.service-sidebar__emergency {
  border: 1px solid #e0e0e0;
  padding: 20px;
  margin-bottom: 25px;
  text-align: center;
}
.service-sidebar__emergency-icon {
  font-size: 40px;
  color: #005485;
  margin-bottom: 10px;
}
.service-sidebar__emergency h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}
.service-sidebar__emergency p {
  color: #666;
  font-size: 15px;
}
.service-sidebar__hours {
  border: 1px solid #e0e0e0;
  padding: 20px;
}
.service-sidebar__hours h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-sidebar__hours-underline {
  width: 40px;
  height: 3px;
  background: #005485;
  margin-bottom: 15px;
}
.service-sidebar__hours p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.service-main { flex: 1; }
.service-main__image {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 25px;
}
.service-main__image img {
  width: 100%;
  border-radius: 4px;
}
.service-main__title {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}
.service-main__content {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}
.service-main__subservices { margin-bottom: 40px; }
.service-main__subservice {
  padding: 15px 20px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}
.service-main__subservice:nth-child(odd) { background: #f8f9fa; }
.service-main__subservice:nth-child(even) { background: #fff; }

/* ---------- BLOG CARDS ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.blog-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.blog-card__image {
  height: 220px;
  overflow: hidden;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card__content { padding: 25px; }
.blog-card__title {
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}
.blog-card__title a {
  color: #333;
  text-decoration: none;
}
.blog-card__title a:hover { color: #005485; }
.blog-card__excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}
.blog-card__meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}
.blog-card__link {
  color: #005485;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}
.blog-card__link:hover { text-decoration: underline; }

/* ---------- BLOG DETAIL ---------- */
.blog-featured {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}
.blog-featured img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.blog-article h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}
.blog-article__body {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
}
.blog-article__body h3,
.blog-article__body h4 {
  color: #333;
  margin: 25px 0 10px;
}
.blog-article__body p {
  margin-bottom: 15px;
}

/* ---------- CONTACT PAGE ---------- */
.contact-map {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}
.contact-section { padding: 60px 0; }
.contact-form__group { margin-bottom: 20px; }
.contact-form__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: #333;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: #005485;
  outline: none;
}
.contact-form__textarea {
  height: 150px;
  resize: vertical;
}
.contact-info__item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info__icon {
  color: #005485;
  font-size: 20px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
.contact-info__text {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- FAQ ACCORDION ---------- */
.faq-section { padding: 60px 0; }
.faq-accordion__item {
  margin-bottom: 10px;
  border: 1px solid #e0e0e0;
}
.faq-accordion__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f8f9fa;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  transition: background 0.3s, color 0.3s;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-accordion__item.active .faq-accordion__question {
  background: #005485;
  color: #fff;
}
.faq-accordion__icon { font-size: 18px; }
.faq-accordion__item.active .faq-accordion__icon::after { content: '\2212'; }
.faq-accordion__icon::after { content: '+'; }
.faq-accordion__answer {
  display: none;
  padding: 20px;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}
.faq-accordion__item.active .faq-accordion__answer { display: block; }


/* ---------- DOCTOR DETAIL ---------- */
.doctor-profile { padding: 50px 0; }
.doctor-profile__card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: center;
  padding-bottom: 25px;
}
.doctor-profile__photo img { width: 100%; display: block; }
.doctor-profile__name {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 15px 0 5px;
}
.doctor-profile__spec { color: #005485; font-size: 15px; margin-bottom: 5px; }
.doctor-profile__degree { font-size: 14px; color: #666; }
.doctor-bio { margin-bottom: 30px; }
.doctor-bio h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}
.doctor-bio p { color: #666; line-height: 1.8; }
.doctor-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.doctor-table th {
  text-align: left;
  padding: 10px 15px;
  background: #005485;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.doctor-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #555;
}
.doctor-table tr:nth-child(even) td { background: #f8f9fa; }
.doctor-personal {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 4px;
  margin-top: 25px;
}
.doctor-personal h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}
.doctor-personal__item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.doctor-personal__icon { color: #005485; width: 20px; text-align: center; }

/* ---------- SHOP ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.product-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}
.product-card:hover { transform: translateY(-3px); }
.product-card__image { height: 200px; overflow: hidden; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.product-card__content { padding: 20px; }
.product-card__name { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 8px; }
.product-card__price { font-size: 18px; font-weight: 700; color: #005485; margin-bottom: 10px; }
.product-card__rating { color: #f5a623; font-size: 14px; margin-bottom: 12px; }

/* ---------- INNER PAGE MOBILE RESPONSIVE ---------- */
@media (max-width: 768px) {
  .two-col { flex-direction: column; gap: 25px; }
  .about__hero .two-col__left,
  .about__hero .two-col__right { flex: 1; }
  .services-grid { gap: 15px; } .service-card { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); }
  .service-layout { flex-direction: column; }
  .service-sidebar { width: 100%; }
  .doctors-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .doctor-card { flex-direction: column; }
  .doctor-card__photo { width: 100%; height: 200px; }
  .blog-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .page-banner { height: 150px; }
  .page-banner__title { font-size: 24px; }
  .section { padding: 40px 0; }
  .section-heading { font-size: 26px; }
  .service-card__image { height: 140px; }
  .contact-map { height: 250px; }
  .cta-bar__heading { font-size: 22px; }
  .blog-article { max-width: 100%; padding: 30px 15px 40px; }
  .about__heading { font-size: 24px; }
  .about__subheading { font-size: 22px; }
}
@media (max-width: 480px) {
  .service-card { flex: 0 0 100%; max-width: 100%; }
  .team-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .inner-container { padding: 0 15px; }
}


/* ============================================================
   APPOINTMENT PICKER v48 — Complete calendar UI rewrite
   ============================================================ */

/* ===== Progress Indicator ===== */
.appt-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  padding: 20px 0;
}
.appt-progress__step {
  display: flex;
  align-items: center;
  gap: 8px;
}
.appt-progress__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e9ecef;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.appt-progress__step.active .appt-progress__dot {
  background: #005485;
  color: #fff;
  border-color: #005485;
  box-shadow: 0 2px 8px rgba(0,84,133,0.3);
}
.appt-progress__step.completed .appt-progress__dot {
  background: #005485;
  color: #fff;
  border-color: #005485;
}
.appt-progress__label {
  font-size: 13px;
  color: #aaa;
  font-weight: 600;
  transition: color 0.3s;
}
.appt-progress__step.active .appt-progress__label {
  color: #005485;
}
.appt-progress__step.completed .appt-progress__label {
  color: #005485;
}
.appt-progress__line {
  width: 50px;
  height: 2px;
  background: #e0e0e0;
  margin: 0 10px;
  transition: background 0.3s;
}
.appt-progress__line.completed {
  background: #005485;
}

/* ===== Back Button ===== */
.appt-back {
  background: none;
  border: none;
  color: #005485;
  cursor: pointer;
  font-size: 15px;
  margin-bottom: 20px;
  padding: 4px 0;
  font-family: inherit;
  font-weight: 500;
}
.appt-back:hover { text-decoration: underline; }

/* ===== Step 1: Type Cards (dark blue filled buttons) ===== */
.appt-type-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}
.appt-type-card {
  flex: 0 0 260px;
  background: #005485;
  border: none;
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,84,133,0.2);
}
.appt-type-card:hover {
  background: #003d63;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,84,133,0.35);
}
.appt-type-card__icon {
  font-size: 28px;
  color: #fff;
  opacity: 0.9;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.appt-type-card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.appt-type-card__title {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.appt-type-card__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* ===== Step 2: Doctor Grid ===== */
.appt-doctor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 25px;
}
.appt-doctor-card {
  flex: 0 0 180px;
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.appt-doctor-card:hover {
  border-color: #005485;
  box-shadow: 0 4px 18px rgba(0,84,133,0.12);
}
.appt-doctor-card.selected {
  border-color: #005485;
  background: #f0f7fc;
  box-shadow: 0 4px 18px rgba(0,84,133,0.18);
}
.appt-doctor-card__photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid #e8e8e8;
  transition: border-color 0.25s;
}
.appt-doctor-card.selected .appt-doctor-card__photo {
  border-color: #005485;
}
.appt-doctor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.appt-doctor-card__name {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin: 0 0 4px;
}
.appt-doctor-card__specialty {
  font-size: 12px;
  color: #888;
  margin: 0 0 10px;
}
.appt-doctor-card__select {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #005485;
  border: 1.5px solid #005485;
  border-radius: 20px;
  padding: 5px 20px;
  transition: all 0.25s;
}
.appt-doctor-card:hover .appt-doctor-card__select,
.appt-doctor-card.selected .appt-doctor-card__select {
  background: #005485;
  color: #fff;
}

/* ===== Step 2: Service Grid ===== */
.appt-service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 25px;
}
.appt-service-card {
  flex: 0 0 220px;
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
}
.appt-service-card:hover {
  border-color: #005485;
  box-shadow: 0 4px 18px rgba(0,84,133,0.12);
}
.appt-service-card.selected {
  border-color: #005485;
  background: #f0f7fc;
}
.appt-service-card__image {
  height: 130px;
  overflow: hidden;
}
.appt-service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.appt-service-card__name {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin: 12px 0 4px;
}
.appt-service-card__select {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #005485;
  padding: 8px 0 15px;
  transition: color 0.25s;
}
.appt-service-card.selected .appt-service-card__select {
  color: #005485;
  font-weight: 700;
}

/* ===== Step 3: Calendar + Times Layout ===== */
.appt-datetime {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}

/* --- Calendar Container --- */
.appt-calendar {
  flex: 0 0 340px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.appt-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.appt-calendar__nav {
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #005485;
  font-size: 14px;
  transition: all 0.2s;
}
.appt-calendar__nav:hover {
  background: #005485;
  color: #fff;
  border-color: #005485;
}
.appt-calendar__month {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1a202c;
}

/* --- Weekday Headers --- */
.appt-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}
.appt-calendar__wday {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 0;
}

/* --- Day Cells Grid --- */
.appt-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

/* --- Individual Day Cell --- */
.appt-cal-cell {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: default;
  transition: all 0.15s ease;
  padding: 0;
  font-family: inherit;
  gap: 2px;
}
.appt-cal-cell--empty {
  visibility: hidden;
}
.appt-cal-cell__num {
  line-height: 1;
}
.appt-cal-cell--disabled {
  color: #cbd5e0;
  cursor: default;
}
.appt-cal-cell--available {
  color: #2d3748;
  cursor: pointer;
  font-weight: 500;
}
.appt-cal-cell--available:hover {
  background: #ebf5fb;
  color: #005485;
}
.appt-cal-cell--selected {
  background: #005485 !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,84,133,0.3);
}
.appt-cal-cell--selected .appt-cal-cell__num {
  color: #fff;
}

/* Today: dot indicator below the number */
.appt-cal-cell--today {
  font-weight: 700;
}
.appt-cal-cell__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #005485;
  display: block;
}
.appt-cal-cell--selected .appt-cal-cell__dot {
  background: #fff;
}

/* ===== Time Slots ===== */
.appt-times {
  flex: 1;
}
.appt-times__heading {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 6px;
}
.appt-times__hint {
  color: #a0aec0;
  font-size: 14px;
  margin: 0;
}
.appt-times__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Time pill buttons */
.appt-time-pill {
  padding: 10px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  color: #4a5568;
  font-weight: 500;
}
.appt-time-pill:hover {
  border-color: #005485;
  color: #005485;
  background: #f7fbfe;
}
.appt-time-pill--selected {
  background: #005485 !important;
  color: #fff !important;
  border-color: #005485 !important;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,84,133,0.3);
}

/* ===== Continue / Submit Button ===== */
.appt-btn-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #005485;
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.2s ease;
}
.appt-btn-continue:hover {
  background: #003d63;
}
.appt-btn-continue:disabled {
  background: #a0aec0;
  cursor: not-allowed;
}

/* ===== Step 4: Confirm Layout ===== */
.appt-confirm-layout {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}
.appt-summary {
  flex: 0 0 280px;
  background: #f7fbfe;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 25px;
}
.appt-summary__heading {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #005485;
  margin: 0 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #005485;
}
.appt-summary__row {
  margin-bottom: 12px;
  font-size: 14px;
  color: #2d3748;
}
.appt-summary__label {
  font-weight: 600;
  color: #718096;
  display: inline-block;
  min-width: 72px;
}

/* ===== Step 4: Patient Form ===== */
.appt-form {
  flex: 1;
}
.appt-form__field {
  margin-bottom: 18px;
}
.appt-form__label {
  display: block;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 6px;
  font-size: 14px;
}
.appt-form__input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  color: #2d3748;
  background: #fff;
}
.appt-form__input:focus {
  border-color: #005485;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,84,133,0.1);
}
.appt-form__input::placeholder {
  color: #a0aec0;
}
textarea.appt-form__input {
  resize: vertical;
}

/* ============================================================
   APPOINTMENT PICKER — Mobile Responsive
   ============================================================ */
@media (max-width: 768px) {
  .appt-progress__label { display: none; }
  .appt-progress__line { width: 20px; margin: 0 6px; }
  .appt-type-cards { flex-direction: column; align-items: center; gap: 12px; }
  .appt-type-card { flex: 0 0 auto; width: 100%; max-width: 340px; }
  .appt-doctor-card { flex: 0 0 calc(50% - 15px); }
  .appt-service-card { flex: 0 0 calc(50% - 15px); }
  .appt-datetime { flex-direction: column; gap: 25px; }
  .appt-calendar { flex: 0 0 auto; width: 100%; max-width: 370px; margin: 0 auto; }
  .appt-confirm-layout { flex-direction: column; gap: 20px; }
  .appt-summary { flex: 0 0 auto; }
}
@media (max-width: 480px) {
  .appt-doctor-card { flex: 0 0 100%; }
  .appt-service-card { flex: 0 0 100%; }
  .appt-calendar { max-width: 100%; padding: 16px; }
  .appt-progress__dot { width: 30px; height: 30px; font-size: 12px; }
  .appt-type-card { padding: 20px 18px; }
  .appt-cal-cell { font-size: 13px; }
  .appt-time-pill { padding: 8px 14px; font-size: 13px; }
}

/* ===== HOME PAGE: Center services grid (5 items in 6-col grid) ===== */
.dept-tabs {
  grid-template-columns: repeat(5, 1fr);
}
.departments__inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Gynecology slug: Update service detail route ===== */
/* No CSS needed — slug handled in DB */

/* ===== APPOINTMENT FIXES v49b ===== */

/* Time grid  fixed 4-col CSS grid so AM/PM lines up perfectly */
.appt-times__grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
  flex-wrap: unset !important;
}

/* Time pills  fixed width, center-aligned text, Raleway font */
.appt-time-pill {
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  text-align: center !important;
  width: 100% !important;
  padding: 10px 8px !important;
  min-width: 0 !important;
}

/* Booking label  match site subhead style */
#appt-selection-label {
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #005485 !important;
  margin-bottom: 30px !important;
}

/* Mobile: 2 columns for time grid */
@media (max-width: 600px) {
  .appt-times__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
