/* ══════════════════════════════════════════
   MediCare BD — style.css
══════════════════════════════════════════ */
:root {
  --primary: #6c63ff;
  --primary-light: #a29bfe;
  --green: #00b894;
  --pink: #fd79a8;
  --yellow: #fdcb6e;
  --orange: #e17055;
  --blue: #0984e3;
  --dark: #2d3436;
  --gray: #636e72;
  --light: #f8f9fa;
  --white: #ffffff;
  --border: #e8ecf0;
  --shadow: 0 2px 20px rgba(108,99,255,.10);
  --shadow-md: 0 8px 30px rgba(108,99,255,.15);
  --radius: 14px;
  --navbar-h: 64px;
  --font: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--dark); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
img { max-width: 100%; }

/* ══════ SCROLLBAR ══════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 10px; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  height: var(--navbar-h);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  transition: box-shadow .3s;
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
}
.nav-left { display: flex; align-items: center; gap: 14px; }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; padding: 6px; border-radius: 8px;
  transition: background .2s;
}
.hamburger:hover { background: var(--light); }
.hamburger span {
  display: block; height: 2.5px; background: var(--dark); border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Brand */
.brand { display: flex; align-items: center; gap: 8px; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
}
.brand-name { font-size: 20px; font-weight: 700; color: var(--dark); letter-spacing: -.5px; }
.brand-name span { color: var(--primary); }

/* Nav Buttons */
.nav-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 500;
  transition: all .2s;
}
.btn-login { color: var(--primary); border: 1.5px solid var(--primary); }
.btn-login:hover { background: var(--primary); color: #fff; }
.btn-register { background: var(--primary); color: #fff; }
.btn-register:hover { background: #5a52d5; }

/* Profile Dropdown */
.profile-dropdown { position: relative; }
.profile-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 4px; border-radius: 30px;
  border: 1.5px solid var(--border); background: var(--white);
  transition: box-shadow .2s;
}
.profile-btn:hover { box-shadow: var(--shadow); }
.profile-btn img { width: 32px; height: 32px; border-radius: 50%; }
.profile-btn .fa-chevron-down { font-size: 11px; color: var(--gray); }
.profile-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,.12); min-width: 200px;
  padding: 8px 0; opacity: 0; pointer-events: none;
  transform: translateY(-8px); transition: all .2s;
  border: 1px solid var(--border);
}
.profile-dropdown.open .profile-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.profile-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; font-size: 13.5px; color: var(--dark);
  transition: background .15s;
}
.profile-menu a:hover { background: var(--light); }
.profile-menu a.logout { border-top: 1px solid var(--border); margin-top: 4px; color: var(--orange); }

/* ══════════════════════════════════════
   SIDEBAR
══════════════════════════════════════ */
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: 270px;
  background: var(--white); z-index: 1100;
  box-shadow: 4px 0 30px rgba(0,0,0,.12);
  transform: translateX(-100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.sidebar.open { transform: translateX(0); }
.sidebar-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 1050;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.sidebar-overlay.show { opacity: 1; pointer-events: all; }
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: 16px;
}
.sidebar-header button {
  width: 32px; height: 32px; border-radius: 8px; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
}
.sidebar-header button:hover { background: var(--light); }
.sidebar-nav { display: flex; flex-direction: column; padding: 12px 10px; gap: 2px; overflow-y: auto; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 10px; font-size: 14px; font-weight: 500;
  transition: background .15s, color .15s;
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: #f3f2ff; color: var(--primary); }
.sidebar-nav a i { width: 20px; text-align: center; }

/* Desktop: sidebar always visible */
@media (min-width: 992px) {
  .sidebar { transform: translateX(0) !important; box-shadow: none; border-right: 1px solid var(--border); top: var(--navbar-h); }
  .sidebar-overlay { display: none !important; }
  .sidebar-header { display: none; }
  body { padding-left: 270px; }
}

/* ══════════════════════════════════════
   BANNER / SLIDER
══════════════════════════════════════ */
.banner {
  margin-top: var(--navbar-h);
  position: relative; overflow: hidden;
  height: 220px;
}
.slides-wrapper { display: flex; height: 100%; transition: transform .5s ease; }
.slide {
  min-width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; position: relative; overflow: hidden;
}
.slide-1 { background: linear-gradient(135deg, #6c63ff 0%, #a29bfe 100%); }
.slide-2 { background: linear-gradient(135deg, #00b894 0%, #55efc4 100%); }
.slide-3 { background: linear-gradient(135deg, #0984e3 0%, #74b9ff 100%); }
.slide-4 { background: linear-gradient(135deg, #e17055 0%, #fab1a0 100%); }
.slide-5 { background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%); }

.slide-content { color: #fff; z-index: 2; }
.slide-content .badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.25); backdrop-filter: blur(6px);
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
  margin-bottom: 10px;
}
.slide-content h2 { font-size: 26px; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.slide-content h2 span { display: block; font-size: 32px; }
.slide-content p { font-size: 13px; opacity: .9; margin-bottom: 14px; }
.slide-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--dark); padding: 9px 20px;
  border-radius: 30px; font-size: 13.5px; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.slide-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.slide-img {
  font-size: 90px; color: rgba(255,255,255,.25); z-index: 1;
  position: absolute; right: 60px;
}
.slide-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5);
  transition: all .3s;
}
.dot.active { width: 22px; border-radius: 4px; background: #fff; }
.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.25); backdrop-filter: blur(6px);
  color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.slide-arrow:hover { background: rgba(255,255,255,.4); }
.prev { left: 14px; }
.next { right: 14px; }

/* ══════════════════════════════════════
   SEARCH SECTION
══════════════════════════════════════ */
.search-section {
  background: var(--white); padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  position: sticky; top: var(--navbar-h); z-index: 900;
}
.search-tabs {
  display: flex; gap: 8px; margin-bottom: 14px;
}
.stab {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 30px; font-size: 13.5px; font-weight: 500;
  border: 1.5px solid var(--border); color: var(--gray); transition: all .2s;
}
.stab.active { border-color: var(--primary); color: var(--primary); background: #f3f2ff; }
.stab:hover { border-color: var(--primary); color: var(--primary); }
.search-bar-wrap {
  max-width: 900px; display: flex; gap: 10px; align-items: center;
}
.search-input-group {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: var(--light); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 0 14px; height: 46px;
  transition: border-color .2s;
}
.search-input-group:focus-within { border-color: var(--primary); }
.search-input-group i { color: var(--gray); }
.search-input-group input {
  flex: 1; border: none; background: none; font-family: var(--font);
  font-size: 14px; outline: none;
}
.search-section select {
  height: 46px; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid var(--border); background: var(--light);
  font-family: var(--font); font-size: 13.5px; color: var(--dark); outline: none;
  cursor: pointer; min-width: 160px;
  transition: border-color .2s;
}
.search-section select:focus { border-color: var(--primary); }
.search-btn {
  height: 46px; padding: 0 24px; background: var(--primary);
  color: #fff; border-radius: 10px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  transition: background .2s, transform .15s;
}
.search-btn:hover { background: #5a52d5; transform: translateY(-1px); }

/* ══════════════════════════════════════
   STATS BAR
══════════════════════════════════════ */
.stats-bar {
  display: flex; gap: 0; border-bottom: 1px solid var(--border);
  background: var(--white);
}
.stat {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 10px; border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat i { font-size: 24px; }
.stat strong { display: block; font-size: 18px; font-weight: 700; }
.stat span { font-size: 12px; color: var(--gray); }

/* ══════════════════════════════════════
   SECTION BASE
══════════════════════════════════════ */
.section { padding: 40px 24px 60px; max-width: 1400px; margin: 0 auto; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.section-head h2 { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }

/* Filter chips */
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 500;
  border: 1.5px solid var(--border); color: var(--gray);
  transition: all .2s;
}
.chip.active, .chip:hover { border-color: var(--primary); color: var(--primary); background: #f3f2ff; }

/* ══════════════════════════════════════
   DOCTOR CARDS
══════════════════════════════════════ */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.doctor-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.doctor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #e17055; color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
.card-top {
  position: relative; background: linear-gradient(135deg, #f3f2ff, #e8f4fd);
  padding: 20px; display: flex; flex-direction: column; align-items: center;
}
.card-top img {
  width: 90px; height: 90px; border-radius: 50%;
  border: 3px solid var(--white); box-shadow: 0 4px 14px rgba(0,0,0,.1);
  object-fit: cover;
}
.card-avail {
  position: absolute; bottom: 12px; right: 12px;
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
}
.avail-yes { background: #d4edda; color: #155724; }
.avail-no { background: #f8d7da; color: #721c24; }

.card-body { padding: 14px 16px; }
.card-name { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.card-spec {
  font-size: 12.5px; color: var(--primary); font-weight: 600; margin-bottom: 8px;
  display: flex; align-items: center; gap: 5px;
}
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--gray);
}
.card-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.stars { color: #fdcb6e; font-size: 12px; }
.rating-text { font-size: 12px; color: var(--gray); }
.card-fee {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.fee-original { font-size: 12px; color: var(--gray); text-decoration: line-through; }
.fee-discounted { font-size: 16px; font-weight: 700; color: var(--green); }
.card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.btn-details {
  min-width: 0; min-height: 42px; padding: 8px 10px; border-radius: 8px; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--primary); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  white-space: nowrap;
  transition: all .2s;
}
.btn-details:hover { background: var(--primary); color: #fff; }
.btn-appoint {
  min-width: 0; min-height: 42px; padding: 8px 10px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  white-space: nowrap;
  transition: background .2s;
}
.btn-appoint:hover { background: #5a52d5; }

/* ══════════════════════════════════════
   PAGINATION
══════════════════════════════════════ */
.pagination-wrap {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 32px; flex-wrap: wrap; gap: 12px;
}
.result-info { font-size: 13.5px; color: var(--gray); }
.pagination { display: flex; gap: 6px; }
.page-btn {
  width: 36px; height: 36px; border-radius: 8px; font-size: 13.5px; font-weight: 500;
  border: 1.5px solid var(--border); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); background: #f3f2ff; }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ══════════════════════════════════════
   TEST PACKAGES
══════════════════════════════════════ */
.test-packages {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.test-pkg-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 20px;
  transition: transform .25s, box-shadow .25s; position: relative;
}
.test-pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pkg-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 12px;
}
.pkg-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.pkg-tests { font-size: 12px; color: var(--gray); margin-bottom: 10px; }
.pkg-disc { font-size: 11px; font-weight: 700; color: #fff; background: var(--orange); padding: 2px 8px; border-radius: 10px; position: absolute; top: 14px; right: 14px; }
.pkg-price { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.pkg-old { font-size: 12px; color: var(--gray); text-decoration: line-through; }
.pkg-new { font-size: 18px; font-weight: 700; color: var(--green); }
.pkg-features { list-style: none; margin-bottom: 14px; }
.pkg-features li { font-size: 12.5px; color: var(--gray); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.pkg-features li i { color: var(--green); font-size: 11px; }
.btn-book-test {
  width: 100%; padding: 10px; background: var(--primary); color: #fff;
  border-radius: 8px; font-size: 13.5px; font-weight: 600;
  transition: background .2s;
}
.btn-book-test:hover { background: #5a52d5; }

/* View All Tests Button */
.view-all-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 18px; background: var(--pink); color: #fff;
  border-radius: 8px; font-size: 13.5px; font-weight: 600;
  transition: background .2s;
}
.view-all-btn:hover { background: #e84393; }

/* ══════════════════════════════════════
   ALL TESTS PANEL
══════════════════════════════════════ */
.all-tests-panel {
  display: none; margin-top: 28px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 24px;
  position: relative;
}
.all-tests-panel.show { display: block; }
.atp-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.atp-header h3 { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.atp-header button {
  width: 34px; height: 34px; border-radius: 8px; background: var(--light);
  display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--gray);
}
.atp-filter { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.atp-filter input {
  flex: 1; min-width: 180px; height: 40px; padding: 0 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font); font-size: 13.5px; outline: none;
}
.atp-filter input:focus { border-color: var(--primary); }
.atp-filter select {
  height: 40px; padding: 0 12px; border-radius: 8px;
  border: 1.5px solid var(--border); font-family: var(--font);
  font-size: 13.5px; outline: none; background: var(--white);
}
.atp-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.test-item {
  background: var(--light); border-radius: 10px; padding: 14px;
  border: 1.5px solid var(--border); transition: border-color .2s, box-shadow .2s;
  cursor: pointer; position: relative;
}
.test-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.test-item.selected { border-color: var(--primary); background: #f3f2ff; }
.test-item.selected::after {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; top: 8px; right: 10px; color: var(--primary); font-size: 12px;
}
.ti-name { font-size: 13.5px; font-weight: 600; margin-bottom: 4px; }
.ti-cat { font-size: 11.5px; color: var(--gray); margin-bottom: 6px; }
.ti-price { display: flex; gap: 6px; align-items: center; }
.ti-old { font-size: 11.5px; color: var(--gray); text-decoration: line-through; }
.ti-new { font-size: 14px; font-weight: 700; color: var(--green); }
.ti-disc { font-size: 10.5px; background: #ffeaa7; color: #6c5a00; padding: 2px 6px; border-radius: 6px; font-weight: 600; }

.cart-float {
  margin-top: 20px; display: flex; justify-content: center;
}
.cart-float button {
  padding: 12px 32px; background: var(--green); color: #fff;
  border-radius: 30px; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 20px rgba(0,184,148,.3);
  transition: transform .2s, box-shadow .2s;
}
.cart-float button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,184,148,.4); }

/* ══════════════════════════════════════
   MODALS
══════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white); border-radius: 18px;
  width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto;
  position: relative; transform: scale(.95); transition: transform .2s;
}
.modal-overlay.open .modal-box { transform: scale(1); }
.appt-modal { max-width: 560px; }
.modal-close {
  position: sticky; top: 0; float: right; margin: 14px 14px 0 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--light); color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; z-index: 1; transition: background .2s;
}
.modal-close:hover { background: var(--border); }

/* Doctor Detail Modal Content */
.dm-header {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 24px 0; margin-top: -34px; padding-top: 54px;
}
.dm-header img {
  width: 80px; height: 80px; border-radius: 50%;
  border: 3px solid var(--primary); object-fit: cover;
}
.dm-info h3 { font-size: 18px; font-weight: 700; }
.dm-info p { font-size: 13px; color: var(--primary); font-weight: 600; }
.dm-tabs {
  display: flex; border-bottom: 1px solid var(--border); padding: 0 24px;
  margin-top: 18px; gap: 0;
}
.dm-tab {
  padding: 10px 18px; font-size: 13.5px; font-weight: 500;
  border-bottom: 2px solid transparent; color: var(--gray); transition: all .2s;
}
.dm-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.dm-tab-content { padding: 20px 24px 24px; }
.dm-tab-pane { display: none; }
.dm-tab-pane.active { display: block; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.info-item label { font-size: 11.5px; color: var(--gray); display: block; margin-bottom: 3px; }
.info-item span { font-size: 13.5px; font-weight: 600; }
.schedule-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.schedule-table th { background: var(--light); padding: 10px 14px; text-align: left; font-size: 12.5px; font-weight: 600; color: var(--gray); }
.schedule-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.schedule-table tr:last-child td { border-bottom: none; }
.slot-badge { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.slot-open { background: #d4edda; color: #155724; }
.slot-closed { background: #f8d7da; color: #721c24; }

/* Appointment Steps */
.appt-step { display: none; padding: 24px; }
.appt-step.active { display: block; }
.appt-title { font-size: 17px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.step-indicator {
  display: flex; gap: 0; margin-bottom: 24px;
}
.step-dot {
  flex: 1; text-align: center; position: relative;
  font-size: 11.5px; color: var(--gray);
}
.step-dot::before {
  content: attr(data-n);
  display: block; width: 28px; height: 28px; border-radius: 50%;
  background: var(--border); color: var(--gray); font-weight: 700; font-size: 13px;
  line-height: 28px; margin: 0 auto 4px;
}
.step-dot.active::before { background: var(--primary); color: #fff; }
.step-dot.done::before { background: var(--green); color: #fff; content: '✓'; }
.step-dot::after {
  content: ''; position: absolute; top: 14px; left: calc(50% + 14px);
  right: calc(-50% + 14px); height: 2px; background: var(--border);
}
.step-dot:last-child::after { display: none; }
.step-dot.done::after { background: var(--green); }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border-radius: 8px;
  border: 1.5px solid var(--border); font-family: var(--font);
  font-size: 13.5px; outline: none; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 80px; }

.time-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.time-slot {
  padding: 7px 14px; border-radius: 8px; border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 500; transition: all .2s; cursor: pointer;
}
.time-slot:hover { border-color: var(--primary); color: var(--primary); }
.time-slot.selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.time-slot.disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }

.appt-summary {
  background: var(--light); border-radius: 10px; padding: 16px; margin-bottom: 18px;
}
.appt-summary h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.sum-row { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 6px; }
.sum-row.total { font-weight: 700; font-size: 15px; border-top: 1px solid var(--border); padding-top: 8px; margin-top: 4px; color: var(--green); }

.btn-next, .btn-prev, .btn-confirm {
  padding: 11px 24px; border-radius: 10px; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; transition: all .2s;
}
.btn-next, .btn-confirm { background: var(--primary); color: #fff; }
.btn-next:hover, .btn-confirm:hover { background: #5a52d5; }
.btn-prev { background: var(--light); color: var(--dark); border: 1.5px solid var(--border); }
.btn-prev:hover { background: var(--border); }
.step-actions { display: flex; justify-content: space-between; margin-top: 18px; }

.success-anim {
  text-align: center; padding: 30px 20px;
}
.success-anim i { font-size: 64px; color: var(--green); margin-bottom: 14px; animation: popIn .4s ease; }
@keyframes popIn { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.success-anim h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.success-anim p { color: var(--gray); font-size: 14px; }
.appt-id { display: inline-block; background: var(--light); padding: 6px 18px; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--primary); margin: 10px 0; }

/* Payment Methods */
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.pay-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--border);
  cursor: pointer; transition: border-color .2s;
}
.pay-opt:hover { border-color: var(--primary); }
.pay-opt.selected { border-color: var(--primary); background: #f3f2ff; }
.pay-opt i { font-size: 20px; }
.pay-opt span { font-size: 14px; font-weight: 500; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: #1a1a2e; color: #ccc;
  border-top: 3px solid var(--primary);
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; gap: 40px; padding: 40px 24px;
  flex-wrap: wrap;
}
.footer-left { max-width: 260px; }
.footer-left p { font-size: 13px; line-height: 1.7; margin-bottom: 16px; opacity: .8; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: background .2s, transform .2s;
}
.social-links a:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.footer-right { flex: 1; display: flex; gap: 30px; flex-wrap: wrap; }
.footer-col { min-width: 140px; }
.footer-col h4 {
  font-size: 14.5px; font-weight: 700; color: #fff; margin-bottom: 14px;
  display: flex; align-items: center; gap: 7px;
}
.footer-col a, .footer-col p {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: #aaa; margin-bottom: 8px; transition: color .2s;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  text-align: center; padding: 16px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 13px; color: #888;
}

/* ══════════════════════════════════════
   TOAST
══════════════════════════════════════ */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: #2d3436; color: #fff; padding: 12px 24px; border-radius: 30px;
  font-size: 14px; font-weight: 500; z-index: 9999;
  box-shadow: 0 6px 24px rgba(0,0,0,.2); opacity: 0;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════════════
   LOADING SKELETON
══════════════════════════════════════ */
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 400px 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 6px;
}
