/* ============================================================
   Thai Massage & Rebalance — Sophisticated Sanctuary Theme
   Design System: Obsidian Green · Burnished Gold · Warm Cream
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,600&family=Noto+Serif+Thai:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
  /* === Sophisticated Sanctuary Palette (Obsidian Green · Burnished Gold · Warm Cream) === */
  --primary: #1A3026;
  /* Deep Obsidian Green — Navbar, Footer, Headings */
  --primary-light: #2C4A38;
  /* Lighter green for hover states */
  --primary-dark: #0F1E16;
  /* Deepest green — shadows & overlays */

  --gold: #B59410;
  /* Burnished Gold — icons, accents, CTAs */
  --gold-light: #F7F1DC;
  /* Pale gold tint — tag backgrounds */
  --gold-hover: #8E7000;
  /* Deep gold hover */
  --accent: #B59410;

  --bg-page: #FDF8F3;
  /* Warm Cream — main body background */
  --bg-card: #ffffff;
  --bg-card-subtle: #EEE8D8;
  /* Soft Sand Beige — section & card tints */
  --bg-section-alt: #E6D5B8;
  /* Sand Beige — alternate sections */

  --text-main: #2B2B2B;
  /* Charcoal — primary text */
  --text-muted: #5A5A5A;
  /* Warm mid-grey — secondary text */
  --text-light: #9A8E80;
  --text-on-dark: #FDF8F3;

  --border-color: #D9C9A8;
  /* Sand-tinted hairline border */
  --border-gold: #C9AA52;
  /* Gold accent border */

  --success: #2e6b4d;
  --success-bg: #edf7f1;
  --warning: #a36816;
  --warning-bg: #fdf6e7;
  --danger: #993333;
  --danger-bg: #fdf1f1;
  --info: #2b547e;
  --info-bg: #eff6fc;

  --shadow-sm: 0 1px 3px rgba(26, 48, 38, 0.05);
  --shadow-md: 0 4px 14px rgba(26, 48, 38, 0.09);
  --shadow-lg: 0 12px 36px rgba(26, 48, 38, 0.14);
  --shadow-gold: 0 6px 20px rgba(181, 148, 16, 0.2);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --font-display: 'Cormorant Garamond', 'Noto Serif Thai', Georgia, serif;
  --font-thai: 'Noto Serif Thai', 'Sarabun', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', 'Noto Serif Thai', Georgia, serif;
  --font-ui: 'Sarabun', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-thai);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   Navigation & Header — Luxury Wellness Theme
   ============================================================ */
.navbar {
  background: rgba(20, 40, 28, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(181, 148, 16, 0.2);
  box-shadow: 0 2px 20px rgba(15, 30, 22, 0.35);
  padding: 0.65rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--gold);
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(181, 148, 16, 0.55);
  box-shadow: 0 0 14px rgba(181, 148, 16, 0.22);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 0 18px rgba(181, 148, 16, 0.42);
}

.brand-title {
  font-family: var(--font-thai);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.3px;
  color: #ffffff;
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.68rem;
  color: #C9AA52;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: block;
  margin-top: 0.12rem;
  opacity: 0.92;
  font-family: var(--font-ui);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  flex-shrink: 1;
}

.nav-links li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-links a {
  text-decoration: none;
  color: #c8dac8;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 0.88rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.nav-links a i {
  color: var(--gold);
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(181, 148, 16, 0.12);
  transform: translateY(-1px);
}

.nav-links a:hover i {
  transform: scale(1.15);
}

.nav-links a.active {
  color: var(--gold);
  font-weight: 600;
  background: rgba(181, 148, 16, 0.14);
  box-shadow: inset 0 0 0 1px rgba(181, 148, 16, 0.28);
}

.nav-btn {
  background: linear-gradient(135deg, #B59410 0%, #8E7000 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-family: var(--font-ui);
  font-size: 0.9rem !important;
  padding: 0.48rem 1.15rem !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 3px 14px rgba(181, 148, 16, 0.35) !important;
  border: 1px solid rgba(201, 170, 82, 0.4) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-btn i {
  color: #ffffff !important;
}

.nav-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(181, 148, 16, 0.50) !important;
  filter: brightness(1.1);
}

.nav-admin-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
}

.nav-admin-link:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(160, 120, 80, 0.4) !important;
}

.nav-toggle-btn {
  display: none;
  background: rgba(15, 30, 22, 0.6);
  border: 1px solid rgba(181, 148, 16, 0.45);
  color: var(--gold);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-toggle-btn:hover {
  background: rgba(181, 148, 16, 0.18);
  color: #ffffff;
  border-color: var(--gold);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   Hero Section — Warm Zen Boutique Wellness
   ============================================================ */
.hero {
  background-color: #1A3026;
  background-image:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(181, 148, 16, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(44, 74, 56, 0.5) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B59410' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: #FDF8F3;
  padding: 5.5rem 1.5rem 7.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, #FDF8F3);
  pointer-events: none;
  z-index: 1;
}

.hero>.container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(181, 148, 16, 0.15);
  border: 1px solid rgba(181, 148, 16, 0.40);
  color: #C9AA52;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.38rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: #FDF8F3;
  letter-spacing: 0.2px;
}

.hero-title span {
  color: #C9AA52;
  font-style: italic;
}

/* Decorative golden divider under hero-title */
.hero-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #B59410, transparent);
  margin: 1.1rem auto 0;
}

.hero-desc {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  color: rgba(253, 248, 243, 0.72);
  font-weight: 300;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Secondary button override for dark hero background */
.hero-cta-group .btn-secondary {
  background: rgba(253, 248, 243, 0.10);
  color: #FDF8F3;
  border-color: rgba(253, 248, 243, 0.50);
  backdrop-filter: blur(4px);
}

.hero-cta-group .btn-secondary:hover {
  background: rgba(253, 248, 243, 0.18);
  color: #ffffff;
  border-color: rgba(253, 248, 243, 0.80);
  transform: translateY(-2px);
}

/* ============================================================
   Layout & Container
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  color: var(--gold-hover);
  font-family: var(--font-ui);
  font-size: 0.77rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  display: inline-block;
  letter-spacing: 0.2px;
}

/* Signature: เส้นทองบางใต้ section title */
.section-header .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #B59410, #D4C87A, #B59410);
  margin: 0.65rem auto 0;
  border-radius: 1px;
}

.section-subtitle {
  font-family: var(--font-ui);
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 650px;
  margin: 0.5rem auto 0;
}

/* ============================================================
   Cards & Grid
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d4c4b0;
}

.package-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.package-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.96) saturate(0.9);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.card:hover .package-img {
  filter: brightness(1) saturate(1);
  transform: scale(1.02);
}

.package-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.package-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.1px;
}

.package-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.package-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.package-price {
  font-family: var(--font-ui);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-hover);
}

.package-duration {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-card-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

/* ============================================================
   Doctor Card (with License & Avatar)
   ============================================================ */
.doctor-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}

.doctor-card:hover {
  border-color: #d4c4b0;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.doctor-avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
}

.doctor-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d4c4b0;
  box-shadow: 0 4px 16px rgba(44, 31, 20, 0.12);
}

.doctor-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--primary);
  color: var(--gold);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 2px solid #ffffff;
}

.doctor-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.doctor-license {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold-hover);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.doctor-specialty {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ============================================================
   Booking Wizard Component
   ============================================================ */
.booking-wizard {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid #D9C9A8;
  box-shadow: 0 20px 56px rgba(26, 48, 38, 0.14);
  overflow: hidden;
  max-width: 900px;
  margin: -3rem auto 0;
  position: relative;
  z-index: 10;
}

.wizard-steps {
  display: flex;
  background: #ECE8DD;
  border-bottom: 1px solid #D9C9A8;
}

.wizard-step-item {
  flex: 1;
  padding: 1rem 0.5rem;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-step-item:hover {
  color: var(--primary);
  background: rgba(181, 148, 16, 0.07);
}

.wizard-step-item.active {
  color: var(--primary);
  border-bottom-color: var(--gold);
  background: #ffffff;
  font-weight: 700;
}

.wizard-step-item.completed {
  color: var(--success);
}

.wizard-content {
  padding: 2.5rem 2rem;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Selection Cards inside Wizard */
.select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.select-card {
  position: relative;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
}

.select-card-hover-thumb {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 62px;
  height: 62px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85) translateY(-3px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
  z-index: 10;
  background: #ffffff;
}

.select-card:hover .select-card-hover-thumb {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.select-card:hover {
  border-color: var(--gold);
  background: #F5F0DE;
}

.select-card.selected {
  border-color: var(--gold);
  background: #F5F0D8;
  box-shadow: var(--shadow-gold);
}

/* Horizontal Date Strip & Carousel */
.date-selector-container {
  background: #ffffff;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(160, 120, 80, 0.08);
}

.date-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.date-nav-header-left {
  flex: 1 1 260px;
  min-width: 220px;
}

.date-quick-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-left: auto;
}

.select-card.disabled-incompatible {
  opacity: 0.55;
  background: #f8fafc;
  border-style: dashed;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

.select-card.disabled-incompatible:hover {
  border-color: var(--border-color) !important;
  background: #f8fafc !important;
  transform: none !important;
}

.date-strip-scroll {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 0.75rem 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #f1f5f9;
}

.date-strip-scroll::-webkit-scrollbar {
  height: 6px;
}

.date-strip-scroll::-webkit-scrollbar-thumb {
  background-color: var(--gold);
  border-radius: 3px;
}

.date-chip {
  flex: 0 0 84px;
  min-width: 84px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.3rem 0.5rem;
  text-align: center;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  position: relative;
}

.date-chip:hover:not(.disabled) {
  border-color: var(--gold);
  background: var(--bg-card-subtle);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.date-chip.is-available {
  border-color: rgba(16, 185, 129, 0.35);
}

.date-chip.is-available:hover:not(.disabled) {
  border-color: #10b981;
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}

.date-chip.is-full {
  background: #fffafa;
  border-color: #fecaca;
  opacity: 0.9;
}

.date-chip.is-full:hover:not(.disabled) {
  border-color: #ef4444;
  background: #fef2f2;
}

.date-chip.is-none {
  background: #f8fafc;
  border-color: #e2e8f0;
  opacity: 0.78;
}

.date-chip.is-none:hover:not(.disabled) {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.date-chip.active {
  border-color: var(--gold);
  background: linear-gradient(145deg, #1A3026 0%, #0F1E16 100%) !important;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(26, 48, 38, 0.4);
  transform: translateY(-2px);
  opacity: 1 !important;
}

.date-chip.active .date-chip-day,
.date-chip.active .date-chip-month {
  color: var(--gold);
}

.date-chip.active .date-chip-num {
  color: #ffffff;
}

.date-chip.active .date-chip-badge {
  background: var(--gold);
  color: #0F1E16;
}

.date-chip-day {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.date-chip-num {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.date-chip-month {
  font-size: 0.725rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.date-chip-badge {
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(44, 31, 20, 0.1);
  color: var(--primary);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

/* Date Availability Status Pill */
.date-chip-status {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 9999px;
  line-height: 1.2;
  white-space: nowrap;
  transition: all 0.2s ease;
  width: calc(100% - 4px);
  max-width: 76px;
}

.date-chip-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.date-chip-status.status-available {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.date-chip-status.status-available .status-dot {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.date-chip-status.status-full {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.date-chip-status.status-full .status-dot {
  background: #ef4444;
}

.date-chip-status.status-none {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.date-chip-status.status-none .status-dot {
  background: #94a3b8;
}

.date-chip.is-offday {
  border-color: #fecaca;
  background: #fff5f5;
  opacity: 0.88;
}

.date-chip-status.status-offday {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.date-chip-status.status-offday .status-dot {
  background: #ef4444;
}

/* Active State Badge Contrast */
.date-chip.active .date-chip-status.status-available {
  background: rgba(16, 185, 129, 0.25);
  color: #a7f3d0;
  border-color: rgba(16, 185, 129, 0.5);
}

.date-chip.active .date-chip-status.status-available .status-dot {
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.8);
}

.date-chip.active .date-chip-status.status-full {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.5);
}

.date-chip.active .date-chip-status.status-full .status-dot {
  background: #f87171;
}

.date-chip.active .date-chip-status.status-none {
  background: rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.2);
}

.date-chip.active .date-chip-status.status-none .status-dot {
  background: #94a3b8;
}

/* Date Strip Legend */
.date-strip-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.5rem 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.date-strip-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.date-strip-legend .legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.date-strip-legend .legend-dot.status-available {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.date-strip-legend .legend-dot.status-full {
  background: #ef4444;
}

.date-strip-legend .legend-dot.status-none {
  background: #94a3b8;
}

/* Slot Time Badges */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.slot-chip {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
}

.slot-chip .time-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.slot-chip .status-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.slot-chip:hover:not(.disabled) {
  border-color: var(--gold);
  background: var(--bg-card-subtle);
}

.slot-chip.selected {
  border-color: var(--gold-hover);
  background: var(--primary);
  color: #ffffff;
}

.slot-chip.selected .time-text,
.slot-chip.selected .status-text {
  color: #ffffff;
}

.slot-chip.disabled {
  opacity: 0.45;
  background: #f1f5f9;
  cursor: not-allowed;
  border-style: dashed;
  pointer-events: none;
}

/* ============================================================
   Forms & Inputs
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-light);
  letter-spacing: 0.1px;
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: var(--danger);
}

.form-control {
  border: 1px solid #D9C9A8;
  border-radius: var(--radius-sm);
  background: #FDF8F3;
  color: var(--text-main);
  font-family: var(--font-ui);
  padding: 0.65rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: #B59410;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(181, 148, 16, 0.14);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
  text-decoration: none;
  white-space: nowrap;
}

/* Primary button — Burnished Gold CTA */
.btn-primary,
.btn-gold {
  background: linear-gradient(135deg, #B59410 0%, #8E7000 100%);
  color: #ffffff;
  border-color: #B59410;
  box-shadow: 0 2px 10px rgba(181, 148, 16, 0.32);
}

.btn-primary:hover,
.btn-gold:hover {
  background: linear-gradient(135deg, #C8A820 0%, #9E7D00 100%);
  border-color: #9E7D00;
  box-shadow: 0 5px 18px rgba(181, 148, 16, 0.44);
  transform: translateY(-2px);
}

/* Secondary button */
.btn-secondary {
  background: transparent;
  color: #2B2B2B;
  border-color: #D9C9A8;
}

.btn-secondary:hover {
  background: #EEE8D8;
  border-color: #B59410;
  color: #1A3026;
}

/* Ghost button (สำหรับ hero — บน dark background) */
.btn-outline-light {
  background: transparent;
  color: #faf7f2;
  border-color: rgba(250, 247, 242, 0.35);
}

.btn-outline-light:hover {
  background: rgba(250, 247, 242, 0.10);
  border-color: rgba(250, 247, 242, 0.65);
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
}

.btn-danger:hover {
  background: #991b1b;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Sub-Tabs & Course Navigation Tabs */
.course-subtab-btn,
.category-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-subtab-btn .badge,
.category-tab .badge {
  transition: all 0.2s ease;
  line-height: 1.2;
}

.course-subtab-btn.active,
.category-tab.active {
  box-shadow: 0 3px 12px rgba(181, 148, 16, 0.38);
}

/* ============================================================
   Modals & Popups
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 30, 22, 0.80);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 1rem;
}

/* Ensure confirm prompt/alert always stacks on top of nested modals */
#custom-confirm-modal {
  z-index: 299999 !important;
}

/* Ensure secondary accounting modal stacks above commission settlement modal */
#post-commission-accounting-modal {
  z-index: 250000 !important;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(181, 148, 16, 0.28);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
}

.modal-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 1.75rem 1.5rem;
}

/* ============================================================
   Ticket & Receipt Component
   ============================================================ */
.ticket-box {
  border: 2px dashed var(--gold);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  background: #FDFAF2;
  position: relative;
  margin: 1.5rem 0;
}

.ticket-header {
  text-align: center;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.ticket-ref {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.ticket-label {
  color: var(--text-muted);
}

.ticket-value {
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

/* ============================================================
   Badges & Tags
   ============================================================ */
.badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.2px;
}

.badge-pending {
  background: #fdf4e0;
  color: #b07820;
  border: 1px solid #e8d5a0;
}

.badge-confirmed {
  background: #ebf4ff;
  color: #2c5282;
  border: 1px solid #bee3f8;
}

.badge-completed {
  background: #edf2eb;
  color: #4a6741;
  border: 1px solid #c6dfc3;
}

.badge-cancelled {
  background: #faeaea;
  color: #8b3a3a;
  border: 1px solid #f5c0c0;
}

/* ============================================================
   Admin Layout & Specific Styles
   ============================================================ */
.admin-app {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 270px;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(160, 120, 80, 0.2);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  z-index: 1200;
}

.admin-sidebar-header {
  padding: 1.15rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 70px;
  display: flex;
  align-items: center;
}

.sidebar-brand-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.5rem;
}

.sidebar-brand-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.sidebar-brand-icon {
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
}

.sidebar-brand-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.brand-title-main {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-title-sub {
  font-size: 0.72rem;
  color: var(--gold);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.9;
}

.sidebar-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(160, 120, 80, 0.3);
  color: var(--gold);
  border-radius: var(--radius-sm);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.sidebar-toggle-btn:hover {
  background: rgba(160, 120, 80, 0.25);
  color: #ffffff;
}

.admin-sidebar-footer {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-logout-btn {
  width: 100%;
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  padding: 0.6rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  transition: all 0.2s ease;
}

.admin-logout-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: #ef4444;
}

.admin-user-badge-container {
  padding: 0.75rem 1rem;
  margin: 0 0.5rem 0.75rem 0.5rem;
  background: rgba(160, 120, 80, 0.12);
  border: 1px solid rgba(160, 120, 80, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.25s ease;
}

#user-avatar-initials {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  border: 1.5px solid var(--gold);
  transition: all 0.25s ease;
}

/* Collapsed Sidebar on Desktop (Icon-Only Mode) */
.admin-sidebar.collapsed {
  width: 72px;
}

.admin-sidebar.collapsed .sidebar-brand-group {
  display: none !important;
}

.admin-sidebar.collapsed .sidebar-brand-wrapper {
  justify-content: center;
}

.admin-sidebar.collapsed .sidebar-toggle-btn {
  width: 38px;
  height: 38px;
  margin: 0 auto;
}

.admin-sidebar.collapsed .admin-user-badge-container {
  padding: 0.6rem 0 !important;
  margin: 0 0.35rem 0.75rem 0.35rem !important;
  justify-content: center !important;
  gap: 0 !important;
}

.admin-sidebar.collapsed .admin-user-badge-container .user-badge-details,
.admin-sidebar.collapsed .admin-user-badge-container>div:last-child {
  display: none !important;
}

.admin-sidebar.collapsed #user-avatar-initials {
  margin: 0 auto !important;
}

.admin-sidebar.collapsed .admin-nav-item span:not(.nav-item-badge),
.admin-sidebar.collapsed .admin-logout-text {
  display: none !important;
}

.admin-sidebar.collapsed .admin-nav-item a {
  justify-content: center;
  padding: 0.85rem 0;
  position: relative;
}

.admin-sidebar.collapsed .admin-nav-item a i {
  font-size: 1.25rem;
  margin: 0 !important;
}

.admin-sidebar.collapsed .admin-nav-item .nav-item-badge {
  position: absolute;
  top: 6px;
  right: 14px;
  margin-left: 0;
  font-size: 0.6rem;
  padding: 0.1rem 0.35rem;
  min-width: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--bg-sidebar, #1e1b18);
  z-index: 2;
}

/* Elegant Floating Tooltip on Hover in Collapsed Mode */
.admin-sidebar.collapsed .admin-nav-item {
  position: relative;
}

.admin-sidebar.collapsed .admin-nav-item:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44, 31, 20, 0.95);
  backdrop-filter: blur(6px);
  color: #faf7f2;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 10000;
  animation: fadeInTooltip 0.15s ease;
}

.admin-nav-category {
  padding: 0.85rem 1.1rem 0.35rem 1.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e6ca65;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  user-select: none;
}

.admin-nav-category i {
  font-size: 0.75rem;
  opacity: 0.9;
}

.admin-sidebar.collapsed .admin-nav-category {
  display: none !important;
}

.admin-sidebar.collapsed .admin-nav-item:hover::before {
  content: '';
  position: absolute;
  left: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 6px 5px 0;
  border-style: solid;
  border-color: transparent var(--gold) transparent transparent;
  z-index: 10000;
}

@keyframes fadeInTooltip {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.admin-sidebar-footer {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}

.admin-pass-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  transition: all 0.2s ease;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
}

.admin-pass-btn i {
  color: #94a3b8;
}

.admin-pass-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.admin-logout-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  transition: all 0.2s ease;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
}

.admin-logout-btn i {
  color: #94a3b8;
}

.admin-logout-btn:hover {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
  color: #fca5a5 !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
  transform: translateY(-1px);
}

.admin-logout-btn:hover i {
  color: #ef4444;
}

.admin-sidebar.collapsed .admin-pass-btn,
.admin-sidebar.collapsed .admin-logout-btn {
  padding: 0 !important;
  width: 42px !important;
  height: 40px !important;
  margin: 0 auto !important;
  border-radius: var(--radius-sm);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.admin-sidebar.collapsed .admin-pass-btn i,
.admin-sidebar.collapsed .admin-logout-btn i {
  font-size: 1.15rem !important;
  margin: 0 !important;
}

/* Brand Logo Image Utilities */
.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.05);
}

.admin-nav {
  list-style: none;
  padding: 1rem 0;
  flex-grow: 1;
  overflow-y: auto;
}

.admin-nav-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.admin-nav-item a i {
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.admin-nav-item .nav-item-badge {
  margin-left: auto;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  line-height: 1.1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}

.admin-nav-item a:hover,
.admin-nav-item.active a {
  color: #ffffff;
  background: rgba(160, 120, 80, 0.15);
  border-left: 4px solid var(--gold);
}

.admin-main {
  flex-grow: 1;
  background: var(--bg-page);
  padding: 2rem;
  overflow-y: auto;
  max-height: 100vh;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.2px;
}

.topbar-subtitle {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Booking Card & Treatment Section in Admin */
.admin-booking-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.admin-booking-header {
  background: var(--bg-card-subtle);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.admin-booking-body {
  padding: 1.25rem 1.5rem;
}

/* Treatment Records Section directly below Booking */
.admin-treatment-section {
  background: #fafaf9;
  border-top: 2px dashed #e2e8f0;
  padding: 1.25rem 1.5rem;
}

.treatment-record-item {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 0.75rem;
}

/* Tables */
.data-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th {
  background: var(--bg-card-subtle);
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.data-table tr:hover {
  background: #fdfbf7;
}

/* Stats Cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.stat-card-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.stat-card-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-card-desc {
  font-size: 0.8rem;
  color: var(--success);
  margin-top: 0.25rem;
}

/* Footer */
.footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem;
  border-top: 3px solid rgba(181, 148, 16, 0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.mobile-menu-btn {
  display: none;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 22, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

/* Responsive Navigation & Breakpoints */
@media (max-width: 1320px) and (min-width: 1081px) {
  .nav-container {
    padding: 0 0.85rem;
    gap: 0.5rem;
  }

  .brand-subtitle {
    max-width: 240px;
  }

  .nav-links {
    gap: 0.35rem;
  }

  .nav-links a {
    font-size: 0.84rem;
    padding: 0.3rem 0.42rem;
    gap: 0.25rem;
  }

  .nav-btn {
    font-size: 0.82rem !important;
    padding: 0.38rem 0.75rem !important;
  }

  .brand-title {
    font-size: 1.05rem;
  }
}

@media (max-width: 1180px) and (min-width: 1081px) {
  .brand-subtitle {
    display: none;
  }

  .brand-title {
    font-size: 1rem;
  }

  .nav-links {
    gap: 0.25rem;
  }

  .nav-links a {
    font-size: 0.8rem;
    padding: 0.25rem 0.35rem;
  }

  .nav-links a i {
    font-size: 0.8rem;
  }

  .nav-btn {
    padding: 0.35rem 0.65rem !important;
  }
}

@media (max-width: 1080px) {
  .nav-toggle-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15, 30, 22, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 0.6rem;
    border-bottom: 2px solid rgba(181, 148, 16, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    display: block;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.15rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-size: 1rem;
    gap: 0.75rem;
    width: 100%;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(181, 148, 16, 0.16);
    color: var(--gold);
    border-color: rgba(181, 148, 16, 0.42);
    transform: translateX(4px);
  }

  .nav-links .nav-btn {
    text-align: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.75rem 1.25rem !important;
    font-size: 1rem !important;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    font-size: 0.65rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .wizard-content {
    padding: 1.5rem 1rem;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hide-mobile {
    display: none !important;
  }

  .admin-app {
    flex-direction: column;
  }

  .admin-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    width: 270px !important;
    transform: translateX(-100%);
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.5);
  }

  .admin-sidebar.mobile-open {
    transform: translateX(0);
  }

  .sidebar-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  .admin-main {
    padding: 1rem;
    width: 100%;
  }
}

/* ============================================================
   Interactive Image Cropper & Repositioner
   ============================================================ */
.cropper-viewport-wrapper {
  position: relative;
  margin: 0 auto;
  display: inline-block;
  cursor: grab;
  user-select: none;
  background: #0f172a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cropper-viewport-wrapper:active {
  cursor: grabbing;
}

.cropper-viewport-wrapper.circular {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 3px solid var(--gold);
}

.cropper-viewport-wrapper.rectangular {
  width: 320px;
  height: 180px;
  border-radius: var(--radius-md);
  border: 3px solid var(--gold);
}

.cropper-viewport-wrapper canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   Print Media Styles (Print ONLY Appointment Ticket)
   ============================================================ */
@media print {
  @page {
    margin: 1.5cm;
    size: auto;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 11pt;
  }

  /* Hide all website clutter when printing */
  .navbar,
  .hero,
  #packages,
  #doctors,
  .footer,
  .wizard-steps,
  #confirm-buttons-group,
  #booking-success-message,
  #after-booking-buttons,
  .btn,
  .btn-group,
  button,
  .modal-header,
  .modal-close,
  .admin-sidebar,
  .admin-topbar,
  .admin-nav {
    display: none !important;
  }

  #booking {
    padding: 0 !important;
  }

  .booking-wizard {
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .wizard-content {
    padding: 0 !important;
  }

  .step-panel {
    display: none !important;
  }

  .step-panel#panel-5 {
    display: block !important;
  }

  .step-panel#panel-5>h3,
  .step-panel#panel-5>p {
    display: none !important;
  }

  /* Modal print mode */
  .modal-overlay {
    position: static !important;
    background: transparent !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
  }

  .modal-card {
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .modal-body {
    padding: 0 !important;
  }

  .modal-body .form-group {
    display: none !important;
  }

  /* Ticket Box Print Optimization */
  .ticket-box {
    border: 2px solid #000000 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    padding: 1.5rem 2rem !important;
    margin: 0 auto 1.5rem !important;
    max-width: 650px !important;
    page-break-inside: avoid;
    border-radius: 8px !important;
  }

  .ticket-header {
    border-bottom: 2px solid #000000 !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.25rem !important;
  }

  .ticket-ref {
    color: #000000 !important;
    font-size: 20pt !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
  }

  .ticket-row {
    font-size: 11pt !important;
    margin-bottom: 0.5rem !important;
  }

  .ticket-label {
    color: #333333 !important;
    font-weight: 500 !important;
  }

  .ticket-value {
    color: #000000 !important;
    font-weight: 700 !important;
  }

  .badge {
    border: 1px solid #000000 !important;
    background: transparent !important;
    color: #000000 !important;
  }

  .treatment-record-item {
    border: 1px solid #000000 !important;
    background: #ffffff !important;
    page-break-inside: avoid;
    margin-top: 1rem !important;
  }
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  transform: translateY(-1px);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.validation-msg {
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slot Generator & Templates Styling */
.slot-tpl-btn {
  transition: all 0.2s ease;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
}

.slot-tpl-btn.active {
  background: var(--primary) !important;
  color: var(--gold) !important;
  border-color: var(--gold) !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(26, 48, 38, 0.25);
}

.gen-slot-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.gen-slot-row:hover {
  border-color: var(--border-gold);
  background: #fffdf9;
}

.gen-slot-row.disabled {
  opacity: 0.5;
  background: #f1f5f9;
}

.slot-duration-pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 600;
  white-space: nowrap;
}

/* User Management & Permission Matrix Styles */
.perm-matrix-table th {
  background: #f8fafc;
  color: var(--primary);
  font-size: 0.82rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 2px solid #e2e8f0;
}

.perm-matrix-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.perm-matrix-table tr:hover {
  background: #fffdf9;
}

.perm-checkbox {
  width: 17px;
  height: 17px;
  cursor: pointer;
  accent-color: var(--primary);
}

.user-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  border: 1.5px solid var(--border-gold);
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.role-badge-admin {
  background: rgba(160, 120, 80, 0.18);
  color: #92400e;
  border: 1px solid rgba(160, 120, 80, 0.4);
}

.role-badge-staff {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.role-badge-cashier {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.role-badge-doctor {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.role-badge-custom {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.perm-chip {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  margin: 0.1rem;
}

/* ============================================================
   Interactive Luxury Image Dropzone
   ============================================================ */
.image-dropzone {
  position: relative;
  border: 2px dashed var(--gold, #a07850);
  border-radius: 12px;
  background: #fffdf9;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-dropzone:hover {
  background: #FDFAF2;
  border-color: #B59410;
  box-shadow: 0 4px 15px rgba(181, 148, 16, 0.16);
}

.image-dropzone.is-dragover {
  background: #F7F0CC;
  border-color: #8E7000;
  border-style: solid;
  transform: scale(1.01);
  box-shadow: 0 0 0 4px rgba(181, 148, 16, 0.28);
}

.dropzone-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  pointer-events: none;
  width: 100%;
}

.dropzone-icon {
  font-size: 2.2rem;
  color: var(--gold-hover, #8a6340);
  transition: transform 0.25s;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.image-dropzone:hover .dropzone-icon {
  transform: translateY(-3px);
}

.dropzone-title {
  font-weight: 700;
  color: var(--primary, #0f172a);
  font-size: 0.95rem;
  line-height: 1.3;
}

.dropzone-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
  line-height: 1.2;
}

.dropzone-preview-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  width: 100%;
}

.dropzone-preview-box.hidden,
.dropzone-prompt.hidden,
.hidden {
  display: none !important;
}

.dropzone-preview-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #B59410;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  background: #ffffff;
}

.dropzone-preview-meta {
  flex-grow: 1;
}

.dropzone-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* ============================================================
   Drag & Drop Table Rows
   ============================================================ */
.draggable-row {
  transition: background-color 0.2s, transform 0.15s;
}

.draggable-row .drag-handle {
  cursor: grab;
  color: #cbd5e1;
  padding: 0.35rem 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.draggable-row:hover .drag-handle {
  color: var(--gold-hover);
  background: #fdf6e7;
}

.draggable-row.is-dragging {
  opacity: 0.45;
  background: #fefce8 !important;
}

.draggable-row.drag-over-top {
  border-top: 3px solid var(--gold) !important;
}

.draggable-row.drag-over-bottom {
  border-bottom: 3px solid var(--gold) !important;
}

.btn-order-move {
  background: transparent;
  border: 1px solid #e2e8f0;
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.15s;
}

.btn-order-move:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ============================================================
   Homepage Featured Showcase / Promotions Section
   ============================================================ */
.featured-showcase-section {
  background: linear-gradient(180deg, #FDF8F3 0%, #f5eedd 100%);
  padding: 2.5rem 0 1.5rem 0;
  border-bottom: 1px solid #D9C9A8;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.featured-promo-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #D9C9A8;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(26, 48, 38, 0.07);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.featured-promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(26, 48, 38, 0.14);
  border-color: var(--gold);
}

.featured-img-wrap {
  height: 350px;
  position: relative;
  overflow: hidden;
  background: #1A3026;
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-promo-card:hover .featured-img-wrap img {
  transform: scale(1.05);
}

.promo-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #B59410 0%, #8E7000 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.featured-duration-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 30, 22, 0.88);
  backdrop-filter: blur(4px);
  color: #C9AA52;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(181, 148, 16, 0.4);
}

.featured-body,
.featured-card-body {
  padding: 1.25rem 0.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-pkg-title,
.featured-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  padding-left: 10px;
}

.featured-pkg-desc,
.featured-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  padding: 0 10px;
  flex-grow: 1;
}

.featured-footer,
.featured-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed #e2e8f0;
  padding: 1rem 10px 0.25rem 10px;
  margin-top: auto;
}

.featured-price-wrap {
  display: flex;
  flex-direction: column;
}

.featured-price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.featured-price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-hover);
}

.featured-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-hover);
}

.featured-price small {
  font-size: 0.8rem;
  font-weight: normal;
  color: var(--text-muted);
}

/* ============================================================
   Slot Template Card (Settings)
   ============================================================ */
.slot-template-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  transition: all 0.2s;
}

.slot-template-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.slot-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0.15rem;
}

/* ============================================================
   View Mode Switcher (List vs Google Calendar)
   ============================================================ */
.view-mode-toggle {
  display: inline-flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  gap: 2px;
}

.view-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-mode-btn:hover {
  color: var(--primary);
}

.view-mode-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

/* ============================================================
   Google Calendar Style View for Admin Bookings
   ============================================================ */
.admin-calendar-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-top: 1rem;
}

.calendar-header-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.calendar-nav-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calendar-nav-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.85rem;
}

.calendar-nav-btn:hover {
  background: #f8fafc;
  border-color: var(--gold);
}

.calendar-today-btn {
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.calendar-today-btn:hover {
  background: #f8fafc;
  border-color: var(--gold);
}

.calendar-current-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.calendar-legend-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.calendar-legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.calendar-legend-pill span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.calendar-legend-pill.conf span.dot {
  background: #059669;
}

.calendar-legend-pill.pend span.dot {
  background: #d97706;
}

.calendar-legend-pill.comp span.dot {
  background: #2563eb;
}

.calendar-legend-pill.canc span.dot {
  background: #94a3b8;
}

/* Calendar Month Grid */
.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #e2e8f0;
  gap: 1px;
  border-bottom: 1px solid #e2e8f0;
}

.calendar-day-header-cell {
  background: #f8fafc;
  padding: 0.65rem 0.5rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calendar-day-header-cell.is-weekend {
  color: #dc2626;
}

.calendar-day-cell {
  background: #ffffff;
  min-height: 120px;
  padding: 0.4rem 0.45rem;
  display: flex;
  flex-direction: column;
  transition: background 0.15s ease;
  position: relative;
}

.calendar-day-cell:hover {
  background: #fdfdfd;
}

.calendar-day-cell.is-other-month {
  background: #fafafa;
  opacity: 0.6;
}

.calendar-day-cell.is-today {
  background: #f0fdf4;
}

.calendar-day-cell-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.calendar-day-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.calendar-day-cell.is-today .calendar-day-num {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(26, 48, 38, 0.4);
}

.calendar-day-badge-cnt {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 1px 5px;
  border-radius: 10px;
}

/* Event Chips in Calendar */
.calendar-events-container {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-grow: 1;
  overflow-y: auto;
  max-height: 90px;
}

.calendar-event-card {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
}

.calendar-event-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  filter: brightness(1.08);
}

.calendar-event-card.event-confirmed {
  background: #059669;
  border-left: 3px solid #047857;
}

.calendar-event-card.event-pending {
  background: #d97706;
  border-left: 3px solid #b45309;
}

.calendar-event-card.event-completed {
  background: #2563eb;
  border-left: 3px solid #1d4ed8;
}

.calendar-event-card.event-cancelled {
  background: #94a3b8;
  border-left: 3px solid #64748b;
  text-decoration: line-through;
  opacity: 0.75;
}

.calendar-event-time {
  font-family: monospace;
  font-size: 0.68rem;
  opacity: 0.95;
  font-weight: 700;
  flex-shrink: 0;
}

.calendar-event-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-grow: 1;
}

.calendar-more-events-btn {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-hover);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
  background: #fffdf9;
  border: 1px dashed var(--border-gold);
  text-align: center;
  margin-top: 2px;
  transition: all 0.15s;
}

.calendar-more-events-btn:hover {
  background: #fff8eb;
  color: var(--primary);
}

/* Quick Event Modal / Popover */
.calendar-quick-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.15s ease-out;
}

@media (max-width: 900px) {
  .calendar-day-cell {
    min-height: 90px;
    padding: 0.25rem;
  }

  .calendar-current-title {
    font-size: 1.05rem;
  }

  .calendar-event-card {
    font-size: 0.68rem;
    padding: 2px 4px;
  }
}

/* ============================================================
   Real-Time Notification Bell & Dropdown (Admin Topbar)
   ============================================================ */
.notification-bell-btn {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--primary);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notification-bell-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--gold-hover);
  transform: scale(1.05);
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 9999px;
  padding: 1px 6px;
  line-height: 1.2;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
}

.notification-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 340px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(44, 31, 20, 0.18);
  border: 1px solid var(--border-color);
  z-index: 1050;
  animation: fadeIn 0.18s ease-out;
  overflow: hidden;
}

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9rem;
  color: var(--primary);
}

.btn-clear-notif {
  background: none;
  border: none;
  font-size: 0.75rem;
  color: var(--gold-hover);
  cursor: pointer;
  font-weight: 600;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
}

.btn-clear-notif:hover {
  text-decoration: underline;
  background: rgba(160, 120, 80, 0.1);
}

.notif-list {
  max-height: 340px;
  overflow-y: auto;
}

.notif-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.notif-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.notif-item:hover {
  background: #f8fafc;
}

.notif-item.unread {
  background: #fffdf5;
  border-left: 3px solid var(--gold);
}

.notif-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.notif-item-content {
  flex-grow: 1;
  min-width: 0;
}

.notif-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.notif-item-desc {
  font-size: 0.78rem;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.notif-item-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ============================================================
   Portfolio Showcase Styles (Before & After)
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.portfolio-img-compare {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #1e293b;
  display: flex;
}

.portfolio-split-img {
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.portfolio-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-split-img img {
  transform: scale(1.05);
}

.portfolio-badge-before {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.portfolio-badge-after {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(4, 120, 87, 0.85);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.portfolio-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-tag {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold-hover);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.portfolio-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.portfolio-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Portfolio Card Drag & Drop Admin Styles */
.portfolio-card.admin-draggable-portfolio {
  position: relative;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.portfolio-card.admin-draggable-portfolio.is-dragging {
  opacity: 0.35 !important;
  transform: scale(0.96);
  border: 2px dashed var(--gold) !important;
}

.portfolio-card.admin-draggable-portfolio.drag-over-card {
  border: 2px solid var(--gold-hover) !important;
  box-shadow: 0 0 20px rgba(160, 120, 80, 0.4) !important;
  transform: translateY(-5px) scale(1.02);
}

.portfolio-drag-handle {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.82);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  z-index: 5;
  cursor: grab;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(160, 120, 80, 0.4);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.portfolio-drag-handle:hover {
  background: var(--primary);
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   Customer Review & Rating Stars UI
   ============================================================ */
.rating-stars {
  display: inline-flex;
  gap: 0.25rem;
  color: #f59e0b;
}

.star-interactive {
  font-size: 1.75rem;
  cursor: pointer;
  color: #d1d5db;
  transition: all 0.15s ease;
}

.star-interactive.active,
.star-interactive:hover,
.star-interactive.hover {
  color: #f59e0b;
  transform: scale(1.15);
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.review-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fef3c7;
  color: #b45309;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

/* ============================================================
   Realtime Online Visitor Pill & Pulse Indicator
   ============================================================ */
.online-users-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.12);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.online-users-pill:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
}

.online-pulse-dot {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.online-pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.45);
  animation: pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  70% {
    transform: scale(2.2);
    opacity: 0;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* PromptPay QR UI Box */
.promptpay-qr-card {
  background: #ffffff;
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  margin: 1rem 0;
}

.promptpay-qr-card img {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  padding: 0.5rem;
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.promptpay-qr-card img:hover {
  transform: scale(1.03);
}

/* ============================================================
   Floor Plan Fullscreen Mode Styles
   ============================================================ */
.floor-plan-wrapper.is-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  z-index: 9999 !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
  background: #f3ede3 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
}

.floor-plan-wrapper.is-fullscreen #floor-plan-fs-header {
  display: flex !important;
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: 1.5px solid var(--border-gold) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
  flex-shrink: 0 !important;
  z-index: 100 !important;
}

.floor-plan-wrapper.is-fullscreen #floor-plan-canvas {
  flex: 1 1 0% !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  position: relative !important;
}

/* ============================================================
   Custom Right-Click Context Menu for Floor Plan
   ============================================================ */
.custom-context-menu {
  position: fixed;
  z-index: 100000;
  background: #ffffff;
  border-radius: 8px;
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 10px 25px rgba(44, 31, 20, 0.22);
  min-width: 190px;
  padding: 0.35rem 0;
  animation: contextMenuPop 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

@keyframes contextMenuPop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.custom-context-menu .context-menu-header {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: #faf7f2;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-context-menu .context-menu-item {
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.custom-context-menu .context-menu-item:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary);
  padding-left: 1rem;
}

.custom-context-menu .context-menu-item i {
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}

.custom-context-menu .context-menu-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0.3rem 0;
}

/* ============================================================
   Floor Plan Room Booking Hover Card (Rich Glassmorphism Popover)
   ============================================================ */
@keyframes pulse-in-use {
  0%, 100% {
    box-shadow: 0 0 10px rgba(251, 146, 60, 0.5), 0 4px 12px rgba(0,0,0,0.25);
    border-color: #fb923c;
  }
  50% {
    box-shadow: 0 0 20px rgba(251, 146, 60, 0.9), 0 6px 16px rgba(0,0,0,0.35);
    border-color: #fed7aa;
  }
}

.floor-plan-room {
  position: relative;
}

.floor-plan-room.status-in_use {
  animation: pulse-in-use 2.2s infinite ease-in-out;
}

.room-booking-hover-card {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 280px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--border-gold);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(44, 31, 20, 0.22);
  padding: 0.75rem 0.9rem;
  color: var(--text-main);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  text-align: left;
}

/* Arrow Tip (Top-pointing by default for bottom-placed card) */
.room-booking-hover-card::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 7px 0 7px;
  border-style: solid;
  border-color: var(--border-gold) transparent transparent transparent;
}

/* When room is near top edge, display popover below the room */
.room-booking-hover-card.popover-bottom {
  bottom: auto;
  top: calc(100% + 10px);
  transform: translateX(-50%) translateY(-6px);
}

.room-booking-hover-card.popover-bottom::after {
  top: auto;
  bottom: 100%;
  border-width: 0 7px 6px 7px;
  border-color: transparent transparent var(--border-gold) transparent;
}

.floor-plan-room:hover .room-booking-hover-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.floor-plan-room:hover .room-booking-hover-card.popover-bottom {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Header inside hover card */
.hover-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.4rem;
  margin-bottom: 0.45rem;
}

.hover-card-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
  color: #475569;
}

.hover-card-row strong {
  color: var(--primary);
  font-weight: 600;
}

.hover-card-row i {
  width: 14px;
  text-align: center;
  font-size: 0.8rem;
}

/* ============================================================
   View Mode Switcher (List vs Calendar vs Kanban)
   ============================================================ */
.view-mode-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 2px;
}

.view-mode-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.38rem 0.75rem;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.18s ease;
}

.view-mode-btn i {
  font-size: 0.85rem;
}

.view-mode-btn:hover {
  color: var(--primary);
  background: rgba(35, 28, 22, 0.05);
}

.view-mode-btn.active {
  background: #ffffff;
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

/* ============================================================
   Prominent Eye-Catching Walk-In Action Button (Sober Clean)
   ============================================================ */
.btn-walkin-prominent {
  background: var(--primary);
  color: #ffffff !important;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
  box-shadow: 0 1px 3px rgba(35, 28, 22, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-walkin-prominent:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(35, 28, 22, 0.18);
  color: #ffffff !important;
}

.btn-walkin-prominent:active {
  transform: translateY(0);
}

.btn-walkin-prominent i {
  color: var(--gold-light);
  font-size: 0.9rem;
}

/* ============================================================
   Table Pagination & Interactive Filter Toolbar
   ============================================================ */
.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 0.85rem;
}

.table-toolbar-search {
  position: relative;
  min-width: 260px;
  flex: 1;
  max-width: 380px;
}

.table-toolbar-search i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.table-toolbar-search input {
  padding-left: 2.2rem;
  font-size: 0.85rem;
  border-radius: 6px;
  width: 100%;
}

.table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.table-pagination-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.page-btn {
  padding: 0.3rem 0.65rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--text-main);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 32px;
  text-align: center;
}

.page-btn:hover:not(:disabled) {
  background: #f8fafc;
  border-color: var(--gold);
  color: var(--primary);
}

.page-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(44, 31, 20, 0.25);
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Toggle Switch Styles */
.switch,
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input,
.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
}

input:checked+.slider {
  background-color: #10b981;
}

input:focus+.slider {
  box-shadow: 0 0 1px #10b981;
}

input:checked+.slider:before {
  transform: translateX(20px);
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

.custom-tooltip-wrapper {
  position: relative;
  display: inline-flex;
}

.custom-tooltip-text {
  visibility: hidden;
  opacity: 0;
  background-color: #334155;
  color: #fff;
  text-align: center;
  padding: 4px 8px;
  border-radius: 4px;
  position: absolute;
  z-index: 100;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  transition: opacity 0.2s;
  pointer-events: none;
}

.custom-tooltip-wrapper:hover .custom-tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ============================================================
   Admin Layout Panels & Essential Utility Classes
   ============================================================ */
.admin-view-panel {
  display: block;
}

.hidden {
  display: none !important;
}

.relative {
  position: relative !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

.w-full {
  width: 100% !important;
}

.w-100 {
  width: 100% !important;
}

.w-auto {
  width: auto !important;
}

.m-0 {
  margin: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-06 {
  margin-bottom: 0.65rem !important;
}

.mb-25 {
  margin-bottom: 1.5rem !important;
}

.p-25 {
  padding: 1.5rem !important;
}

.p-3 {
  padding: 1rem 1.25rem !important;
}

.font-bold {
  font-weight: 700 !important;
}

.opacity-40 {
  opacity: 0.4 !important;
}

.pr-input {
  padding-right: 2.5rem !important;
}

/* Flex Utilities */
.flex-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.flex-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
}

.flex-between-wrap {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
}

/* Typography & Colors */
.text-center {
  text-align: center !important;
}

.text-xs {
  font-size: 0.75rem !important;
}

.text-sm {
  font-size: 0.85rem !important;
}

.text-base {
  font-size: 0.9rem !important;
}

.text-md {
  font-size: 1rem !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-gold {
  color: var(--gold) !important;
}

.text-success {
  color: var(--success) !important;
}

.text-error {
  color: var(--danger) !important;
}

/* Badges & Form utilities */
.badge-gold {
  background: var(--gold-light);
  color: var(--gold-hover);
  border: 1px solid var(--border-gold);
}

.form-control-sm {
  padding: 0.35rem 0.65rem !important;
  font-size: 0.82rem !important;
  height: auto !important;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-text {
  font-size: 0.78rem;
  margin-top: 0.3rem;
  display: block;
}

/* Filter Card */
.filter-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* Table Utilities */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Floor Tab Button (Rooms View) */
.floor-tab-btn {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.floor-tab-btn:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--gold);
}

.floor-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  font-weight: 600;
}

/* Topbar Components */
.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.header-notification-wrapper {
  position: relative;
  display: inline-flex;
}

/* Stats Card Specific */
.stat-card-val {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-card-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ============================================================
   Featured Promo Card & Modal Slider Controls
   ============================================================ */
.promo-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(26, 48, 38, 0.82);
  color: #ffffff;
  border: 1.5px solid rgba(230, 213, 184, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  font-size: 0.95rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  outline: none;
}

.promo-slider-btn:hover {
  background: var(--gold);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 18px rgba(181, 148, 16, 0.5);
}

.promo-slider-btn.prev {
  left: 10px;
}

.promo-slider-btn.next {
  right: 10px;
}

.promo-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 6;
  background: rgba(15, 30, 22, 0.8);
  padding: 5px 10px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(230, 213, 184, 0.25);
}

.promo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
}

.promo-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.promo-dot.active {
  background: var(--gold);
  width: 18px;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(181, 148, 16, 0.8);
}

.promo-counter-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 30, 22, 0.82);
  color: #f1f5f9;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 14px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(230, 213, 184, 0.25);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.modal-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26, 48, 38, 0.78);
  color: #ffffff;
  border: 1.5px solid rgba(230, 213, 184, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  font-size: 1.1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  outline: none;
}

.modal-slider-btn:hover {
  background: var(--gold);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.modal-slider-btn.prev {
  left: 12px;
}

.modal-slider-btn.next {
  right: 12px;
}

.modal-img-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 30, 22, 0.82);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(230, 213, 184, 0.3);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ============================================================
   Admin Packages Table Symbols & Custom Popovers
   ============================================================ */
.table-sym-hover-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.table-sym-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.table-sym-badge.is-featured {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
  border: 1.5px solid #f59e0b;
}

.table-sym-badge.is-featured:hover {
  transform: scale(1.15) rotate(12deg);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.table-sym-badge.is-not-featured {
  background: #f8fafc;
  color: #cbd5e1;
  border: 1.5px solid #e2e8f0;
}

.table-sym-badge.is-not-featured:hover {
  background: #f1f5f9;
  color: #94a3b8;
  transform: scale(1.08);
}

.table-sym-badge.is-active {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  border: 1.5px solid #10b981;
}

.table-sym-badge.is-active:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.table-sym-badge.is-inactive {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  border: 1.5px solid #ef4444;
}

.table-sym-badge.is-inactive:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

/* Beautiful Custom Floating Popover (no native tooltip) */
.table-sym-popover {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #1A3026;
  color: #ffffff;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  white-space: nowrap;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(230, 213, 184, 0.35);
  z-index: 100;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  text-align: center;
}

/* Arrow Notch */
.table-sym-popover::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #1A3026 transparent transparent transparent;
}

.table-sym-hover-wrap:hover .table-sym-popover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.table-sym-popover .popover-title {
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.table-sym-popover .popover-subtitle {
  font-size: 0.72rem;
  color: #E6D5B8;
  margin-top: 2px;
}

/* ============================================================
   Public Reviews & Testimonials Showcase
   ============================================================ */
.reviews-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.review-showcase-card {
  background: #ffffff;
  border: 1px solid #D9C9A8;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(26, 48, 38, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.review-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(26, 48, 38, 0.1);
  border-color: var(--gold);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #faf5ee;
  border: 1.5px solid var(--gold);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.review-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.15rem 0;
}

.review-stars-row {
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.review-feedback-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #334155;
  margin: 0 0 1rem 0;
  flex: 1;
  font-style: italic;
  position: relative;
}

.review-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.review-tag-pill {
  font-size: 0.72rem;
  background: #f8fafc;
  color: #475569;
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.review-card-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   Doctor Weekly Off-Days Color Pills
   ============================================================ */
.day-pill-container {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.day-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.day-pill input[type="checkbox"] {
  width: 15px;
  height: 15px;
  cursor: pointer;
  margin: 0;
}

.day-pill:hover {
  transform: translateY(-1px);
}

/* Sunday - Red */
.day-pill-sun { background: #fff1f2; border: 1.5px solid #fca5a5; color: #b91c1c; }
.day-pill-sun:has(input:checked) { background: #ef4444; border-color: #dc2626; color: #ffffff; box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35); }

/* Monday - Yellow */
.day-pill-mon { background: #fefce8; border: 1.5px solid #fde047; color: #854d0e; }
.day-pill-mon:has(input:checked) { background: #eab308; border-color: #ca8a04; color: #ffffff; box-shadow: 0 2px 8px rgba(234, 179, 8, 0.35); }

/* Tuesday - Pink */
.day-pill-tue { background: #fdf2f8; border: 1.5px solid #f9a8d4; color: #9d174d; }
.day-pill-tue:has(input:checked) { background: #ec4899; border-color: #db2777; color: #ffffff; box-shadow: 0 2px 8px rgba(236, 72, 153, 0.35); }

/* Wednesday - Green */
.day-pill-wed { background: #f0fdf4; border: 1.5px solid #86efac; color: #166534; }
.day-pill-wed:has(input:checked) { background: #22c55e; border-color: #16a34a; color: #ffffff; box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35); }

/* Thursday - Orange */
.day-pill-thu { background: #fff7ed; border: 1.5px solid #fdba74; color: #9a3412; }
.day-pill-thu:has(input:checked) { background: #f97316; border-color: #ea580c; color: #ffffff; box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35); }

/* Friday - Blue */
.day-pill-fri { background: #f0f9ff; border: 1.5px solid #7dd3fc; color: #075985; }
.day-pill-fri:has(input:checked) { background: #0284c7; border-color: #0369a1; color: #ffffff; box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35); }

/* Saturday - Purple */
.day-pill-sat { background: #faf5ff; border: 1.5px solid #d8b4fe; color: #6b21a8; }
.day-pill-sat:has(input:checked) { background: #9333ea; border-color: #7e22ce; color: #ffffff; box-shadow: 0 2px 8px rgba(147, 51, 234, 0.35); }

/* ============================================================
   Searchable Select Dropdown (Accounting Style Component)
   ============================================================ */
.searchable-select-wrap {
  position: relative;
  width: 100%;
}
.searchable-select-wrap .searchable-select-input {
  width: 100%;
  padding-right: 2.2rem;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #1e293b;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.searchable-select-wrap .searchable-select-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  outline: none;
}
.searchable-select-wrap .searchable-select-arrow {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}
.searchable-select-wrap.open .searchable-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}
.searchable-select-wrap .searchable-select-clear-btn {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  z-index: 4;
  white-space: nowrap;
}
.searchable-select-wrap.has-value .searchable-select-clear-btn {
  display: inline-flex;
}
.searchable-select-wrap.has-value .searchable-select-arrow {
  display: none !important;
}
.searchable-select-wrap.has-value .searchable-select-input {
  padding-right: 5.2rem !important;
}
.acc-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  max-height: 260px;
  overflow-y: auto;
  z-index: 2000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  display: none;
}
.acc-dropdown-item {
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font-size: 0.86rem;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease, color 0.15s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.acc-dropdown-item:hover, .acc-dropdown-item.active {
  background: #f0f9ff;
  color: #0369a1;
}
.acc-dropdown-item:last-child {
  border-bottom: none;
}
.acc-dropdown-item strong {
  color: #0284c7;
}
.acc-dropdown-item .acc-item-badge {
  font-size: 0.72rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  font-weight: 500;
}
.acc-dropdown-item:hover .acc-item-badge,
.acc-dropdown-item.active .acc-item-badge {
  background: #e0f2fe;
  color: #0284c7;
}
.acc-dropdown-empty {
  padding: 0.8rem 1rem;
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: center;
}

/* Walk-in Staff Selection & Role Distinction Styles */
.wi-filter-btn {
  background: transparent;
  border: none;
  outline: none;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 0.74rem;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.wi-filter-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.wi-filter-btn.active {
  background: #ffffff;
  color: var(--primary, #0f766e);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.wi-role-tag-practitioner {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 1.5px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.wi-role-tag-therapist {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 1.5px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.wi-status-tag-avail {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.wi-status-tag-busy {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fed7aa;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.wi-selected-doctor-card {
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  animation: fadeIn 0.2s ease;
}
.wi-selected-doctor-card.practitioner {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #14532d;
}
.wi-selected-doctor-card.therapist {
  background: #fffdf5;
  border: 1px solid #fde047;
  color: #713f12;
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.pulse-badge {
  animation: pulseBadge 1.8s infinite ease-in-out;
}

