/* =====================================================
   CEL Premium UI — reviewed & hardened
   - Preserves existing visual design and component behavior
   - Removes invalid declarations
   - Resolves selected duplicate/cascade conflicts
   - Adds final responsive safeguards for FullCalendar
   - Includes reusable service-menu tooltip helpers
   ===================================================== */

/* CMU local fonts. Files remain on the website at /assets/fonts/; not bundled. */
@font-face {font-family:"CMU";src:url("/assets/fonts/CMU-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face {font-family:"CMU";src:url("/assets/fonts/CMU-Light.ttf") format("truetype");font-style:normal;font-weight:300;font-display:swap}
@font-face {font-family:"CMU";src:url("/assets/fonts/CMU-Bold.ttf") format("truetype");font-style:normal;font-weight:600 900;font-display:swap}
@font-face {font-family:"CMU";src:url("/assets/fonts/CMU-Italic.ttf") format("truetype");font-style:italic;font-weight:400;font-display:swap}
@font-face {font-family:"CMU";src:url("/assets/fonts/CMU-LightItalic.ttf") format("truetype");font-style:italic;font-weight:300;font-display:swap}
@font-face {font-family:"CMU";src:url("/assets/fonts/CMU-BoldItalic.ttf") format("truetype");font-style:italic;font-weight:600 900;font-display:swap}


:root {
  --cel-navy: 15 23 42;
  --cel-blue: 2 132 199;
  --cel-cyan: 6 182 212;
  --cel-ink: 3 105 161;

  --fc-border: rgba(148, 163, 184, .45);
  --fc-bg: rgba(255, 255, 255, .85);
  --fc-bg-dark: rgba(2, 6, 23, .28);
  --fc-text: #0f172a;
  --fc-muted: #64748b;
  --fc-accent: #0284c7;
  --fc-accent-2: #06b6d4;
  --fc-chip-bg: rgba(16, 185, 129, .10);
  --fc-chip-ring: rgba(16, 185, 129, .30);

  font-family: "CMU", sans-serif;
}

html.dark {
  --fc-border: rgba(255, 255, 255, .10);
  --fc-bg: rgba(2, 6, 23, .35);
  --fc-text: rgba(255, 255, 255, .92);
  --fc-muted: rgba(226, 232, 240, .75);
}

html,
body {
  overflow-x: clip;
  font-size: medium;
  letter-spacing: 0.3px;
}

@supports not (overflow: clip) {

  html,
  body {
    overflow-x: hidden;
  }
}

body {
  position: relative;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

.cel-x-clip {
  overflow-x: clip;
}

/* Font utility */
.chakra-petch-light,
.chakra-petch-regular,
.chakra-petch-medium,
.chakra-petch-semibold,
.chakra-petch-bold,
.chakra-petch-light-italic,
.chakra-petch-regular-italic,
.chakra-petch-medium-italic,
.chakra-petch-semibold-italic,
.chakra-petch-bold-italic {
  font-family: "CMU", sans-serif;
}

.chakra-petch-light {
  font-weight: 300;
  font-style: normal;
}

.chakra-petch-regular {
  font-weight: 400;
  font-style: normal;
}

.chakra-petch-medium {
  font-weight: 500;
  font-style: normal;
}

.chakra-petch-semibold {
  font-weight: 600;
  font-style: normal;
}

.chakra-petch-bold {
  font-weight: 700;
  font-style: normal;
}

.chakra-petch-light-italic {
  font-weight: 300;
  font-style: italic;
}

.chakra-petch-regular-italic {
  font-weight: 400;
  font-style: italic;
}

.chakra-petch-medium-italic {
  font-weight: 500;
  font-style: italic;
}

.chakra-petch-semibold-italic {
  font-weight: 600;
  font-style: italic;
}

.chakra-petch-bold-italic {
  font-weight: 700;
  font-style: italic;
}

.safe-html-content {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.45;
  color: inherit;
}

.safe-html-content>*:first-child {
  margin-top: 0 !important;
}

.safe-html-content>*:last-child {
  margin-bottom: 0 !important;
}

.safe-html-content p,
.safe-html-content div,
.safe-html-content ul,
.safe-html-content ol,
.safe-html-content blockquote {
  margin-top: 0 !important;
  margin-bottom: 0.35rem !important;
}

.safe-html-content p:last-child,
.safe-html-content div:last-child,
.safe-html-content ul:last-child,
.safe-html-content ol:last-child,
.safe-html-content blockquote:last-child {
  margin-bottom: 0 !important;
}

.safe-html-content ul,
.safe-html-content ol {
  padding-left: 1.25rem !important;
}

.safe-html-content li {
  margin-top: 0 !important;
  margin-bottom: 0.2rem !important;
}

.safe-html-content blockquote {
  padding-left: 0.75rem !important;
  border-left: 3px solid #cbd5e1;
}

/* Background accents */
.bg-accents {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
  clip-path: inset(0);
  pointer-events: none;
  z-index: -10;
}

/* Gradient surfaces */
.cel-grad {
  background: linear-gradient(135deg, rgb(12 74 110) 0%, rgb(2 132 199) 42%, rgb(6 182 212) 100%);
}

.cel-grad-soft {
  background: linear-gradient(135deg, rgba(12, 74, 110, .95) 0%, rgba(2, 132, 199, .92) 45%, rgba(6, 182, 212, .90) 100%);
}

.cel-grad-pharmsci {
  background: linear-gradient(135deg, rgb(153 27 27) 0%, rgb(239 68 68) 55%, rgb(251 191 36) 100%);
}

.cel-grad-soft-pharmsci {
  background: linear-gradient(135deg, rgba(127, 29, 29, .96) 0%, rgba(220, 38, 38, .92) 50%, rgba(245, 158, 11, .88) 100%);
}

.cel-shine {
  position: relative;
  overflow: hidden;
}

.cel-shine::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 140%;
  z-index: 1;
  background: radial-gradient(600px 180px at 50% 0%, rgba(255, 255, 255, .35), transparent 60%);
  opacity: .55;
  pointer-events: none;
}

.registration-app-page{--app-teal-dark:#0f6f78;--app-teal:#178b88;--app-mint:#4fc7a3;--app-mint-soft:#dff6ef;--app-surface:#f5fbf9;position:relative}.registration-app-page:before{content:"";position:absolute;right:-110px;top:-90px;width:300px;height:300px;border-radius:9999px;background:radial-gradient(circle,rgba(79,199,163,.13) 0%,rgba(23,139,136,.05) 45%,transparent 72%);pointer-events:none}.registration-app-page:after{content:"";position:absolute;left:-120px;top:460px;width:280px;height:280px;border-radius:9999px;background:radial-gradient(circle,rgba(15,111,120,.08) 0%,transparent 70%);pointer-events:none}.app-theme-gradient{background:linear-gradient(90deg,#0f6f78 0%,#178b88 48%,#4fc7a3 100%)}.app-theme-gradient-soft{background:linear-gradient(135deg,#eefaf6 0%,#f8fcfb 50%,#e7f7f1 100%)}.dark .app-theme-gradient-soft{background:linear-gradient(135deg,rgba(79,199,163,.10) 0%,rgba(15,23,42,.75) 50%,rgba(23,139,136,.08) 100%)}.app-theme-icon{background:linear-gradient(135deg,#0f6f78 0%,#178b88 52%,#4fc7a3 100%);box-shadow:0 9px 20px rgba(15,111,120,.22)}.app-theme-btn{background:linear-gradient(90deg,#0f6f78 0%,#178b88 48%,#4fc7a3 100%);box-shadow:0 10px 24px rgba(15,111,120,.20);transition:filter .2s ease,box-shadow .2s ease}.app-theme-btn:hover{filter:brightness(1.045);box-shadow:0 14px 30px rgba(15,111,120,.27)}.applicant-item{transition:border-color .2s ease,box-shadow .2s ease}.applicant-item:hover{border-color:rgba(79,199,163,.75);box-shadow:0 14px 34px rgba(15,111,120,.08)}.dark .applicant-item:hover{border-color:rgba(79,199,163,.35);box-shadow:0 16px 38px rgba(0,0,0,.22)}#registrationApplicationForm input:focus,#registrationApplicationForm select:focus,#registrationApplicationForm textarea:focus{border-color:#4fc7a3!important;box-shadow:0 0 0 4px rgba(79,199,163,.16)!important;outline:none!important}.dark #registrationApplicationForm input:focus,.dark #registrationApplicationForm select:focus,.dark #registrationApplicationForm textarea:focus{border-color:#4fc7a3!important;box-shadow:0 0 0 4px rgba(79,199,163,.20)!important}.registration-app-page input[type="checkbox"]{accent-color:#178b88}.registration-app-page .select2-container{width:100%!important}.registration-app-page .select2-container--default .select2-selection--single{min-height:48px!important;border:1px solid #e2e8f0!important;border-radius:1rem!important;background:#fff!important;display:flex!important;align-items:center!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important;transition:border-color .2s ease,box-shadow .2s ease}.registration-app-page .select2-container--default .select2-selection--single .select2-selection__rendered{padding-left:1rem!important;padding-right:2.5rem!important;color:#1e293b!important;font-size:.875rem!important;font-weight:600!important;line-height:normal!important}.registration-app-page .select2-container--default .select2-selection--single .select2-selection__placeholder{color:#94a3b8!important}.registration-app-page .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px!important;right:10px!important}.registration-app-page .select2-container--default.select2-container--focus .select2-selection--single,.registration-app-page .select2-container--default.select2-container--open .select2-selection--single{border-color:#4fc7a3!important;box-shadow:0 0 0 4px rgba(79,199,163,.16)!important}.registration-app-page .select2-dropdown{border:1px solid #dbe7e4!important;border-radius:1rem!important;overflow:hidden!important;background:#fff!important;box-shadow:0 18px 42px rgba(15,23,42,.14)!important}.registration-app-page .select2-search--dropdown{padding:8px!important;background:#fff!important}.registration-app-page .select2-search--dropdown .select2-search__field{border:1px solid #dbe7e4!important;border-radius:.8rem!important;padding:.65rem .8rem!important;background:#fff!important;color:#1e293b!important;outline:none!important}.registration-app-page .select2-search--dropdown .select2-search__field:focus{border-color:#4fc7a3!important;box-shadow:0 0 0 3px rgba(79,199,163,.14)!important}.registration-app-page .select2-results__option{padding:.75rem .9rem!important;font-size:.875rem!important;color:#334155!important;background:#fff!important}.registration-app-page .select2-results__option--selected{background:linear-gradient(135deg,#edf9f5 0%,#dff5ed 100%)!important;color:#0f6f78!important;font-weight:700!important}.registration-app-page .select2-results__option--highlighted.select2-results__option--selectable{background:linear-gradient(135deg,#d7f3e8 0%,#c8ece1 50%,#ddf5ed 100%)!important;color:#0f6f78!important}.dark .registration-app-page .select2-container--default .select2-selection--single{border-color:rgba(255,255,255,.10)!important;background:#0f172a!important}.dark .registration-app-page .select2-container--default .select2-selection--single .select2-selection__rendered{color:#f8fafc!important}.dark .registration-app-page .select2-container--default .select2-selection--single .select2-selection__placeholder{color:#64748b!important}.dark .registration-app-page .select2-dropdown{border-color:rgba(255,255,255,.10)!important;background:#0f172a!important;box-shadow:0 20px 46px rgba(0,0,0,.40)!important}.dark .registration-app-page .select2-search--dropdown{background:#0f172a!important}.dark .registration-app-page .select2-search--dropdown .select2-search__field{border-color:rgba(255,255,255,.10)!important;background:#111827!important;color:#f8fafc!important}.dark .registration-app-page .select2-results__option{background:#0f172a!important;color:#cbd5e1!important}.dark .registration-app-page .select2-results__option--selected{background:linear-gradient(135deg,rgba(79,199,163,.18),rgba(23,139,136,.14))!important;color:#9be7cf!important}.dark .registration-app-page .select2-results__option--highlighted.select2-results__option--selectable{background:linear-gradient(135deg,rgba(15,111,120,.72),rgba(23,139,136,.60),rgba(79,199,163,.40))!important;color:#fff!important}

/* Navigation */
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border-radius: .95rem;
  padding: .55rem .9rem;
  color: rgba(255, 255, 255, .95);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.nav-pill:hover {
  background: rgba(255, 255, 255, .10);
}

.nav-pill.is-active {
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

/* Sidebar accordion */
.acc-head,
.acc-head-central {
  background: linear-gradient(135deg, rgb(12 74 110) 0%, rgb(3 105 161) 52%, rgb(6 182 212) 100%);
}

.acc-head-pharmsci {
  background: linear-gradient(135deg, #991b1b 0%, #ef4444 60%, #f59e0b 100%);
}

.acc-head:hover {
  filter: brightness(1.05);
}

.acc-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  border-radius: .9rem;
  padding: .65rem .75rem;
  font-size: .875rem;
  color: rgb(51 65 85);
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.acc-link>i:first-child {
  width: 18px;
  color: rgb(3 105 161);
}

.acc-link>span {
  flex: 1;
  min-width: 0;
}

.acc-link>i.fa-angle-right {
  color: rgb(148 163 184);
}

.acc-link:hover {
  background: rgb(248 250 252);
  transform: translateX(1px);
}

.is-active-link {
  background: rgba(14, 165, 233, .12);
  color: rgb(255, 255, 255);
  font-weight: 800;
  border-radius: 1rem;
}

.dark .acc-link {
  color: rgb(226 232 240);
}

.dark .acc-link:hover {
  background: rgba(255, 255, 255, .06);
}

.dark .acc-link>i:first-child {
  color: rgb(56 189 248);
}

.dark .acc-link>i.fa-angle-right {
  color: rgba(255, 255, 255, .35);
}

.dark .is-active-link {
  background: rgba(14, 165, 233, .18);
  color: rgb(186, 230, 253);
}

/* Cards and scrollbars */
.card-soft {
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
}

.cel-scroll::-webkit-scrollbar,
.custom-scroll::-webkit-scrollbar {
  width: 8px;
}

.cel-scroll::-webkit-scrollbar-thumb,
.custom-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(148, 163, 184, .45);
}

.cel-scroll::-webkit-scrollbar-thumb:hover,
.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, .65);
}

/* Buttons */
.btn-book-default {
  color: #ffffff;
  background:
    linear-gradient(90deg,
      #016575 0%,
      #37B286 22%,
      #2EA585 38%,
      #239482 56%,
      #17837C 74%,
      #0A7178 88%,
      #016575 100%);
  box-shadow: 0 10px 24px rgba(181, 137, 35, .24);
  border: 1px solid rgba(248, 215, 106, .45);

}

.btn-book-default i,
.btn-book-default span {
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(248, 215, 106, .28);
  font-size : 12px;
}

.btn-book-default:hover {
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(248, 215, 106, .32);
  transform: translateY(-1px);
  border-color: rgba(255, 231, 137, .75);
}

.btn-book-default:hover i,
.btn-book-default:hover span {
  color: #E3EF26;
}

.btn-book-default:focus {
  box-shadow: 0 0 0 4px rgba(248, 215, 106, .28);
}

.btn-book-central {
  background: linear-gradient(to right, rgb(2 132 199), rgb(2 132 199), rgb(6 182 212));
  box-shadow: 0 10px 24px rgba(14, 165, 233, .25);
}

.btn-book-central:focus {
  box-shadow: 0 0 0 4px rgba(186, 230, 253, .8);
}

.btn-book-pharmsci {
  background: linear-gradient(to right, rgb(153 27 27), rgb(220 38 38), rgb(245 158 11));
  box-shadow: 0 10px 24px rgba(220, 38, 38, .25);
}

.btn-book-pharmsci:focus {
  box-shadow: 0 0 0 4px rgba(254, 202, 202, .8);
}

.dark .btn-book-default {
  background: linear-gradient(90deg, rgba(14, 165, 233, .92), rgba(6, 182, 212, .88), rgba(16, 185, 129, .9));
  box-shadow: 0 10px 28px rgba(16, 185, 129, .16);
  border-color: rgba(52, 211, 153, .25);
}

.dark .btn-book-central {
  box-shadow: 0 10px 24px rgba(14, 165, 233, .18);
}

.dark .btn-book-pharmsci {
  box-shadow: 0 10px 24px rgba(220, 38, 38, .18);
}

/* Logo slider */
.logo-wrap,
.logo-slider {
  position: relative;
}

.logo-slider {
  width: 100%;
  overflow: hidden;
}

.logo-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.logo-slider.is-ready .logo-track {
  animation: logoMarquee 30s linear infinite;
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

.logo-card {
  flex: 0 0 clamp(180px, 22vw, 240px);
  height: 96px;
  border: 1px solid rgba(226, 232, 240, 1);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #fff;
}

.logo-card img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.logo-arrow {
  position: absolute;
  top: 50%;
  z-index: 30;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transform: translateY(-50%);
}

.logo-arrow--left {
  left: 6px;
}

.logo-arrow--right {
  right: 6px;
}

.logo-arrow i {
  font-size: 18px;
  color: rgba(30, 41, 59, .75);
  opacity: .75;
  transition: transform .18s ease, color .18s ease, filter .18s ease, opacity .18s ease;
}

.logo-arrow:hover i {
  transform: scale(1.2);
  color: rgba(2, 132, 199, .95);
  opacity: 1;
  filter: drop-shadow(0 10px 18px rgba(2, 6, 23, .22));
}

.logo-arrow:active i {
  transform: scale(1.08);
}

.logo-arrow:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .25);
}

.logo-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 9999px;
  background: rgba(14, 165, 233, .28);
  cursor: pointer;
  transition: width .18s ease, background .18s ease, transform .18s ease;
}

.logo-dot:hover {
  background: rgba(14, 165, 233, .55);
}

.logo-dot.is-active {
  width: 22px;
  background: rgba(14, 165, 233, .95);
}

.dark .logo-card {
  background: #fff;
  border-color: rgba(255, 255, 255, .12);
}

.dark .logo-card:hover {
  border-color: rgba(56, 189, 248, .55);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .35);
}

.dark .logo-arrow {
  background: rgba(15, 23, 42, .72);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .35);
}

.dark .logo-arrow i {
  color: rgba(226, 232, 240, .95);
}

.dark .logo-arrow:hover i {
  color: rgba(56, 189, 248, .98);
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .45));
}

.dark .logo-dot {
  background: rgba(56, 189, 248, .28);
}

.dark .logo-dot:hover {
  background: rgba(56, 189, 248, .55);
}

.dark .logo-dot.is-active {
  background: rgba(56, 189, 248, .98);
}

@keyframes logoMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Hero slider */
.cel-hero {
  height: var(--h-sm, 240px);
  min-height: var(--h-sm, 240px);
}

@media (min-width: 768px) {
  .cel-hero {
    height: var(--h, 340px);
    min-height: var(--h, 340px);
  }
}

@media (min-width: 1280px) {
  .cel-hero {
    height: var(--h-lg, 420px);
    min-height: var(--h-lg, 420px);
  }
}

.cel-hero__slides,
.cel-hero__slide,
.cel-hero__img,
.cel-hero__overlay {
  position: absolute;
  inset: 0;
}

.cel-hero__slide {
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity .8s ease, transform 1.2s ease;
}

.cel-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.cel-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
}

.cel-hero__overlay {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, .82), rgba(15, 23, 42, .44), rgba(14, 165, 233, .08)),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, .22), transparent 32%);
}

.cel-hero__content {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3.5rem);
  right: 18%;
  bottom: clamp(1.5rem, 5vw, 3.5rem);
  z-index: 2;
  max-width: 620px;
  color: #fff;
}

.cel-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  padding: .55rem .85rem;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cel-hero__title {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 18px 38px rgba(0, 0, 0, .35);
}

.cel-hero__sub {
  margin-top: .75rem;
  max-width: 540px;
  font-size: clamp(.9rem, 1.4vw, 1.1rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, .78);
}

.cel-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  backdrop-filter: blur(14px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .2s ease, background .2s ease;
}

.cel-hero__arrow:hover {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-50%) scale(1.04);
}

.cel-hero__arrow--left {
  left: 1rem;
}

.cel-hero__arrow--right {
  right: 1rem;
}

.cel-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .45rem .6rem;
  background: rgba(15, 23, 42, .35);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.cel-hero__dots button {
  width: .55rem;
  height: .55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.cel-hero__dots button.is-active {
  width: 2rem;
  background: #fff;
}

.cel-hero__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  height: 3px;
  background: rgba(255, 255, 255, .18);
}

.cel-hero__progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #22d3ee, #ffffff);
}

/* News / modal */
.news-tab {
  background: rgba(248, 250, 252, .9);
  color: rgb(71, 85, 105);
  border-color: rgba(226, 232, 240, .9);
}

.news-tab:hover {
  background: rgb(248 250 252);
}

.news-tab.is-active {
  background: linear-gradient(135deg, rgb(2, 132, 199), rgb(6, 182, 212));
  color: #fff;
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 14px 36px -24px rgba(14, 165, 233, .9);
}

.dark .news-tab {
  background: rgba(255, 255, 255, .06);
  color: rgb(203, 213, 225);
  border-color: rgba(255, 255, 255, .1);
}

.dark .news-tab.is-active {
  background: linear-gradient(135deg, rgb(2, 132, 199), rgb(6, 182, 212));
  color: #fff;
}

.cel-modal-footerbar {
  background: linear-gradient(90deg, #075985, #0284c7, #06b6d4);
}

.cel-attach {
  border: 1px solid rgba(251, 191, 36, .35);
  background: linear-gradient(135deg, rgba(255, 251, 235, .95), rgba(255, 247, 237, .92));
}

.dark .cel-attach {
  border-color: rgba(245, 158, 11, .22);
  background: rgba(245, 158, 11, .10);
}

/* =========================================================
   FullCalendar Premium Clean UI
   ใช้สี event ตาม API จาก eventDidMount
========================================================= */
/* =====================================================
   FullCalendar Responsive Resize Fix
   แก้ปฏิทินไม่ย่อ/ขยายตามหน้าจอและ Browser Zoom
===================================================== */

#bookingCalendar {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
}

/* container ของ FullCalendar ต้องยืดหยุ่นได้ */
#bookingCalendar .fc,
#bookingCalendar .fc-view-harness,
#bookingCalendar .fc-view-harness-active,
#bookingCalendar .fc-view,
#bookingCalendar .fc-scrollgrid,
#bookingCalendar .fc-scrollgrid table,
#bookingCalendar .fc-col-header,
#bookingCalendar .fc-daygrid-body,
#bookingCalendar .fc-daygrid-body table,
#bookingCalendar .fc-timegrid-body,
#bookingCalendar .fc-timegrid-body table {
  width: 100% !important;
  max-width: 100% !important;
}

/* สำคัญ: ไม่บังคับ min-height แบบตายตัว */
#bookingCalendar .fc-view-harness {
  min-height: auto !important;
  height: auto !important;
}

/* Month cell ให้ปรับตามจอ */
#bookingCalendar .fc-daygrid-day-frame {
  min-height: clamp(82px, 12vw, 132px) !important;
  height: auto !important;
}

/* กันเนื้อหา event ดันตารางกว้างเกิน */
#bookingCalendar .fc-event,
#bookingCalendar .fc-event-main,
#bookingCalendar .cel-ev,
#bookingCalendar .cel-ev-clean,
#bookingCalendar .cel-ev-title,
#bookingCalendar .cel-list-ev-inline,
#bookingCalendar .cel-list-inline-title,
#bookingCalendar .cel-list-inline-text {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* toolbar ให้ wrap ได้เมื่อจอแคบหรือ zoom */
#bookingCalendar .fc-header-toolbar,
#bookingCalendar .fc-toolbar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.65rem !important;
}

#bookingCalendar .fc-toolbar-chunk {
  min-width: 0 !important;
  flex-wrap: wrap !important;
}

/* ปุ่มไม่ให้ดันจอกว้าง */
#bookingCalendar .fc-button-group {
  flex-wrap: wrap !important;
}

#bookingCalendar .fc-button {
  white-space: nowrap !important;
}

/* title ปฏิทินไม่ให้ดัน layout */
#bookingCalendar .fc-toolbar-title {
  max-width: 100% !important;
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.25 !important;
}

/* List view responsive */
#bookingCalendar .fc-list,
#bookingCalendar .fc-list-table {
  width: 100% !important;
  max-width: 100% !important;
}

#bookingCalendar .fc-list-event-time {
  width: 90px !important;
  min-width: 90px !important;
  max-width: 90px !important;
  white-space: nowrap !important;
}

/* จอ tablet */
@media (max-width: 1024px) {
  #bookingCalendar .fc-daygrid-day-frame {
    min-height: clamp(78px, 13vw, 112px) !important;
  }
}

/* จอมือถือ */
@media (max-width: 768px) {

  #bookingCalendar .fc-header-toolbar,
  #bookingCalendar .fc-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  #bookingCalendar .fc-toolbar-chunk {
    justify-content: center !important;
  }

  #bookingCalendar .fc-daygrid-day-frame {
    min-height: 82px !important;
    padding: 0.25rem !important;
  }

  #bookingCalendar .fc-daygrid-day-number {
    min-width: 1.65rem !important;
    height: 1.65rem !important;
    font-size: 0.72rem !important;
  }

  #bookingCalendar .cel-ev-clean {
    padding: 0.22rem 0.36rem !important;
    gap: 0.24rem !important;
  }

  #bookingCalendar .cel-ev-title {
    font-size: 0.62rem !important;
  }

  #bookingCalendar .cel-ev-status {
    display: none !important;
  }

  #bookingCalendar .cel-ev-icon {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    font-size: 8px !important;
  }
}

/* จอเล็กมาก */
@media (max-width: 480px) {
  #bookingCalendar .fc-daygrid-day-frame {
    min-height: 72px !important;
  }

  #bookingCalendar .fc-list-event-time {
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    font-size: 0.68rem !important;
  }
}

/* wrapper หลักต้องเต็มพื้นที่ */
#bookingCalendar,
#bookingCalendar .fc,
#bookingCalendar .fc-view-harness,
#bookingCalendar .fc-view-harness-active,
#bookingCalendar .fc-view,
#bookingCalendar .fc-scrollgrid {
  width: 100% !important;
  max-width: 100% !important;
}


/* ป้องกัน event ที่ลากหลายวันทำให้ layout เพี้ยน */
#bookingCalendar .fc-event-main,
#bookingCalendar .cel-ev,
#bookingCalendar .cel-ev-clean,
#bookingCalendar .cel-ev-title {
  min-width: 0 !important;
  max-width: 100% !important;
}

#bookingCalendar {
  width: 100%;
  max-width: 100%;
  --fc-border-color: rgba(203, 213, 225, .75);
  --fc-page-bg-color: transparent;
  --fc-neutral-bg-color: rgba(248, 250, 252, .72);
  --fc-today-bg-color: rgba(14, 165, 233, .08);
  --fc-list-event-hover-bg-color: rgba(14, 165, 233, .06);
}

.dark #bookingCalendar {
  --fc-border-color: rgba(255, 255, 255, .10);
  --fc-neutral-bg-color: rgba(255, 255, 255, .035);
  --fc-today-bg-color: rgba(14, 165, 233, .12);
}

/* Calendar base */
#bookingCalendar .fc {
  width: 100%;
  max-width: 100%;
  font-family: inherit;
}

#bookingCalendar .fc-view-harness,
#bookingCalendar .fc-scrollgrid {
  width: 100% !important;
}

#bookingCalendar .fc-scrollgrid {
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid var(--fc-border-color) !important;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.dark #bookingCalendar .fc-scrollgrid {
  background: rgba(15, 23, 42, .42);
  box-shadow: none;
}

/* Toolbar */
#bookingCalendar .fc-toolbar {
  gap: .75rem;
  margin-bottom: 1rem !important;
}

#bookingCalendar .fc-toolbar-title {
  font-size: 1.1rem;
  font-weight: 950;
  letter-spacing: -.02em;
  color: rgb(15, 23, 42);
}

.dark #bookingCalendar .fc-toolbar-title {
  color: rgba(255, 255, 255, .96);
}

#bookingCalendar .fc-button {
  border: 0 !important;
  border-radius: 1rem !important;
  background: rgba(241, 245, 249, .95) !important;
  color: rgb(51, 65, 85) !important;
  padding: .55rem .8rem !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  box-shadow: inset 0 0 0 1px rgba(203, 213, 225, .9) !important;
  transition: all .18s ease !important;
}

#bookingCalendar .fc-button:hover {
  transform: translateY(-1px);
  background: rgba(226, 232, 240, .95) !important;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .9), 0 8px 20px rgba(15, 23, 42, .08) !important;
}

#bookingCalendar .fc-button:focus {
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .18) !important;
}

#bookingCalendar .fc-button-primary:not(:disabled).fc-button-active {
  background: linear-gradient(135deg, #0284c7, #06b6d4, #10b981) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(14, 165, 233, .22) !important;
}

.dark #bookingCalendar .fc-button {
  background: rgba(255, 255, 255, .08) !important;
  color: rgba(226, 232, 240, .96) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10) !important;
}

.dark #bookingCalendar .fc-button:hover {
  background: rgba(255, 255, 255, .13) !important;
}

/* Header day */
#bookingCalendar .fc-col-header-cell {
  background: rgba(248, 250, 252, .88);
  border-color: var(--fc-border-color) !important;
}

.dark #bookingCalendar .fc-col-header-cell {
  background: rgba(255, 255, 255, .035);
}

#bookingCalendar .fc-col-header-cell-cushion,
#bookingCalendar .fc-timegrid-axis-cushion {
  display: block;
  padding: .78rem .45rem;
  color: rgb(71, 85, 105);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
}

.dark #bookingCalendar .fc-col-header-cell-cushion,
.dark #bookingCalendar .fc-timegrid-axis-cushion {
  color: rgba(203, 213, 225, .9);
}

/* Day cell */
#bookingCalendar .fc-daygrid-day {
  transition: background .16s ease;
}

#bookingCalendar .fc-daygrid-day:hover {
  background: rgba(14, 165, 233, .035);
}

.dark #bookingCalendar .fc-daygrid-day:hover {
  background: rgba(14, 165, 233, .075);
}

#bookingCalendar .fc-daygrid-day-frame {
  position: relative;
  min-height: 104px;
  padding: .35rem .3rem .45rem;
}

#bookingCalendar .fc-daygrid-day-number {
  display: inline-flex;
  min-width: 1.85rem;
  height: 1.85rem;
  align-items: center;
  justify-content: center;
  border-radius: .85rem;
  padding: 0 .45rem;
  color: rgb(30, 41, 59);
  font-size: .78rem;
  font-weight: 950;
  text-decoration: none;
}

.dark #bookingCalendar .fc-daygrid-day-number {
  color: rgba(241, 245, 249, .92);
}

#bookingCalendar .fc-day-today .fc-daygrid-day-number {
  background: linear-gradient(135deg, rgba(14, 165, 233, .18), rgba(16, 185, 129, .16));
  color: #0369a1;
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, .22);
}

.dark #bookingCalendar .fc-day-today .fc-daygrid-day-number {
  color: rgba(186, 230, 253, .98);
  background: rgba(14, 165, 233, .16);
}

/* Selected / highlight */
#bookingCalendar .fc-highlight {
  border-radius: 1rem;
  background: rgba(14, 165, 233, .12) !important;
}

/* FullCalendar event safe style */
#bookingCalendar .fc-daygrid-event-harness {
  margin-left: 3px;
  margin-right: 3px;
}

#bookingCalendar .fc-daygrid-event {
  border-radius: .95rem !important;
  padding: 0 !important;
  cursor: pointer !important;
  box-shadow: 0 5px 14px rgba(15, 23, 42, .10);
}

#bookingCalendar .fc-event-main {
  border-radius: .95rem !important;
  padding: 0 !important;
  min-width: 0;
}

#bookingCalendar .cel-ev-clean {
  display: flex;
  align-items: center;
  gap: .38rem;
  width: 100%;
  min-width: 0;
  border-radius: .95rem;
  padding: .28rem .52rem;
  line-height: 1.25;
  overflow: hidden;
}

#bookingCalendar .cel-ev-title {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .80rem;

}

#bookingCalendar .cel-ev-icon,
#bookingCalendar .cel-ev-status {
  flex: 0 0 auto;
}

#bookingCalendar .fc-event.is-pending-booking {
  opacity: .86 !important;
  border-style: dashed !important;
}

/* =====================================================
   Booking Tooltip
===================================================== */

.booking-tooltip {
  position: fixed;
  z-index: 99999;
  width: min(320px, calc(100vw - 24px));
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(.96);
  transform-origin: center bottom;
  transition:
    opacity .16s ease,
    transform .16s ease;
}

.booking-tooltip.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.booking-tooltip.is-bottom {
  transform-origin: center top;
}

.booking-tooltip-card {
  overflow: hidden;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(226, 232, 240, .95);
  box-shadow:
    0 22px 55px rgba(15, 23, 42, .20),
    0 0 0 1px rgba(255, 255, 255, .45) inset;
  backdrop-filter: blur(18px);
}

html.dark .booking-tooltip-card {
  background: rgba(15, 23, 42, .96);
  border-color: rgba(255, 255, 255, .12);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(255, 255, 255, .06) inset;
}

.booking-tooltip-head {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem .85rem;
}

.booking-tooltip-thumb {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .9rem;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .16);
  color: rgb(14, 165, 233);
}

/* กำลังใช้งาน */
#bookingCalendar .cel-status-using,
.booking-tooltip-status.cel-status-using {
  background: rgba(16, 185, 129, 0.96);
  color: #ffffff !important;
  border-color: rgba(167, 243, 208, .85);
}

/* icon กำลังใช้งาน */
#bookingCalendar .cel-ev-icon.cel-status-using {
  background: rgba(255, 255, 255, .95);
  color: #059669 !important;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, .45) inset;
}

/* event ที่กำลังใช้งาน */
#bookingCalendar .fc-event.is-currently-using-booking {
  position: relative;
  overflow: visible !important;
  animation: celUsingBreath 1.8s ease-in-out infinite;
}

/* กรอบด้านในแบบหายใจ */
#bookingCalendar .fc-event.is-currently-using-booking::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 2;
  border-radius: .8rem;
  border: 1px solid rgba(255, 255, 255, .45);
  pointer-events: none;
  animation: celUsingRingBreath 1.8s ease-in-out infinite;
}

/* แสงรอบนอก */
#bookingCalendar .fc-event.is-currently-using-booking::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: 1;
  border-radius: 1.15rem;
  background: rgba(16, 185, 129, .22);
  filter: blur(8px);
  pointer-events: none;
  animation: celUsingGlowBreath 1.8s ease-in-out infinite;
}

/* ให้เนื้อหา event อยู่เหนือ effect */
#bookingCalendar .fc-event.is-currently-using-booking .fc-event-main {
  position: relative;
  z-index: 3;
}

/* ตัว event ขยับเบา ๆ */
@keyframes celUsingBreath {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.015);
  }
}

/* กรอบกระพริบ */
@keyframes celUsingRingBreath {

  0%,
  100% {
    opacity: .55;
    box-shadow:
      0 0 0 0 rgba(16, 185, 129, .20),
      0 0 0 1px rgba(255, 255, 255, .40);
  }

  50% {
    opacity: 1;
    box-shadow:
      0 0 0 5px rgba(16, 185, 129, .18),
      0 0 18px rgba(16, 185, 129, .45);
  }
}

/* glow หายใจ */
@keyframes celUsingGlowBreath {

  0%,
  100% {
    opacity: .25;
    transform: scale(.96);
  }

  50% {
    opacity: .75;
    transform: scale(1.04);
  }
}

.booking-tooltip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.booking-tooltip-thumb.is-no-image {
  background: rgba(255, 255, 255, .24);
  color: inherit;
}

.booking-tooltip-thumb.is-no-image::before {
  content: "\f610";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
}

.booking-tooltip-title-wrap {
  min-width: 0;
  flex: 1;
}

.booking-tooltip-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 950;
  line-height: 1.25;
}

.booking-tooltip-room {
  margin-top: .18rem;
  display: flex;
  align-items: center;
  gap: .3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .68rem;
  font-weight: 800;
  opacity: .86;
}

.booking-tooltip-body {
  padding: .75rem .85rem .85rem;
}

.booking-tooltip-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .85rem;
  padding: .38rem 0;
  border-bottom: 1px dashed rgba(203, 213, 225, .75);
}

.booking-tooltip-row:last-of-type {
  border-bottom: 0;
}

html.dark .booking-tooltip-row {
  border-bottom-color: rgba(255, 255, 255, .10);
}

.booking-tooltip-row span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  flex: 0 0 auto;
  color: rgb(100, 116, 139);
  font-size: .68rem;
  font-weight: 850;
  white-space: nowrap;
}

html.dark .booking-tooltip-row span {
  color: rgba(203, 213, 225, .72);
}

.booking-tooltip-row span i {
  width: .9rem;
  color: rgb(14, 165, 233);
  text-align: center;
}

.booking-tooltip-row strong {
  min-width: 0;
  color: rgb(15, 23, 42);
  font-size: .72rem;
  font-weight: 950;
  text-align: right;
  line-height: 1.45;
  word-break: break-word;
}

html.dark .booking-tooltip-row strong {
  color: rgba(248, 250, 252, .96);
}

.booking-tooltip-status {
  margin-top: .65rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  padding: .35rem .65rem;
  font-size: .68rem;
  font-weight: 950;
  line-height: 1;
}

.booking-tooltip-status.cel-status-approved {
  background: rgba(16, 185, 129, .12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, .28);
}

.booking-tooltip-status.cel-status-pending {
  background: rgba(245, 158, 11, .14);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, .30);
}

.booking-tooltip-status.cel-status-unknown {
  background: rgba(244, 63, 94, .12);
  color: #be123c;
  border: 1px solid rgba(244, 63, 94, .28);
}

html.dark .booking-tooltip-status.cel-status-approved {
  color: #86efac;
}

html.dark .booking-tooltip-status.cel-status-pending {
  color: #fde68a;
}

html.dark .booking-tooltip-status.cel-status-unknown {
  color: #fecdd3;
}

@media (max-width: 640px) {
  .booking-tooltip {
    display: none;
  }
}

/* =========================================================
   Event Card
   ใช้สีหลักจาก API ผ่าน eventDidMount
========================================================= */

#bookingCalendar .fc-event,
#bookingCalendar .fc-daygrid-event,
#bookingCalendar .fc-timegrid-event {
  border: 0 !important;
  border-radius: .95rem !important;
  padding: 0 !important;
  cursor: pointer !important;
  box-shadow: 0 5px 14px rgba(15, 23, 42, .10);
  transition: filter .16s ease, box-shadow .16s ease;
}

#bookingCalendar .fc-daygrid-event {
  margin: 1.5px 3px !important;
}

#bookingCalendar .fc-event:hover {
  filter: brightness(1.04) saturate(1.04);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .14);
}

#bookingCalendar .fc-event-main {
  border-radius: .95rem !important;
  overflow: hidden;
  min-width: 0;
  padding: 0 !important;
}

/* =========================================================
   Event Content
========================================================= */

#bookingCalendar .cel-ev,
#bookingCalendar .cel-ev-clean {
  display: flex;
  align-items: center;
  gap: .38rem;
  width: 100%;
  min-width: 0;
  border-radius: .95rem;
  padding: .28rem .52rem;
  line-height: 1.25;
}

/* ใช้แทน dot: อนุมัติ = check, รอตรวจสอบ = clock */
#bookingCalendar .cel-ev-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
}

/* ไม่ใช้ dot แล้ว */
#bookingCalendar .cel-ev-dot {
  display: none !important;
}

#bookingCalendar .cel-ev-time {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: .62rem;
  font-weight: 950;
  opacity: .96;
}

#bookingCalendar .cel-ev-title {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .80rem;
  font-weight: 550;

}

#bookingCalendar .cel-ev-sub {
  margin-top: .1rem;
  font-size: .68rem;
  font-weight: 800;
  opacity: .88;
  line-height: 1.25;
}

/* =========================================================
   Status Badge
========================================================= */

#bookingCalendar .cel-ev-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .12rem .42rem;
  font-size: .56rem;
  font-weight: 950;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .38);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
}

/* อนุมัติ */
#bookingCalendar .cel-status-approved {
  background: rgba(14, 145, 101, 0.95);
  color: #fff;
}

/* รอการตรวจสอบ */
#bookingCalendar .cel-status-pending {
  background: rgba(228, 157, 26, 0.95);
  color: #050505 !important;
  border-color: rgba(251, 191, 36, .75);
}

/* ไม่ทราบสถานะ */
#bookingCalendar .cel-status-unknown {
  background: rgba(213, 34, 64, 0.95);
  color: #fff;
}

/* icon ให้เด่นกว่า badge */
#bookingCalendar .cel-ev-icon.cel-status-approved {
  background: rgb(255, 255, 255);
  color: #05804c;
}

#bookingCalendar .cel-ev-icon.cel-status-pending {
  background: rgba(255, 255, 255, 0.92);
  color: #825506 !important;
}

#bookingCalendar .cel-ev-icon.cel-status-unknown {
  background: rgba(213, 34, 64, 0.95);
  color: #fcf9f9 !important;
}

/* รายการรออนุมัติ ให้ดูต่างจากรายการอนุมัติแล้ว */
#bookingCalendar .fc-event.is-pending-booking {
  opacity: .82 !important;
  border: 2px dashed rgba(255, 255, 255, .78) !important;
}

/* =========================================================
   More Link
========================================================= */

#bookingCalendar .fc-daygrid-more-link {
  display: inline-flex;
  align-items: center;
  margin: 2px 3px 0;
  border-radius: 999px;
  padding: .18rem .52rem;
  background: rgba(14, 165, 233, .08);
  color: #0369a1;
  font-size: .68rem;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer !important;
  transition: all .16s ease;
}

#bookingCalendar .fc-daygrid-more-link:hover {
  background: rgba(14, 165, 233, .14);
  transform: translateY(-1px);
}

.dark #bookingCalendar .fc-daygrid-more-link {
  background: rgba(14, 165, 233, .15);
  color: rgba(125, 211, 252, .95);
}

/* =========================================================
   Popover
========================================================= */

#bookingCalendar .fc-popover {
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, .85) !important;
  border-radius: 1.2rem !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .18) !important;
  backdrop-filter: blur(14px);
}

.dark #bookingCalendar .fc-popover {
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(15, 23, 42, .96) !important;
}

#bookingCalendar .fc-popover-header {
  padding: .75rem .9rem !important;
  background: rgba(248, 250, 252, .9) !important;
  color: rgb(15, 23, 42);
  font-weight: 950;
}

.dark #bookingCalendar .fc-popover-header {
  background: rgba(255, 255, 255, .06) !important;
  color: rgba(255, 255, 255, .96);
}

#bookingCalendar .fc-popover-body {
  padding: .5rem !important;
}

/* TimeGrid */
#bookingCalendar .fc-timegrid-slot {
  height: 2.35rem;
}

/* ===== FullCalendar Toolbar Padding ===== */

#bookingCalendar .fc-header-toolbar {
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.85rem !important;
  border-radius: 1.25rem;
  background: rgba(248, 250, 252, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.dark #bookingCalendar .fc-header-toolbar {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ปุ่มทั้งหมด */
#bookingCalendar.fc .fc-button,
#bookingCalendar .fc-button {
  padding: 0.62rem 0.95rem !important;
  border-radius: 1rem !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
}

/* ระยะห่างระหว่างปุ่มในกลุ่ม เช่น prev-next / เดือน-สัปดาห์-วัน-กำหนดการ */
#bookingCalendar.fc .fc-button-group,
#bookingCalendar .fc-button-group {
  display: inline-flex !important;
  gap: 0.45rem !important;
}

/* ล้าง margin/border ที่ FullCalendar ใส่มาเอง */
#bookingCalendar.fc .fc-button-group>.fc-button,
#bookingCalendar .fc-button-group>.fc-button {
  margin-left: 0 !important;
  border-radius: 1rem !important;
}

/* ระยะห่างระหว่างกลุ่มปุ่ม */
#bookingCalendar.fc .fc-toolbar-chunk,
#bookingCalendar .fc-toolbar-chunk {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
}

/* ปรับ title ให้อยู่สวยขึ้น */
#bookingCalendar .fc-toolbar-title {
  padding: 0.35rem 0.75rem;
  font-size: 1.08rem !important;
  font-weight: 950 !important;
}

/* ห้าม override .fc-daygrid-event-harness */

.fc .cel-ev-clean {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  overflow: hidden;
}

.fc .cel-ev-title {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc .cel-ev-icon,
.fc .cel-ev-status {
  flex: 0 0 auto;
}

.fc .is-pending-booking {
  opacity: 0.86;
  border-style: dashed !important;
}

/* ===== Calendar Booking Status Badge ===== */

#bookingCalendar .cel-ev-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.12rem 0.42rem;
  font-size: 0.56rem;
  font-weight: 950;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .38);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
}



/* Week / Day sub text */
#bookingCalendar .cel-ev-sub {
  margin-top: 0.1rem;
  font-size: 0.68rem;
  font-weight: 800;
  opacity: .88;
  line-height: 1.25;
}

/* =========================================================
   Calendar Instrument Checkbox Cards
========================================================= */

/* ===============================
   FullCalendar Header รายวัน
   =============================== */

/* อาทิตย์ */
.fc .fc-col-header-cell.fc-day-sun {
  background: linear-gradient(135deg, #fee2e2, #fecaca) !important;
}

.fc .fc-col-header-cell.fc-day-sun .fc-col-header-cell-cushion {
  color: #b91c1c !important;
  font-weight: 900 !important;
}

/* จันทร์ */
.fc .fc-col-header-cell.fc-day-mon {
  background: linear-gradient(135deg, #fef9c3, #fde68a) !important;
}

.fc .fc-col-header-cell.fc-day-mon .fc-col-header-cell-cushion {
  color: #a16207 !important;
  font-weight: 900 !important;
}

/* อังคาร */
.fc .fc-col-header-cell.fc-day-tue {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8) !important;
}

.fc .fc-col-header-cell.fc-day-tue .fc-col-header-cell-cushion {
  color: #be185d !important;
  font-weight: 900 !important;
}

/* พุธ */
.fc .fc-col-header-cell.fc-day-wed {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0) !important;
}

.fc .fc-col-header-cell.fc-day-wed .fc-col-header-cell-cushion {
  color: #15803d !important;
  font-weight: 900 !important;
}

/* พฤหัสบดี */
.fc .fc-col-header-cell.fc-day-thu {
  background: linear-gradient(135deg, #ffedd5, #fed7aa) !important;
}

.fc .fc-col-header-cell.fc-day-thu .fc-col-header-cell-cushion {
  color: #c2410c !important;
  font-weight: 900 !important;
}

/* ศุกร์ */
.fc .fc-col-header-cell.fc-day-fri {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important;
}

.fc .fc-col-header-cell.fc-day-fri .fc-col-header-cell-cushion {
  color: #1d4ed8 !important;
  font-weight: 900 !important;
}

/* เสาร์ */
.fc .fc-col-header-cell.fc-day-sat {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe) !important;
}

.fc .fc-col-header-cell.fc-day-sat .fc-col-header-cell-cushion {
  color: #6d28d9 !important;
  font-weight: 900 !important;
}

.fc .fc-col-header-cell:first-child {
  border-top-left-radius: 1rem;
  overflow: hidden;
}

.fc .fc-col-header-cell:last-child {
  border-top-right-radius: 1rem;
  overflow: hidden;
}

.fc .fc-scrollgrid {
  border-radius: 1.25rem !important;
  overflow: hidden !important;
}

/* ===============================
   FullCalendar: วันนี้เปลี่ยนสีตามวัน
   =============================== */

.fc .fc-day-today {
  box-shadow: inset 0 0 0 2px rgba(15, 23, 42, 0.08) !important;
}

/* อาทิตย์ - แดง */
.fc .fc-day-today.fc-day-sun {
  background:
    radial-gradient(circle at top right, rgba(248, 113, 113, 0.22), transparent 38%),
    linear-gradient(135deg, #fff1f2, #fee2e2) !important;
  box-shadow: inset 0 0 0 2px rgba(239, 68, 68, 0.35) !important;
}

/* จันทร์ - เหลือง */
.fc .fc-day-today.fc-day-mon {
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.25), transparent 38%),
    linear-gradient(135deg, #fefce8, #fef3c7) !important;
  box-shadow: inset 0 0 0 2px rgba(234, 179, 8, 0.38) !important;
}

/* อังคาร - ชมพู */
.fc .fc-day-today.fc-day-tue {
  background:
    radial-gradient(circle at top right, rgba(244, 114, 182, 0.24), transparent 38%),
    linear-gradient(135deg, #fdf2f8, #fce7f3) !important;
  box-shadow: inset 0 0 0 2px rgba(236, 72, 153, 0.35) !important;
}

/* พุธ - เขียว */
.fc .fc-day-today.fc-day-wed {
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.22), transparent 38%),
    linear-gradient(135deg, #f0fdf4, #dcfce7) !important;
  box-shadow: inset 0 0 0 2px rgba(34, 197, 94, 0.35) !important;
}

/* พฤหัสบดี - ส้ม */
.fc .fc-day-today.fc-day-thu {
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.23), transparent 38%),
    linear-gradient(135deg, #fff7ed, #ffedd5) !important;
  box-shadow: inset 0 0 0 2px rgba(249, 115, 22, 0.35) !important;
}

/* ศุกร์ - ฟ้า */
.fc .fc-day-today.fc-day-fri {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.24), transparent 38%),
    linear-gradient(135deg, #f0f9ff, #e0f2fe) !important;
  box-shadow: inset 0 0 0 2px rgba(14, 165, 233, 0.38) !important;
}

/* เสาร์ - ม่วง */
.fc .fc-day-today.fc-day-sat {
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.24), transparent 38%),
    linear-gradient(135deg, #f5f3ff, #ede9fe) !important;
  box-shadow: inset 0 0 0 2px rgba(139, 92, 246, 0.35) !important;
}

/* เลขวันที่ของวันนี้ */
.fc .fc-day-today .fc-daygrid-day-number {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 2rem !important;
  height: 2rem !important;
  border-radius: 9999px !important;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.35) !important;
}


/* Header ของวันนี้ ให้เด่นขึ้น */
.fc .fc-col-header-cell.fc-day-today {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4) !important;
}

.fc .fc-col-header-cell.fc-day-today .fc-col-header-cell-cushion {
  color: #ffffff !important;
  font-weight: 900 !important;
}


/* ปรับเส้นตารางให้นุ่มขึ้น */
.fc-theme-standard td,
.fc-theme-standard th {
  border-color: rgba(148, 163, 184, 0.28) !important;
}

/* ===============================
   FullCalendar List View Fix
   =============================== */

.fc .fc-list {
  overflow: hidden;
  border-radius: 1.25rem;
  border-color: rgba(148, 163, 184, 0.28) !important;
  background: #ffffff;
}

.fc .fc-list-table {
  width: 100% !important;
  table-layout: auto !important;
  font-size: 13px;
}

/* Header วันที่ */
.fc .fc-list-day-cushion {
  background: linear-gradient(135deg, #f8fafc, #eef6ff) !important;
  padding: 0.65rem 0.9rem !important;
  color: #0f172a !important;
  font-weight: 900 !important;
}

.fc .fc-list-day-text,
.fc .fc-list-day-side-text {
  color: #0f172a !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

/* แถว event */
.fc .fc-list-event td {
  background: #ffffff !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  vertical-align: middle !important;
}

.fc .fc-list-event:hover td {
  background: #f8fafc !important;
}

/* ช่องเวลา */
.fc .fc-list-event-time {
  width: 130px !important;
  min-width: 130px !important;
  color: #334155 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

/* ช่องจุดสี */
.fc .fc-list-event-graphic {
  width: 32px !important;
  min-width: 32px !important;
}

/* จุดสี */
.fc .fc-list-event-dot {
  border-width: 6px !important;
}

/* ช่องรายละเอียด */
.fc .fc-list-event-title {
  width: auto !important;
  color: #1e293b !important;
}

/* item ด้านใน title cell */
.cel-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.75rem;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0.25rem 0;
}

.cel-list-title {
  min-width: 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cel-list-meta {
  grid-column: 1 / -1;
  min-width: 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cel-list-status {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  padding: 0.25rem 0.55rem;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.fc .cel-today-scroll-highlight .fc-list-day-cushion,
.fc .cel-today-scroll-highlight {
  animation: celTodayFlash 1.6s ease-in-out;
}

@keyframes celTodayFlash {
  0% {
    box-shadow: inset 0 0 0 0 rgba(14, 165, 233, 0);
  }

  35% {
    box-shadow:
      inset 0 0 0 3px rgba(14, 165, 233, 0.55),
      0 0 0 6px rgba(14, 165, 233, 0.12);
  }

  100% {
    box-shadow: inset 0 0 0 0 rgba(14, 165, 233, 0);
  }
}

/* วันนี้ใน list */
.fc .fc-list-day.fc-day-today .fc-list-day-cushion {
  background: linear-gradient(135deg, #dbeafe, #e0f2fe) !important;
  box-shadow: inset 4px 0 0 #0ea5e9;
}

/* Dark mode */
.dark .fc .fc-day-today {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(6, 182, 212, 0.12)) !important;
}

.dark .fc .fc-col-header-cell {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark .fc-theme-standard td,
.dark .fc-theme-standard th {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.calendar-instrument-card {
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
}

.calendar-instrument-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calendar-instrument-ui {
  position: relative;
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 76px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, .08), transparent 34%),
    rgba(255, 255, 255, .92);
  padding: .75rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.calendar-instrument-ui:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, .35);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}

.calendar-instrument-thumb {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, .9);
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.calendar-instrument-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calendar-instrument-info {
  min-width: 0;
  flex: 1;
}

.calendar-instrument-name {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: #0f172a;
  font-size: .82rem;
  font-weight: 950;
  line-height: 1.35;
}

.calendar-instrument-room {
  margin-top: .2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #64748b;
  font-size: .7rem;
  font-weight: 800;
}

.calendar-instrument-check {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(203, 213, 225, .95);
  background: #fff;
  color: transparent;
  transition: all .18s ease;
}

.calendar-instrument-card input:checked+.calendar-instrument-ui {
  border-color: rgba(14, 165, 233, .55);
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, .18), transparent 34%),
    linear-gradient(135deg, rgba(240, 249, 255, .96), rgba(236, 253, 245, .96));
  box-shadow: 0 14px 32px rgba(14, 165, 233, .14);
}

.calendar-instrument-card input:checked+.calendar-instrument-ui .calendar-instrument-check {
  border-color: transparent;
  background: linear-gradient(135deg, #0284c7, #06b6d4, #10b981);
  color: #fff;
  box-shadow: 0 8px 18px rgba(14, 165, 233, .24);
}

.calendar-instrument-card input:checked+.calendar-instrument-ui::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .22);
  pointer-events: none;
}

.dark .calendar-instrument-ui {
  border-color: rgba(255, 255, 255, .10);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, .10), transparent 34%),
    rgba(15, 23, 42, .62);
  box-shadow: none;
}

.dark .calendar-instrument-ui:hover {
  border-color: rgba(56, 189, 248, .32);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, .16), transparent 34%),
    rgba(15, 23, 42, .78);
}

.dark .calendar-instrument-thumb {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .06);
  color: rgba(203, 213, 225, .7);
}

.dark .calendar-instrument-name {
  color: rgba(248, 250, 252, .96);
}

.dark .calendar-instrument-room {
  color: rgba(203, 213, 225, .72);
}

.dark .calendar-instrument-check {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
}

.dark .calendar-instrument-card input:checked+.calendar-instrument-ui {
  border-color: rgba(56, 189, 248, .38);
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, .16), transparent 34%),
    linear-gradient(135deg, rgba(14, 165, 233, .16), rgba(16, 185, 129, .10));
}

/* =========================================================
   Instrument Filter Scroll Area + Search
========================================================= */

.calendar-instrument-scroll {
  max-height: 140px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: .35rem;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.calendar-instrument-scroll::-webkit-scrollbar {
  width: 8px;
}

.calendar-instrument-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(226, 232, 240, .55);
}

.calendar-instrument-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(14, 165, 233, .55), rgba(16, 185, 129, .55));
}

.calendar-instrument-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(14, 165, 233, .85), rgba(16, 185, 129, .85));
}

.dark .calendar-instrument-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .06);
}

.dark .calendar-instrument-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(56, 189, 248, .55), rgba(52, 211, 153, .45));
}

/* กรณีไม่มีผลค้นหา */
.calendar-instrument-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(148, 163, 184, .55);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .65);
  padding: 1.25rem;
  text-align: center;
  color: #64748b;
  font-size: .85rem;
  font-weight: 800;
}

.dark .calendar-instrument-empty {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: rgba(203, 213, 225, .75);
}

/* Responsive height */
@media (max-width: 768px) {
  .calendar-instrument-scroll {
    max-height: 300px;
  }
}

/* Mobile: ซ่อน badge ในช่องเดือนถ้าพื้นที่แคบเกิน */
@media (max-width: 640px) {
  #bookingCalendar .fc-daygrid-event .cel-ev-status {
    display: none;
  }
}

/* Responsive: จอเล็กให้เรียงลงและมี padding */
@media (max-width: 768px) {
  #bookingCalendar .fc-header-toolbar {
    padding: 0.75rem;
    gap: 0.65rem;
  }

  #bookingCalendar .fc .fc-button {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.72rem !important;
  }

  #bookingCalendar .fc-toolbar-title {
    padding: 0.25rem 0.5rem;
    font-size: 1rem !important;
  }
}

#bookingCalendar .fc-timegrid-slot-label {
  color: rgb(100, 116, 139);
  font-size: .72rem;
  font-weight: 800;
}

.dark #bookingCalendar .fc-timegrid-slot-label {
  color: rgba(203, 213, 225, .72);
}

#bookingCalendar .fc-timegrid-now-indicator-line {
  border-color: #ef4444 !important;
  border-width: 2px !important;
}

#bookingCalendar .fc-timegrid-now-indicator-arrow {
  border-color: #ef4444 !important;
}

/* Weekend / other month */
#bookingCalendar .fc-day-other {
  background: rgba(248, 250, 252, .55);
}

.dark #bookingCalendar .fc-day-other {
  background: rgba(255, 255, 255, .02);
}

#bookingCalendar .fc-day-other .fc-daygrid-day-number {
  opacity: .45;
}

/* Responsive */
@media (max-width: 768px) {
  #bookingCalendar .fc-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  #bookingCalendar .fc-toolbar-chunk {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .4rem;
  }

  #bookingCalendar .fc-toolbar-title {
    text-align: center;
    font-size: 1rem;
  }

  #bookingCalendar .fc-daygrid-day-frame {
    min-height: 92px;
  }

  #bookingCalendar .cel-ev-title {
    font-size: .64rem;
  }

  #bookingCalendar .cel-ev-time {
    display: none;
  }
}

/* =====================================================
   Booking Calendar Size Fix
   - width auto / full responsive
   - height easier to read
===================================================== */

#bookingCalendar {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

#bookingCalendar .fc {
  width: 100% !important;
  max-width: 100% !important;
}

/* Calendar add button */
.cel-add-btn {
  position: absolute;
  right: 9px;
  top: 9px;
  z-index: 5;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, .65);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #10b981;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .15s ease, transform .15s ease, filter .15s ease;
}

.fc-daygrid-day:hover .cel-add-btn {
  opacity: 1;
  transform: translateY(0);
}

.cel-add-btn:hover {
  filter: brightness(.95);
}

.cel-add-btn:active {
  transform: scale(.95);
}

.cel-add-btn.is-disabled {
  opacity: .35 !important;
  cursor: not-allowed;
  box-shadow: none;
}

.cel-add-btn.is-hidden {
  display: none;
}

/* Modal */
body.modal-open {
  overflow: hidden;
  touch-action: none;
}

.cel-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.cel-backdrop {
  position: absolute;
  inset: 0;
}

.cel-modal-center {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cel-dialog {
  width: 100%;
  max-width: 72rem;
  max-height: calc(100vh - 32px);
  overflow: hidden;
  border-radius: 24px;
}

#bookingDialog {
  box-shadow: 0 30px 80px rgba(2, 6, 23, .22);
}

.cel-dialog-body,
.cel-modal-body {
  overflow-y: auto;
  max-height: calc(100vh - 220px);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.cel-dialog-body::-webkit-scrollbar {
  width: 10px;
}

.cel-dialog-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(148, 163, 184, .45);
}

.dark .cel-dialog-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .18);
}
/* =========================================================
   SELECT2 - INSTRUMENT SELECT
========================================================= */
#bookInstrumentSelectWrap{position:relative!important;overflow:visible!important}
#bookInstrumentSelectWrap>.select2-container{width:100%!important}
#bookInstrumentSelectWrap .select2-container--open{z-index:9999!important}
#bookInstrumentSelect+.select2-container{width:100%!important}
#bookInstrumentSelect+.select2-container .select2-selection--single{min-height:44px!important;height:auto!important;border:1px solid #cbd5e1!important;border-radius:14px!important;background:#fff!important;color:#1e293b!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
#bookInstrumentSelect+.select2-container .select2-selection__rendered{min-height:42px!important;padding:5px 58px 5px 10px!important;line-height:normal!important;color:#1e293b!important;white-space:normal!important;overflow:hidden!important;display:flex!important;align-items:center!important;font-size:.875rem!important;font-weight:700!important}
#bookInstrumentSelect+.select2-container .select2-selection__placeholder{color:#94a3b8!important;font-weight:600!important}
#bookInstrumentSelect+.select2-container .select2-selection__clear{position:absolute!important;right:34px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;color:#64748b!important;font-size:15px!important;line-height:1!important;z-index:5!important}
#bookInstrumentSelect+.select2-container .select2-selection__arrow{position:absolute!important;right:8px!important;top:50%!important;transform:translateY(-50%)!important;width:22px!important;height:22px!important}
#bookInstrumentSelect+.select2-container .select2-selection__arrow b{border-color:#64748b transparent transparent transparent!important;border-width:5px 4px 0!important}
#bookInstrumentSelect+.select2-container.select2-container--open .select2-selection__arrow b{border-color:transparent transparent #64748b transparent!important;border-width:0 4px 5px!important}
#bookInstrumentSelect+.select2-container.select2-container--focus .select2-selection--single,#bookInstrumentSelect+.select2-container.select2-container--open .select2-selection--single{border-color:#34d399!important;box-shadow:0 0 0 4px rgba(16,185,129,.12)!important}

/* Force dropdown below */
#bookInstrumentSelectWrap .select2-dropdown--below{bottom:auto!important;margin-top:6px!important;border-radius:14px!important}
#bookInstrumentSelectWrap .select2-container--below .select2-selection--single{border-radius:14px!important}

/* Selected value */
.select2-selection__rendered img{width:28px!important;height:28px!important;min-width:28px!important;object-fit:cover!important;border-radius:7px!important}
.select2-selection__rendered .instrument-select-selected{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;width:100%!important}
.select2-selection__rendered .instrument-select-name{min-width:0!important;flex:1 1 auto!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#1e293b!important}
.select2-selection__rendered .instrument-status-badge{display:inline-flex!important;align-items:center!important;gap:4px!important;flex:0 0 auto!important;padding:4px 8px!important;border-radius:999px!important;font-size:10px!important;line-height:1.2!important;white-space:nowrap!important}

/* Result content */
.instrument-option-title{color:#1e293b!important}
.instrument-option-room{color:#64748b!important}
.instrument-option-placeholder{color:#64748b!important}

/* Dropdown common */
.select2-dropdown{border-radius:14px!important;overflow:hidden!important;box-shadow:0 18px 40px rgba(15,23,42,.14)!important}
.select2-search--dropdown{padding:8px!important}
.select2-search--dropdown .select2-search__field{width:100%!important;border-radius:12px!important;padding:8px 10px!important;outline:none!important;transition:border-color .2s ease,box-shadow .2s ease!important}
.select2-results__option{padding:8px 10px!important;font-size:.875rem!important;transition:background-color .15s ease,color .15s ease!important}

/* =========================================================
   LIGHT MODE
========================================================= */
html:not(.dark) #bookInstrumentSelect{background:#fff!important;color:#1e293b!important}
html:not(.dark) #bookInstrumentSelect option{background:#fff!important;color:#1e293b!important}
html:not(.dark) .select2-container--open .select2-dropdown{background:#fff!important;border:1px solid #e2e8f0!important;color:#334155!important}
html:not(.dark) .select2-container--open .select2-search--dropdown{background:#fff!important}
html:not(.dark) .select2-container--open .select2-search__field{background:#fff!important;color:#1e293b!important;border:1px solid #e2e8f0!important}
html:not(.dark) .select2-container--open .select2-search__field:focus{border-color:#34d399!important;box-shadow:0 0 0 3px rgba(16,185,129,.12)!important}
html:not(.dark) .select2-container--open .select2-results,html:not(.dark) .select2-container--open .select2-results__options{background:#fff!important}
html:not(.dark) .select2-container--open .select2-results__option{background:#fff!important;color:#334155!important}
html:not(.dark) .select2-container--open .select2-results__option--selected{background:linear-gradient(135deg,#e8f7f1 0%,#d7f1e7 45%,#e9f8f6 100%)!important;color:#047857!important;font-weight:700!important}
html:not(.dark) .select2-container--open .select2-results__option--highlighted.select2-results__option--selectable{background:linear-gradient(135deg,#d7f3e8 0%,#c5ebdc 50%,#dff5ee 100%)!important;color:#047857!important}
html:not(.dark) .select2-container--open .select2-results__option--highlighted.select2-results__option--selected{background:linear-gradient(135deg,#c9eadb 0%,#b5dfcf 50%,#d4efe5 100%)!important;color:#065f46!important}

/* =========================================================
   DARK MODE
========================================================= */
.dark #bookInstrumentSelect{background:#0f172a!important;color:#f8fafc!important;border-color:rgba(148,163,184,.22)!important}
.dark #bookInstrumentSelect option{background:#0f172a!important;color:#f8fafc!important}
.dark #bookInstrumentSelect+.select2-container .select2-selection--single{background:#0f172a!important;border-color:rgba(148,163,184,.22)!important;color:#f8fafc!important;box-shadow:0 1px 2px rgba(0,0,0,.25)!important}
.dark #bookInstrumentSelect+.select2-container .select2-selection__rendered{color:#f8fafc!important}
.dark #bookInstrumentSelect+.select2-container .select2-selection__placeholder{color:#94a3b8!important}
.dark #bookInstrumentSelect+.select2-container .select2-selection__clear{color:#94a3b8!important}
.dark #bookInstrumentSelect+.select2-container .select2-selection__arrow b{border-color:#94a3b8 transparent transparent transparent!important}
.dark #bookInstrumentSelect+.select2-container.select2-container--open .select2-selection__arrow b{border-color:transparent transparent #94a3b8 transparent!important}
.dark #bookInstrumentSelect+.select2-container.select2-container--focus .select2-selection--single,.dark #bookInstrumentSelect+.select2-container.select2-container--open .select2-selection--single{border-color:rgba(52,211,153,.7)!important;box-shadow:0 0 0 4px rgba(16,185,129,.16)!important}
.dark .select2-selection__rendered .instrument-select-name{color:#f8fafc!important}
.dark .instrument-option-title{color:#f8fafc!important}
.dark .instrument-option-room{color:#94a3b8!important}
.dark .instrument-option-placeholder{color:#94a3b8!important}
.dark .select2-container--open .select2-dropdown{background:#0f172a!important;border:1px solid rgba(148,163,184,.18)!important;color:#cbd5e1!important;box-shadow:0 20px 50px rgba(0,0,0,.45)!important}
.dark .select2-container--open .select2-search--dropdown{background:#0f172a!important}
.dark .select2-container--open .select2-search__field{background:#111827!important;color:#f8fafc!important;border:1px solid rgba(148,163,184,.22)!important}
.dark .select2-container--open .select2-search__field::placeholder{color:#64748b!important}
.dark .select2-container--open .select2-search__field:focus{border-color:rgba(52,211,153,.7)!important;box-shadow:0 0 0 3px rgba(16,185,129,.16)!important}
.dark .select2-container--open .select2-results,.dark .select2-container--open .select2-results__options{background:#0f172a!important}
.dark .select2-container--open .select2-results__option{background:#0f172a!important;color:#cbd5e1!important}
.dark .select2-container--open .select2-results__option .instrument-option-title{color:#f8fafc!important}
.dark .select2-container--open .select2-results__option .instrument-option-room{color:#94a3b8!important}
.dark .select2-container--open .select2-results__option--selected{background:linear-gradient(135deg,rgba(16,185,129,.18) 0%,rgba(20,184,166,.14) 50%,rgba(6,148,162,.12) 100%)!important;color:#6ee7b7!important;font-weight:700!important}
.dark .select2-container--open .select2-results__option--selected .instrument-option-title{color:#fff!important}
.dark .select2-container--open .select2-results__option--selected .instrument-option-room{color:#cbd5e1!important}
.dark .select2-container--open .select2-results__option--highlighted.select2-results__option--selectable{background:linear-gradient(135deg,rgba(16,185,129,.34) 0%,rgba(20,184,166,.30) 50%,rgba(6,148,162,.26) 100%)!important;color:#fff!important}
.dark .select2-container--open .select2-results__option--highlighted.select2-results__option--selectable .instrument-option-title{color:#fff!important}
.dark .select2-container--open .select2-results__option--highlighted.select2-results__option--selectable .instrument-option-room{color:#dbeafe!important}
.dark .select2-container--open .select2-results__option--highlighted.select2-results__option--selected{background:linear-gradient(135deg,rgba(16,185,129,.42) 0%,rgba(20,184,166,.36) 50%,rgba(6,148,162,.30) 100%)!important;color:#fff!important}
.dark .instrument-select-name{color:#fff!important}.dark .instrument-option-title{color:#fff!important}
/* =========================================================
   TIME INPUT
========================================================= */
.cel-time{appearance:none;width:100%;border:1px solid #e2e8f0;border-radius:.9rem;padding:.65rem .9rem;background:rgba(255,255,255,.95);color:#0f172a;font-size:.95rem;font-weight:700;line-height:1.25rem;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:box-shadow .15s ease,border-color .15s ease,background .15s ease,color .15s ease,opacity .15s ease}
.cel-time:hover{border-color:#a7f3d0}
.cel-time:focus{outline:none;border-color:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.14)}
.cel-time:disabled{cursor:not-allowed;background:#f8fafc;color:#94a3b8;opacity:.75}
.dark .cel-time{border-color:rgba(255,255,255,.12);background:rgba(15,23,42,.75);color:#f1f5f9;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.dark .cel-time:hover{border-color:rgba(52,211,153,.45)}
.dark .cel-time:focus{border-color:#34d399;box-shadow:0 0 0 4px rgba(16,185,129,.18)}
.dark .cel-time:disabled{background:rgba(15,23,42,.45);color:#64748b;opacity:.7}

/* =========================================================
   RESPONSIVE
========================================================= */
@media(max-width:640px){#bookInstrumentSelect+.select2-container .select2-selection__rendered{padding-right:52px!important}.select2-selection__rendered img{width:26px!important;height:26px!important;min-width:26px!important}.select2-selection__rendered .instrument-status-badge{max-width:105px!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:9px!important;padding:3px 6px!important}}
/* Service menu */


.service-menu-tab {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(226 232 240 / .9);
  background: rgba(255, 255, 255, .95);
  color: rgb(51 65 85);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}

.service-menu-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.service-tab-central {
  border-color: rgb(186 230 253 / .9);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, .18), transparent 35%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, .10), transparent 35%),
    linear-gradient(135deg, rgb(240 249 255), rgb(236 254 255));
  color: rgb(3 105 161);
}

.service-tab-central:hover,
.service-tab-central.is-active {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, .20), transparent 35%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, .14), transparent 35%),
    linear-gradient(135deg, rgb(224 242 254), rgb(186 230 253));
}

.service-tab-central.is-active {
  border-color: rgb(56 189 248);
  color: rgb(7 89 133);
  box-shadow: 0 12px 28px rgba(14, 165, 233, .18);
}

.service-tab-pharmsci {
  border-color: rgba(239, 68, 68, .28);
  background:
    radial-gradient(circle at top right, rgba(239, 68, 68, .16), transparent 35%),
    radial-gradient(circle at bottom left, rgba(251, 191, 36, .12), transparent 35%),
    linear-gradient(135deg, rgb(255 245 245), rgb(255 247 237));
  color: rgb(185 28 28);
}

.service-tab-pharmsci:hover,
.service-tab-pharmsci.is-active {
  background:
    radial-gradient(circle at top right, rgba(220, 38, 38, .22), transparent 35%),
    radial-gradient(circle at bottom left, rgba(251, 191, 36, .18), transparent 35%),
    linear-gradient(135deg, rgb(254 226 226), rgb(255 237 213));
}

.service-tab-pharmsci.is-active {
  border-color: rgb(220 38 38);
  color: rgb(127 29 29);
  box-shadow: 0 12px 28px rgba(220, 38, 38, .22);
}

.badge-central {
  color: rgb(7 89 133);
}

.badge-pharmsci {
  color: rgb(127 29 29);
}

.service-menu-group {
  will-change: transform, opacity;
  transition: opacity .34s ease, transform .34s ease, max-height .36s ease, margin .34s ease;
  transform-origin: left center;
}

.service-menu-group.hidden {
  display: none;
}

.service-menu-group.is-entering {
  animation: serviceSlideIn .35s ease both;
}

@keyframes serviceSlideIn {
  from {
    opacity: 0;
    transform: translateX(-22px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.service-menu-group .acc-link {
  justify-content: space-between;
  gap: .75rem;
  border-radius: .9rem;
  padding: .72rem .9rem;
  font-size: .92rem;
  font-weight: 500;
  color: rgb(51 65 85);
  transition: all .22s ease;
}

.service-menu-group .acc-link:hover {
  background: rgb(248 250 252);
  color: rgb(15 23 42);
}

.service-menu-group .acc-link i:first-child {
  width: 1rem;
  text-align: center;
  flex: 0 0 auto;
}

.service-menu-group .acc-link i:last-child {
  color: rgb(148 163 184);
}

.service-menu-group[data-menu-group="central"] .acc-link.is-active-link,
.service-menu-group[data-menu-group="central"] .acc-link[aria-current="page"] {
  background: linear-gradient(135deg, rgba(14, 165, 233, .10), rgba(6, 182, 212, .08));
  color: rgb(3 105 161);
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, .16);
}

.service-menu-group[data-menu-group="pharmsci"] .acc-link.is-active-link,
.service-menu-group[data-menu-group="pharmsci"] .acc-link[aria-current="page"] {
  background: linear-gradient(135deg, rgba(220, 38, 38, .10), rgba(245, 158, 11, .08));
  color: rgb(185 28 28);
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, .18);
}

.dark .service-menu-tab {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .05);
  color: rgb(226 232 240);
}

.dark .service-tab-central {
  border-color: rgba(14, 165, 233, .22);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, .12), transparent 35%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, .08), transparent 35%),
    linear-gradient(135deg, rgba(14, 165, 233, .10), rgba(6, 182, 212, .06));
  color: rgb(186 230 253);
}

.dark .service-tab-central.is-active {
  border-color: rgba(56, 189, 248, .38);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, .16), transparent 35%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, .10), transparent 35%),
    linear-gradient(135deg, rgba(14, 165, 233, .20), rgba(6, 182, 212, .14));
  color: rgb(224 242 254);
}

.dark .service-tab-pharmsci {
  border-color: rgba(239, 68, 68, .24);
  background:
    radial-gradient(circle at top right, rgba(239, 68, 68, .12), transparent 35%),
    radial-gradient(circle at bottom left, rgba(245, 158, 11, .08), transparent 35%),
    linear-gradient(135deg, rgba(153, 27, 27, .12), rgba(245, 158, 11, .06));
  color: rgb(254 202 202);
}

.dark .service-tab-pharmsci.is-active {
  border-color: rgba(239, 68, 68, .40);
  background:
    radial-gradient(circle at top right, rgba(239, 68, 68, .18), transparent 35%),
    radial-gradient(circle at bottom left, rgba(245, 158, 11, .12), transparent 35%),
    linear-gradient(135deg, rgba(153, 27, 27, .18), rgba(245, 158, 11, .10));
  color: rgb(254 226 226);
}

.dark .badge-central {
  background: rgba(14, 165, 233, .14);
  color: rgb(186 230 253);
  border-color: rgba(56, 189, 248, .24);
}

.dark .badge-pharmsci {
  background: linear-gradient(135deg, rgba(220, 38, 38, .20), rgba(245, 158, 11, .12));
  color: rgb(254 226 226);
  border-color: rgba(239, 68, 68, .24);
}

.dark .service-menu-group .acc-link {
  color: rgb(226 232 240);
}

.dark .service-menu-group .acc-link:hover {
  background: rgba(255, 255, 255, .05);
  color: #fff;
}

/* Service selector transitions */
.service-selector-section,
.selected-service-bar {
  position: relative;
  transition: opacity .25s ease, transform .25s ease, max-height .36s ease, margin .34s ease;
  transform-origin: center top;
}

.selected-service-bar-show,
.service-selector-show {
  opacity: 1;
  transform: translateX(0);
  overflow: visible;
}

.selected-service-bar-show {
  max-height: 180px;
}

.service-selector-show {
  max-height: 500px;
}

.selected-service-bar-hide {
  opacity: 0;
  transform: translateX(-24px);
  max-height: 0;
  overflow: hidden;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  pointer-events: none;
}

.service-selector-hide {
  opacity: 0;
  transform: translateX(24px);
  max-height: 0;
  overflow: hidden;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  pointer-events: none;
}

.selected-service-bar-enter-from-left {
  animation: selectedBarEnterFromLeft .34s ease both;
}

.selected-service-bar-enter-from-right {
  animation: selectedBarEnterFromRight .34s ease both;
}

.service-selector-enter-from-right {
  animation: selectorEnterFromRight .34s ease both;
}

.service-selector-enter-from-left {
  animation: selectorEnterFromLeft .34s ease both;
}

@keyframes selectedBarEnterFromLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes selectedBarEnterFromRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes selectorEnterFromRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes selectorEnterFromLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Initial service menu states */
html[data-service-menu-init="selector"] .selected-service-bar,
html[data-service-menu-init="selector"] .service-menu-group,
html:not([data-service-menu-ready="1"])[data-service-menu-init="selector"] .selected-service-bar,
html:not([data-service-menu-ready="1"])[data-service-menu-init="selector"] .service-menu-group {
  display: none !important;
}

html[data-service-menu-init="central"] .service-selector-section,
html[data-service-menu-init="pharmsci"] .service-selector-section,
html:not([data-service-menu-ready="1"])[data-service-menu-init="central"] .service-selector-section,
html:not([data-service-menu-ready="1"])[data-service-menu-init="pharmsci"] .service-selector-section {
  display: none !important;
}

html[data-service-menu-init="central"] .selected-service-bar,
html[data-service-menu-init="pharmsci"] .selected-service-bar,
html:not([data-service-menu-ready="1"])[data-service-menu-init="central"] .selected-service-bar,
html:not([data-service-menu-ready="1"])[data-service-menu-init="pharmsci"] .selected-service-bar {
  display: block !important;
}

html[data-service-menu-init="central"] .service-menu-group,
html[data-service-menu-init="pharmsci"] .service-menu-group,
html:not([data-service-menu-ready="1"])[data-service-menu-init="central"] .service-menu-group,
html:not([data-service-menu-ready="1"])[data-service-menu-init="pharmsci"] .service-menu-group {
  display: none !important;
}

html[data-service-menu-init="central"] .service-menu-group[data-menu-group="central"],
html:not([data-service-menu-ready="1"])[data-service-menu-init="central"] .service-menu-group[data-menu-group="central"] {
  display: block !important;
}

html[data-service-menu-init="pharmsci"] .service-menu-group[data-menu-group="pharmsci"],
html:not([data-service-menu-ready="1"])[data-service-menu-init="pharmsci"] .service-menu-group[data-menu-group="pharmsci"] {
  display: block !important;
}

/* Header gradient */
.service-gradient-bar {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(90deg, #0284c7 0%, #06b6d4 45%, #10b981 100%);
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.service-gradient-bar.cel-shine::before {
  z-index: 1;
  pointer-events: none;
}

.service-gradient-bar>* {
  position: relative;
  z-index: 3;
}

.service-gradient-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
  background: var(--next-service-gradient);
}

.service-gradient-default {
  background:
    radial-gradient(circle at 18% 20%,
      rgba(255, 255, 255, 0.16),
      transparent 30%),
    linear-gradient(90deg,
      #016575 0%,
      #37B286 22%,
      #2EA585 38%,
      #239482 56%,
      #17837C 74%,
      #0A7178 88%,
      #016575 100%);

  box-shadow:
    0 12px 32px rgba(1, 101, 117, 0.22),
    0 6px 18px rgba(68, 193, 138, 0.18);

  border-top-color: rgba(94, 220, 165, 0.55);
}

.service-gradient-central {
  background: linear-gradient(135deg, rgb(12 74 110) 0%, rgb(2 132 199) 42%, rgb(6 182 212) 100%);
  box-shadow: 0 10px 28px rgba(14, 165, 233, .2);
  border-top-color: rgba(56, 189, 248, .35);
}

.service-gradient-pharmsci {
  background: linear-gradient(135deg, rgb(153 27 27) 0%, rgb(239 68 68) 55%, rgb(251 191 36) 100%);
  box-shadow: 0 10px 28px rgba(220, 38, 38, .2);
  border-top-color: rgba(251, 191, 36, .35);
}

.service-gradient-to-default {
  --next-service-gradient:
    radial-gradient(circle at 18% 20%,
      rgba(255, 255, 255, 0.16),
      transparent 30%),
    linear-gradient(90deg,
      #016575 0%,
      #37B286 22%,
      #2EA585 38%,
      #239482 56%,
      #17837C 74%,
      #0A7178 88%,
      #016575 100%);
}

.service-gradient-to-central {
  --next-service-gradient: linear-gradient(135deg, rgb(12 74 110) 0%, rgb(2 132 199) 42%, rgb(6 182 212) 100%);
}

.service-gradient-to-pharmsci {
  --next-service-gradient: linear-gradient(135deg, rgb(153 27 27) 0%, rgb(239 68 68) 55%, rgb(251 191 36) 100%);
}

.service-gradient-sliding::after {
  opacity: 1;
  animation: serviceGradientSlideFill 520ms ease-in-out forwards;
}

@keyframes serviceGradientSlideFill {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

html.dark .service-gradient-default {
  background:
    radial-gradient(circle at 82% 42%, rgba(255, 255, 255, .14), transparent 24%),
    radial-gradient(circle at 72% 55%, rgba(34, 211, 238, .16), transparent 32%),
    radial-gradient(circle at 28% 28%, rgba(218, 185, 92, .14), transparent 30%),
    linear-gradient(90deg,
      #016575 0%,
      #37B286 22%,
      #2EA585 38%,
      #239482 56%,
      #17837C 74%,
      #0A7178 88%,
      #016575 100%);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, .34),
    0 8px 24px rgba(34, 211, 238, .10),
    0 6px 20px rgba(218, 185, 92, .10);
  border-top-color: rgba(220, 190, 95, .42);
}

html.dark .service-gradient-central {
  background: linear-gradient(135deg, rgba(12, 74, 110, .96) 0%, rgba(2, 132, 199, .92) 42%, rgba(6, 182, 212, .9) 100%);
}

html.dark .service-gradient-pharmsci {
  background: linear-gradient(135deg, rgba(153, 27, 27, .96) 0%, rgba(239, 68, 68, .92) 55%, rgba(251, 191, 36, .86) 100%);
}

/* Badge flicker fix */
html.is-i18n-changing .selected-service-bar,
html.is-i18n-changing .selected-service-bar *,
html.is-i18n-changing .selected-service-badge,
html.is-i18n-changing .selected-service-badge *,
html.is-i18n-changing .selected-service-title,
html.is-i18n-changing .selected-service-badge-text,
html.is-i18n-changing .selected-service-badge-icon {
  transition: none !important;
  animation: none !important;
}

.selected-service-bar:not(.hidden) {
  animation: none;
}

.selected-service-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 32px;
  max-width: 100%;
  contain: layout paint;
  backface-visibility: hidden;
}

.selected-service-badge,
.selected-service-badge *,
.selected-service-title {
  transition-property: color, background-color, border-color, box-shadow;
}

.selected-service-badge-icon {
  flex: 0 0 auto;
  width: 1rem;
  text-align: center;
}

.selected-service-badge-text {
  display: inline-block;
  min-width: 120px;
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.selected-service-bar,
.selected-service-badge,
.selected-service-title,
.selected-service-badge-text {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Featured instruments */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.featured-grid-3 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}

.featured-instrument-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 999px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

/* Animation utilities */
.cel-breathe {
  animation: celBreathe 1.8s ease-in-out infinite;
}

@keyframes celBreathe {

  0%,
  100% {
    transform: scale(1);
    opacity: .85;
  }

  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

@keyframes celFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cel-fade-up {
  opacity: 0;
  transform: translateY(10px);
  animation: celFadeUp .55s ease-out forwards;
}

.cel-delay-0 {
  animation-delay: .00s;
}

.cel-delay-1 {
  animation-delay: .06s;
}

.cel-delay-2 {
  animation-delay: .12s;
}

.cel-delay-3 {
  animation-delay: .18s;
}

.cel-delay-4 {
  animation-delay: .24s;
}

.cel-delay-5 {
  animation-delay: .30s;
}

.cel-delay-6 {
  animation-delay: .36s;
}

.cel-panel {
  will-change: transform, opacity;
}

.cel-panel.is-enter {
  animation: celPanelFade 220ms ease-out both;
}

@keyframes celPanelFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (min-width: 640px) {
  .featured-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .featured-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {

  html,
  body {
    font-size: 14px;
  }

  .nav-pill {
    padding: .48rem .72rem;
    gap: .4rem;
    border-radius: .8rem;
    font-size: .82rem;
  }

  .acc-link {
    padding: .58rem .68rem;
    font-size: .82rem;
    border-radius: .8rem;
  }

  .acc-head {
    padding: .85rem 1rem !important;
  }

  .cel-hero {
    height: 280px !important;
  }

  #bookingCalendar .fc-daygrid-day-frame {
    min-height: 135px;
  }

  .cel-dialog {
    max-width: 96vw;
    border-radius: 18px;
  }

  .cel-dialog-body,
  .cel-modal-body {
    max-height: calc(100vh - 150px);
  }
}

@media (max-width: 768px) {

  html,
  body {
    font-size: 13.5px;
  }

  main .px-5,
  header .px-5,
  footer .px-5 {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  main .py-6 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  #mainHeader .text-base {
    font-size: .95rem !important;
  }

  #mainHeader .text-xs {
    font-size: .72rem !important;
  }

  .nav-pill {
    padding: .42rem .62rem;
    font-size: .76rem;
    border-radius: .75rem;
  }

  .acc-link {
    padding: .54rem .62rem;
    font-size: .78rem;
  }

  .cel-hero {
    height: 230px !important;
  }

  .cel-hero__content {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .cel-hero__badge {
    padding: 6px 10px;
    font-size: 11px;
    margin-bottom: 8px;
  }

  .cel-hero__title {
    font-size: 18px;
    line-height: 1.15;
  }

  .cel-hero__sub {
    font-size: 11px;
    margin-top: 6px;
  }

  .cel-hero__arrow {
    width: 36px;
    height: 36px;
  }


  .fc .fc-toolbar-title {
    font-size: .92rem;
  }

  .fc .fc-button {
    margin: 4px;
    padding: .4rem .55rem !important;
    border-radius: .75rem !important;
    font-size: .72rem !important;
  }

  .cel-time,
  .select2-container .select2-selection--single {
    min-height: 40px !important;
    height: 40px !important;
    border-radius: .85rem !important;
    font-size: .85rem !important;
  }

  .cel-modal-center {
    padding: 10px;
  }

  .cel-dialog {
    max-width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 16px;
  }
}

@media (max-width: 640px) {

  html,
  body {
    font-size: 13px;
  }

  .logo-slider {
    padding: 0 46px;
  }

  .logo-arrow {
    width: 40px;
    height: 40px;
  }

  .logo-arrow--left {
    left: 4px;
  }

  .logo-arrow--right {
    right: 4px;
  }

  .logo-card {
    flex: 0 0 150px;
    height: 84px;
    border-radius: 14px;
  }

  .logo-card img {
    max-height: 48px;
  }

  .cel-hero {
    height: 210px !important;
  }

  .cel-hero__title {
    font-size: 16px;
  }

  .cel-hero__sub {
    display: none;
  }


  .nav-pill {
    padding: .38rem .52rem;
    font-size: .72rem;
  }

  .acc-link {
    font-size: .76rem;
    padding: .5rem .56rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {

  html,
  body {
    font-size: 12.5px;
  }

  .logo-card {
    flex: 0 0 138px;
    height: 78px;
  }

  .logo-card img {
    max-height: 42px;
  }

  .cel-hero {
    height: 190px !important;
  }

  .cel-hero__title {
    font-size: 15px;
  }

  .cel-hero__badge {
    font-size: 10px;
    padding: 5px 9px;
  }



  .cel-dialog {
    border-radius: 14px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .cel-breathe,
  .cel-fade-up,
  .cel-panel.is-enter,
  .service-gradient-sliding::after,
  .selected-service-bar,
  .service-selector-section,
  .service-menu-group,
  .selected-service-badge,
  .selected-service-badge *,
  .workflow-step-icon,
  .workflow-step-glow,
  .workflow-arrow,
  .waste-float,
  .waste-fade-up {
    animation: none !important;
    transition: none !important;
  }

  .service-gradient-sliding::after {
    transform: translateX(0);
  }

  .cel-fade-up {
    opacity: 1;
    transform: none;
  }
}

.cel-time-chip {
  border-radius: 999px;
  padding: .45rem .75rem;
  font-weight: 800;
  font-size: .8rem;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
  color: rgb(15 23 42);
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}

.cel-time-chip:hover {
  background: rgb(240 253 250);
  /* emerald-50 */
  box-shadow: 0 6px 16px rgba(2, 132, 199, .08);
}

.cel-time-chip:active {
  transform: scale(.98);
}

.dark .cel-time-chip {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  color: rgb(226 232 240);
}

.dark .cel-time-chip:hover {
  background: rgba(16, 185, 129, .12);
}

/* =====================================================
   Force header gradient animation on every page load
   ===================================================== */
.service-gradient-preload {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.9), transparent 35%),
    linear-gradient(90deg,
      rgba(240, 249, 255, 0.98) 0%,
      rgba(236, 254, 255, 0.98) 50%,
      rgba(236, 253, 245, 0.98) 100%) !important;
}

.dark .service-gradient-preload {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 35%),
    linear-gradient(90deg,
      rgba(8, 47, 73, 0.75) 0%,
      rgba(22, 78, 99, 0.68) 50%,
      rgba(6, 78, 59, 0.68) 100%) !important;
}

.btn-login-booking {
  color: #ffffff;
  background:

    radial-gradient(circle at 70% 48%, rgba(231, 199, 108, .24), transparent 30%),
    linear-gradient(90deg,
      #016575 0%,
      #37B286 22%,
      #2EA585 38%,
      #239482 56%,
      #17837C 74%,
      #0A7178 88%,
      #016575 100%);
  border: 1px solid rgba(230, 198, 98, .55);
  box-shadow:
    0 10px 24px rgba(6, 78, 59, .22),
    0 8px 20px rgba(218, 185, 92, .16);
}

.btn-login-booking:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 32px rgba(6, 78, 59, .28),
    0 10px 26px rgba(218, 185, 92, .22);
}

.btn-login-booking:focus {
  box-shadow:
    0 0 0 4px rgba(230, 198, 98, .28),
    0 10px 24px rgba(6, 78, 59, .22);
}

.btn-login-booking .btn-login-icon {
  background: rgba(255, 255, 255, .14);
  color: #ffffff;
  border: 1px solid rgba(255, 236, 170, .28);
}

.btn-login-booking:hover .btn-login-icon {
  color: #E3EF26;
  background: rgba(255, 255, 255, .18);
}

.avatar-login-premium {
  color: #ffffff;
  background:
    linear-gradient(40deg,
      #016575 0%,
      #37B286 22%,
      #2EA585 38%,
      #239482 56%,
      #17837C 74%,
      #0A7178 88%,
      #016575 100%);
  border: 1px solid rgba(230, 198, 98, .55);
  box-shadow:
    0 10px 24px rgba(6, 78, 59, .22),
    0 8px 20px rgba(218, 185, 92, .16);
}

.avatar-login-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(34px 34px at 28% 20%, rgba(255, 255, 255, .42), transparent 62%),
    linear-gradient(135deg, rgba(255, 238, 170, .18), transparent 48%);
  opacity: .9;
  pointer-events: none;
}

.avatar-login-premium::after {
  content: "";
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 9999px;
  background: rgba(231, 199, 108, .32);
  filter: blur(16px);
  pointer-events: none;
}

.dark .avatar-login-premium {
  background:
    radial-gradient(circle at 82% 42%, rgba(255, 255, 255, .18), transparent 22%),
    radial-gradient(circle at 70% 48%, rgba(231, 199, 108, .20), transparent 30%),
    linear-gradient(105deg,
      rgba(15, 107, 95, .72) 0%,
      rgba(44, 117, 123, .62) 20%,
      rgba(47, 105, 121, .58) 36%,
      rgba(42, 108, 97, .62) 54%,
      rgba(44, 117, 123, .58) 72%,
      rgba(14, 101, 77, .72) 100%);
  border-color: rgba(230, 198, 98, .35);
  box-shadow:
    0 10px 24px rgba(6, 78, 59, .16),
    0 8px 20px rgba(218, 185, 92, .10);
}

.btn-login-premium {
  color: #fff;
  background:
    linear-gradient(90deg,
      #44C18A 0%,
      #37B286 22%,
      #2EA585 38%,
      #239482 56%,
      #17837C 74%,
      #0A7178 88%,
      #016575 100%);
  border: 1px solid rgba(230, 198, 98, .55);
  box-shadow:
    0 10px 24px rgba(6, 78, 59, .22),
    0 8px 20px rgba(218, 185, 92, .16);
}

.btn-login-premium:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 32px rgba(6, 78, 59, .30),
    0 10px 26px rgba(218, 185, 92, .22);
  filter: brightness(1.04);
}

.btn-login-premium:active {
  transform: scale(.99);
}

.btn-login-premium:focus {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(230, 198, 98, .26),
    0 12px 28px rgba(6, 78, 59, .24);
}

.btn-login-premium .btn-login-icon {
  color: #E3EF26;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
}

.btn-login-premium .btn-login-text {
  color: #E3EF26;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .22);
}

.dark .btn-login-premium {
  background:
    radial-gradient(circle at 82% 42%, rgba(255, 255, 255, .18), transparent 22%),
    radial-gradient(circle at 70% 48%, rgba(231, 199, 108, .20), transparent 30%),
    linear-gradient(90deg,
      #44C18A 0%,
      #37B286 22%,
      #2EA585 38%,
      #239482 56%,
      #17837C 74%,
      #0A7178 88%,
      #016575 100%);
  border-color: rgba(230, 198, 98, .35);
}

.featured-status {
  margin-top: 1rem;
  text-align: center;
  font-size: .9rem;
  color: #64748b;
}

.dark .featured-status {
  color: #cbd5e1;
}

.featured-instrument-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.35rem;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(255, 255, 255, .94);
  padding: 1rem;
  text-align: left;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .04);
}

.featured-instrument-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, .08);
}

.dark .featured-instrument-card {
  background: rgba(15, 23, 42, .55);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: none;
}

.featured-instrument-card.central:hover {
  border-color: rgba(14, 165, 233, .32);
}

.featured-instrument-card.science:hover {
  border-color: rgba(185, 28, 28, .28);
}

.featured-instrument-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark .featured-instrument-thumb {
  background: rgba(255, 255, 255, .04);
}

.featured-instrument-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.featured-instrument-card:hover .featured-instrument-thumb img {
  transform: scale(1.04);
}

.featured-instrument-top {
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.featured-instrument-title-wrap {
  min-width: 0;
  flex: 1;
}

.featured-instrument-name-en {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.4;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-instrument-name-th {
  margin-top: .25rem;
  min-height: 42px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark .featured-instrument-name-en {
  color: #f8fafc;
}

.dark .featured-instrument-name-th {
  color: #cbd5e1;
}

.featured-instrument-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.featured-instrument-meta-wrap {

  border-top: 1px solid rgba(148, 163, 184, .16);
  padding-top: .85rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.dark .featured-instrument-meta-wrap {
  border-top-color: rgba(255, 255, 255, .08);
}

.featured-instrument-meta,
.featured-instrument-location {
  font-size: .82rem;
  line-height: 1.55;
  color: #64748b;
}

.featured-instrument-meta strong,
.featured-instrument-location strong {
  color: #334155;
  font-weight: 800;
}

.dark .featured-instrument-meta,
.dark .featured-instrument-location {
  color: #94a3b8;
}

.dark .featured-instrument-meta strong,
.dark .featured-instrument-location strong {
  color: #e2e8f0;
}

.featured-instrument-footer {
  margin-top: auto;
  padding-top: .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.featured-dept-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  padding: .45rem .8rem;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.featured-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  font-weight: 900;
}

.detail-field {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(226, 232, 240, .9);
  background: rgba(255, 255, 255, .82);
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .035);
}

.detail-field::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(14, 165, 233, .75), rgba(6, 182, 212, .55), rgba(16, 185, 129, .45));
  opacity: .75;
}

.detail-label {
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .04em;
  color: rgb(100 116 139);
}

.detail-value {
  margin-top: .45rem;
  font-size: .95rem;
  font-weight: 900;
  line-height: 1.65;
  color: rgb(15 23 42);
  word-break: break-word;
}

.dark .detail-field {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(15, 23, 42, .58);
  box-shadow: none;
}

.dark .detail-label {
  color: rgb(148 163 184);
}

.dark .detail-value {
  color: rgb(241 245 249);
}

.auth-locked-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: 1.1rem;
  border: 1px dashed rgba(148, 163, 184, .55);
  background: rgba(248, 250, 252, .8);
  padding: .9rem 1rem;
  font-size: .82rem;
  font-weight: 900;
  color: rgb(100 116 139);
}

.dark .auth-locked-box {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: rgb(203 213 225);
}

.filter-check-card input:checked+.filter-check-ui {
  border-color: rgba(14, 165, 233, .45);
  background: linear-gradient(135deg, rgba(14, 165, 233, .12), rgba(20, 184, 166, .10));
  box-shadow: 0 10px 25px rgba(14, 165, 233, .08);
}

.filter-check-card input:checked+.filter-check-ui .filter-check-icon {
  background: linear-gradient(135deg, rgb(2, 132, 199), rgb(20, 184, 166));
  color: #fff;
  border-color: transparent;
}

.filter-check-card input:checked+.filter-check-ui .filter-check-mark {
  opacity: 1;
  transform: scale(1);
}

.dark .filter-check-card input:checked+.filter-check-ui {
  border-color: rgba(125, 211, 252, .30);
  background: linear-gradient(135deg, rgba(14, 165, 233, .18), rgba(20, 184, 166, .12));
}

.filter-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.filter-chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  border: 1px solid rgb(226 232 240);
  background: rgba(255, 255, 255, .92);
  color: rgb(51 65 85);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
  transition: all .18s ease;
}

.filter-chip span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgb(203 213 225);
  transition: all .18s ease;
}

.filter-chip:hover span {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
  border-color: rgb(125 211 252);
}

.filter-chip input:checked+span {
  background: linear-gradient(135deg, #0284c7, #06b6d4);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(2, 132, 199, .22);
}

.filter-chip input:checked+span::before {
  background: #fff;
}

.dark .filter-chip span {
  background: rgba(15, 23, 42, .55);
  border-color: rgba(255, 255, 255, .10);
  color: rgb(226 232 240);
}

.dark .filter-chip span::before {
  background: rgba(255, 255, 255, .28);
}

.dark .filter-chip:hover span {
  border-color: rgba(56, 189, 248, .45);
}

.dark .filter-chip input:checked+span {
  background: linear-gradient(135deg, rgba(14, 165, 233, .95), rgba(6, 182, 212, .95));
  color: #fff;
}

/* rooms */
.room-floor-btn {
  border: 1px solid rgba(226, 232, 240, .95);
  background: rgba(255, 255, 255, .92);
  color: #334155;
  border-radius: 1rem;
  padding: .8rem 1rem;
  min-width: 72px;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
  transition: all .2s ease;
}

.room-floor-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, .55);
  color: #0369a1;
  background: linear-gradient(180deg, #ffffff, #f0f9ff);
}

.room-floor-btn.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 55%, #10b981 100%);
  box-shadow: 0 14px 30px rgba(14, 165, 233, .24);
}

.room-status-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(226, 232, 240, .95);
  background: rgba(255, 255, 255, .92);
  border-radius: 1.4rem;
  padding: 1rem 1.05rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
  transition: all .2s ease;
}

.room-status-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, .08);
}

.room-status-card.is-active {
  border-color: rgba(56, 189, 248, .45);
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(240, 249, 255, .98));
  box-shadow: 0 16px 30px rgba(14, 165, 233, .10);
}

.room-status-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  flex: none;
}

.dark .room-floor-btn {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(15, 23, 42, .8);
  color: #e2e8f0;
}

.dark .room-floor-btn:hover {
  background: rgba(14, 165, 233, .12);
  border-color: rgba(56, 189, 248, .28);
  color: #fff;
}

.dark .room-floor-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 55%, #10b981 100%);
}

.dark .room-status-card {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(15, 23, 42, .72);
}

.dark .room-status-card.is-active {
  border-color: rgba(56, 189, 248, .24);
  background: linear-gradient(180deg, rgba(14, 165, 233, .08), rgba(255, 255, 255, .02));
}

/** evaluation */
.eval-section {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(187, 247, 208, .75);
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, .10), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(240, 253, 244, .86));
  padding: 1.25rem;
  box-shadow: 0 18px 50px rgba(6, 95, 70, .10);
  backdrop-filter: blur(18px);
}

.eval-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, transparent 38%, rgba(255, 255, 255, .45) 50%, transparent 62%, transparent 100%);
  transform: translateX(-130%);
  opacity: 0;
}

.eval-section:hover::before {
  opacity: 1;
  animation: evalShine 1.25s ease;
}

@keyframes evalShine {
  from {
    transform: translateX(-130%);
  }

  to {
    transform: translateX(130%);
  }
}

html.dark .eval-section {
  border-color: rgba(74, 222, 128, .18);
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, .12), transparent 34%),
    rgba(255, 255, 255, .07);
}

.eval-section-green {
  border-color: rgba(52, 211, 153, .55);
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, .18), transparent 34%),
    linear-gradient(135deg, rgba(236, 253, 245, .96), rgba(255, 255, 255, .90), rgba(220, 252, 231, .78));
}

.eval-section-header {
  position: relative;
  z-index: 1;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.eval-section-icon {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  box-shadow: 0 8px 22px rgba(6, 95, 70, .12);
}

.eval-section-title {
  font-size: 1rem;
  font-weight: 900;
  color: rgb(15 23 42);
}

html.dark .eval-section-title {
  color: white;
}

.eval-section-desc {
  margin-top: .2rem;
  font-size: .8rem;
  font-weight: 600;
  color: rgb(71 85 105);
}

html.dark .eval-section-desc {
  color: rgb(203 213 225);
}

.eval-card-title {
  margin-bottom: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  padding: .45rem .8rem;
  font-size: .78rem;
  font-weight: 900;
  color: rgb(6 95 70);
  box-shadow: 0 8px 20px rgba(6, 95, 70, .08);
  border: 1px solid rgba(187, 247, 208, .9);
}

html.dark .eval-card-title {
  background: rgba(255, 255, 255, .08);
  color: rgb(134 239 172);
  border-color: rgba(255, 255, 255, .12);
}

.radio-card-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: .85rem;
}

@media (min-width: 640px) {
  .radio-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .radio-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .radio-card-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.radio-card {
  position: relative;
  display: flex;
  min-height: 86px;
  cursor: pointer;
  align-items: center;
  gap: .85rem;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid rgba(187, 247, 208, .9);
  background: rgba(255, 255, 255, .82);
  padding: .95rem;
  box-shadow: 0 10px 28px rgba(6, 95, 70, .08);
  transition: all .28s cubic-bezier(.22, 1, .36, 1);
}

.radio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(16, 185, 129, .16), transparent 34%),
    linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(20, 184, 166, .06));
  opacity: 0;
  transition: opacity .25s ease;
}

.radio-card:hover {
  transform: translateY(-3px) scale(1.012);
  border-color: rgba(16, 185, 129, .55);
  box-shadow: 0 20px 45px rgba(6, 95, 70, .16);
}

.radio-card:hover::before {
  opacity: 1;
}

.radio-card-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: rgb(5 150 105);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
  transition: all .25s ease;
}

.radio-card-text {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
}

.radio-card-label {
  display: block;
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.25;
  color: rgb(15 23 42);
}

.radio-card-desc {
  margin-top: .2rem;
  display: block;
  font-size: .68rem;
  font-weight: 700;
  color: rgb(100 116 139);
}

.radio-card-check {
  position: relative;
  z-index: 1;
  display: inline-flex;
  height: 26px;
  width: 26px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgb(241 245 249);
  color: transparent;
  transform: scale(.85);
  transition: all .25s ease;
}

.radio-card:has(input:checked) {
  border-color: rgba(5, 150, 105, .75);
  background: linear-gradient(135deg, #ecfdf5, #ffffff, #dcfce7);
  box-shadow: 0 22px 52px rgba(5, 150, 105, .20);
}

.radio-card:has(input:checked)::before {
  opacity: 1;
}

.radio-card:has(input:checked) .radio-card-icon {
  background: linear-gradient(135deg, #059669, #10b981, #14b8a6);
  color: white;
  transform: rotate(-4deg) scale(1.06);
  box-shadow: 0 12px 28px rgba(5, 150, 105, .25);
}

.radio-card:has(input:checked) .radio-card-check {
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
  transform: scale(1);
  box-shadow: 0 8px 18px rgba(5, 150, 105, .25);
}

html.dark .radio-card {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .065);
}

html.dark .radio-card-label {
  color: white;
}

html.dark .radio-card-desc {
  color: rgb(203 213 225);
}

html.dark .radio-card-icon {
  background: rgba(16, 185, 129, .12);
  color: rgb(134 239 172);
}

html.dark .radio-card-check {
  background: rgba(255, 255, 255, .10);
}

html.dark .radio-card:has(input:checked) {
  border-color: rgba(52, 211, 153, .45);
  background: rgba(16, 185, 129, .12);
}

.rating-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  overflow: visible;
  border-radius: 1.35rem;
  border: 1px solid rgba(187, 247, 208, .82);
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, .08), transparent 34%),
    linear-gradient(135deg, rgba(248, 250, 252, .96), rgba(255, 255, 255, .92));
  padding: 1rem;
  transition: all .28s ease;
}

.rating-item:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, .45);
  box-shadow: 0 18px 40px rgba(6, 95, 70, .12);
}

html.dark .rating-item {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .045);
}

@media (min-width: 768px) {
  .rating-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

.rating-title {
  font-size: .9rem;
  font-weight: 900;
  color: rgb(15 23 42);
}

html.dark .rating-title {
  color: white;
}

.rating-desc {
  margin-top: .2rem;
  font-size: .75rem;
  font-weight: 600;
  color: rgb(71 85 105);
}

html.dark .rating-desc {
  color: rgb(203 213 225);
}

.eval-label {
  margin-bottom: .45rem;
  display: block;
  font-size: .75rem;
  font-weight: 900;
  color: rgb(51 65 85);
}

html.dark .eval-label {
  color: rgb(226 232 240);
}

.eval-textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
  border-radius: 1rem;
  border: 1px solid rgba(187, 247, 208, .9);
  background: rgba(255, 255, 255, .92);
  padding: .8rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: rgb(30 41 59);
  outline: none;
  transition: all .2s ease;
}

.eval-textarea:focus {
  border-color: rgb(16 185 129);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .20);
}

html.dark .eval-textarea {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(15, 23, 42, .55);
  color: white;
}

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  justify-content: flex-start;
  overflow: visible;
}

.star-wrap {
  position: relative;
  display: inline-flex;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1);
}

.star-btn {
  position: relative;
  display: inline-flex;
  height: 2.65rem;
  width: 2.65rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, .95);
  background:
    linear-gradient(135deg, #ffffff, #f8fafc);
  color: rgb(203 213 225);
  font-size: 1.18rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
  transition:
    transform .24s cubic-bezier(.22, 1, .36, 1),
    color .2s ease,
    background .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.star-btn i {
  transition:
    transform .24s cubic-bezier(.22, 1, .36, 1),
    filter .24s ease;
}

.star-wrap:hover .star-btn {
  transform: translateY(-6px) rotate(-6deg) scale(1.08);
  color: rgb(245 158 11);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, .32), transparent 42%),
    linear-gradient(135deg, #fffbeb, #fef3c7);
  border-color: rgb(252 211 77);
  box-shadow: 0 16px 30px rgba(245, 158, 11, .24);
}

.star-wrap:hover .star-btn i {
  transform: rotate(12deg);
  filter: drop-shadow(0 5px 8px rgba(245, 158, 11, .35));
}

.star-btn.is-active {
  color: rgb(245 158 11);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, .35), transparent 44%),
    linear-gradient(135deg, #fffbeb, #fde68a);
  border-color: rgb(252 211 77);
  box-shadow: 0 10px 24px rgba(245, 158, 11, .22);
}

.star-btn.is-active i {
  filter: drop-shadow(0 4px 8px rgba(245, 158, 11, .30));
}

/* tooltip */
.star-tooltip {
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 30;
  display: inline-flex;
  min-width: 104px;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  transform: translateX(-50%) translateY(8px) scale(.94);
  border-radius: .9rem;
  border: 1px solid rgba(255, 255, 255, .38);
  background:
    linear-gradient(135deg, #064e3b, #059669, #10b981);
  padding: .45rem .65rem;
  font-size: .68rem;
  font-weight: 900;
  color: white;
  opacity: 0;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(6, 95, 70, .28);
  transition: all .2s ease;
}

.star-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #059669 transparent transparent transparent;
}

.star-tooltip-score {
  display: inline-flex;
  height: 1.15rem;
  min-width: 1.15rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  font-size: .65rem;
}

.star-tooltip-text {
  line-height: 1;
}

.star-wrap:hover .star-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.star-rating:hover .star-wrap {
  transform: translateX(2px);
}

.star-rating:hover .star-wrap:hover~.star-wrap {
  transform: translateX(8px);
}

/* Dark mode */
html.dark .star-btn {
  border-color: rgba(255, 255, 255, .10);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, .08), transparent 42%),
    rgba(255, 255, 255, .065);
  color: rgb(71 85 105);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

html.dark .star-wrap:hover .star-btn {
  color: rgb(251 191 36);
  border-color: rgba(251, 191, 36, .45);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, .20), transparent 46%),
    rgba(245, 158, 11, .13);
  box-shadow:
    0 16px 34px rgba(251, 191, 36, .16),
    0 0 0 1px rgba(251, 191, 36, .08);
}

html.dark .star-btn.is-active {
  color: rgb(251 191 36);
  border-color: rgba(251, 191, 36, .48);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, .26), transparent 46%),
    linear-gradient(135deg, rgba(245, 158, 11, .18), rgba(180, 83, 9, .12));
  box-shadow:
    0 12px 28px rgba(251, 191, 36, .16),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

html.dark .star-tooltip {
  border-color: rgba(255, 255, 255, .12);
  background:
    linear-gradient(135deg, #022c22, #065f46, #0f766e);
  color: rgb(236 253 245);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, .35),
    0 0 0 1px rgba(45, 212, 191, .12);
}

html.dark .star-tooltip::after {
  border-color: #065f46 transparent transparent transparent;
}

html.dark .star-tooltip-score {
  background: rgba(255, 255, 255, .14);
  color: rgb(254 243 199);
}

html.dark .star-btn {
  color: rgba(255, 255, 255, .92);
}

html.dark .star-btn i {
  color: inherit;
}

html.dark .star-wrap:hover .star-btn,
html.dark .star-btn.is-active {
  color: rgb(251 191 36);
}

.eval-section-header.compact {
  margin-bottom: 1rem;
}

.eval-radio-row {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid rgba(187, 247, 208, .78);
  background:
    radial-gradient(circle at left, rgba(16, 185, 129, .12), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(236, 253, 245, .78));
  padding: .75rem;
  box-shadow: 0 12px 30px rgba(6, 95, 70, .08);
}

.eval-radio-row::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg,
      transparent,
      rgba(255, 255, 255, .45),
      transparent);
  transform: translateX(-120%);
  opacity: 0;
}

.eval-radio-row:hover::before {
  opacity: 1;
  animation: evalRadioShine 1.1s ease;
}

@keyframes evalRadioShine {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}

.eval-radio-topic {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .65rem;
}

.eval-radio-topic-icon {
  display: inline-flex;
  height: 2.35rem;
  width: 2.35rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: .95rem;
  background: linear-gradient(135deg, #059669, #10b981, #14b8a6);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(5, 150, 105, .22);
}

.eval-radio-topic-title {
  font-size: .78rem;
  font-weight: 950;
  color: rgb(6 78 59);
  line-height: 1.25;
}

.eval-radio-topic-desc {
  margin-top: .1rem;
  font-size: .65rem;
  font-weight: 700;
  color: rgb(71 85 105);
}

.radio-pill-line {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  gap: .55rem;
  overflow-x: auto;
  padding: .15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, .45) transparent;
}

.radio-pill-card {
  position: relative;
  display: inline-flex;
  min-height: 2.55rem;
  min-width: max-content;
  cursor: pointer;
  align-items: center;
  gap: .45rem;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(187, 247, 208, .9);
  background: rgba(255, 255, 255, .9);
  padding: .48rem .62rem .48rem .52rem;
  color: rgb(51 65 85);
  box-shadow: 0 6px 16px rgba(6, 95, 70, .06);
  transition: all .22s cubic-bezier(.22, 1, .36, 1);
}

.radio-pill-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, .65);
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(6, 95, 70, .14);
}

.radio-pill-icon {
  display: inline-flex;
  height: 1.7rem;
  width: 1.7rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: rgb(5 150 105);
  font-size: .72rem;
  transition: all .22s ease;
}

.radio-pill-label {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
}

.radio-pill-check {
  display: inline-flex;
  height: 1.3rem;
  width: 1.3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgb(241 245 249);
  color: transparent;
  font-size: .58rem;
  transform: scale(.85);
  transition: all .22s ease;
}

.radio-pill-card:has(input:checked) {
  border-color: rgba(5, 150, 105, .75);
  background: linear-gradient(135deg, #059669, #10b981, #14b8a6);
  color: white;
  box-shadow: 0 16px 34px rgba(5, 150, 105, .28);
}

.radio-pill-card:has(input:checked) .radio-pill-icon {
  background: rgba(255, 255, 255, .20);
  color: white;
  transform: rotate(-6deg) scale(1.08);
}

.radio-pill-card:has(input:checked) .radio-pill-check {
  background: rgba(255, 255, 255, .22);
  color: white;
  transform: scale(1);
}

html.dark .eval-radio-row {
  border-color: rgba(52, 211, 153, .18);
  background:
    radial-gradient(circle at left, rgba(16, 185, 129, .14), transparent 36%),
    rgba(255, 255, 255, .06);
}

html.dark .eval-radio-topic-title {
  color: rgb(167 243 208);
}

html.dark .eval-radio-topic-desc {
  color: rgb(203 213 225);
}

html.dark .radio-pill-card {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .075);
  color: rgb(226 232 240);
}

html.dark .radio-pill-card:hover {
  background: rgba(255, 255, 255, .12);
}

html.dark .radio-pill-icon {
  background: rgba(16, 185, 129, .15);
  color: rgb(134 239 172);
}

html.dark .radio-pill-check {
  background: rgba(255, 255, 255, .10);
}

html.dark .radio-pill-card:has(input:checked) {
  border-color: rgba(52, 211, 153, .45);
  background: linear-gradient(135deg, #047857, #059669, #0f766e);
  color: white;
}

@media (max-width: 900px) {
  .eval-radio-row {
    grid-template-columns: 1fr;
    gap: .65rem;
  }

  .radio-pill-line {
    padding-bottom: .2rem;
  }
}

@media (max-width: 520px) {
  .eval-radio-topic-icon {
    height: 2.1rem;
    width: 2.1rem;
  }

  .radio-pill-card {
    min-height: 2.35rem;
    padding: .42rem .55rem .42rem .45rem;
  }

  .radio-pill-label {
    max-width: 150px;
    font-size: .68rem;
  }
}

.eval-rating-section {
  border-color: rgba(153, 246, 228, .65);
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, .10), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(240, 253, 250, .84));
}

html.dark .eval-rating-section {
  border-color: rgba(45, 212, 191, .18);
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, .12), transparent 34%),
    rgba(255, 255, 255, .065);
}

.eval-rating-stack {
  display: grid;
  gap: .85rem;
}

.rating-item-green {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  overflow: visible;
  border-radius: 1.3rem;
  border: 1px solid rgba(187, 247, 208, .78);
  background:
    radial-gradient(circle at left, rgba(16, 185, 129, .10), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(236, 253, 245, .78));
  padding: .85rem;
  box-shadow: 0 12px 30px rgba(6, 95, 70, .08);
  transition: all .26s cubic-bezier(.22, 1, .36, 1);
}

.rating-item-green::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, .16), rgba(20, 184, 166, .12), rgba(132, 204, 22, .10));
  opacity: 0;
  transition: opacity .26s ease;
}

.rating-item-green:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, .50);
  box-shadow: 0 18px 42px rgba(6, 95, 70, .14);
}

.rating-item-green:hover::before {
  opacity: 1;
}

.rating-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .8rem;
}

.rating-number {
  display: inline-flex;
  height: 2.15rem;
  min-width: 2.15rem;
  align-items: center;
  justify-content: center;
  border-radius: .85rem;
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
  font-size: .72rem;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(5, 150, 105, .22);
}

.rating-title {
  font-size: .86rem;
  font-weight: 950;
  line-height: 1.35;
  color: rgb(15 23 42);
}

.rating-desc {
  margin-top: .15rem;
  font-size: .72rem;
  font-weight: 650;
  color: rgb(71 85 105);
}

.rating-action {
  display: flex;
  justify-content: flex-end;
  min-width: max-content;
}

html.dark .rating-item-green {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .065);
}

html.dark .rating-title {
  color: white;
}

html.dark .rating-desc {
  color: rgb(203 213 225);
}

.eval-comment-section {
  border-color: rgba(190, 242, 100, .50);
  background:
    radial-gradient(circle at top left, rgba(132, 204, 22, .13), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(247, 254, 231, .82));
}

html.dark .eval-comment-section {
  border-color: rgba(190, 242, 100, .18);
  background:
    radial-gradient(circle at top left, rgba(132, 204, 22, .10), transparent 34%),
    rgba(255, 255, 255, .065);
}

.comment-card {
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid rgba(187, 247, 208, .78);
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, .12), transparent 32%),
    rgba(255, 255, 255, .82);
  padding: 1rem;
  box-shadow: 0 12px 30px rgba(6, 95, 70, .08);
}

.comment-card-head {
  margin-bottom: .85rem;
  display: flex;
  align-items: flex-start;
  gap: .8rem;
}

.comment-card-icon {
  display: inline-flex;
  height: 2.35rem;
  width: 2.35rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #10b981, #84cc16);
  color: white;
  box-shadow: 0 12px 26px rgba(101, 163, 13, .20);
}

.comment-card-title {
  display: block;
  font-size: .86rem;
  font-weight: 950;
  line-height: 1.4;
  color: rgb(15 23 42);
}

.comment-card-desc {
  margin-top: .15rem;
  font-size: .72rem;
  font-weight: 650;
  color: rgb(71 85 105);
}

.eval-textarea-modern {
  min-height: 110px;
  border-color: rgba(187, 247, 208, .95);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(240, 253, 244, .82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
}

.eval-textarea-modern:focus {
  border-color: rgb(16 185 129);
  box-shadow:
    0 0 0 4px rgba(16, 185, 129, .20),
    0 12px 30px rgba(6, 95, 70, .10);
}

html.dark .comment-card {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .055);
}

html.dark .comment-card-title {
  color: white;
}

html.dark .comment-card-desc {
  color: rgb(203 213 225);
}

html.dark .eval-textarea-modern {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(15, 23, 42, .55);
  color: white;
}

.eval-summary-section {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(187, 247, 208, .78);
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, .16), transparent 34%),
    linear-gradient(135deg, rgba(236, 253, 245, .96), rgba(255, 255, 255, .92), rgba(204, 251, 241, .80));
  padding: 1.25rem;
  box-shadow: 0 22px 60px rgba(6, 95, 70, .14);
  backdrop-filter: blur(18px);
}

.summary-glow {
  position: absolute;
  right: -5rem;
  top: -5rem;
  height: 14rem;
  width: 14rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, .22);
  filter: blur(52px);
}

.summary-score-card {
  min-width: 112px;
  border-radius: 1.35rem;
  border: 1px solid rgba(187, 247, 208, .86);
  background: rgba(255, 255, 255, .82);
  padding: .8rem 1rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(6, 95, 70, .10);
}

.submit-evaluation-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, .45);
  background: linear-gradient(135deg, #047857, #059669, #10b981, #14b8a6);
  padding: .85rem 1.45rem;
  font-size: .88rem;
  font-weight: 950;
  color: white;
  box-shadow: 0 16px 38px rgba(5, 150, 105, .28);
  transition: all .24s cubic-bezier(.22, 1, .36, 1);
}

.submit-btn-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .32) 45%, transparent 68%);
  transform: translateX(-120%);
}

.submit-evaluation-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 52px rgba(5, 150, 105, .34);
}

.submit-evaluation-btn:hover .submit-btn-glow {
  animation: submitShine .95s ease;
}

@keyframes submitShine {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}

html.dark .eval-summary-section {
  border-color: rgba(52, 211, 153, .18);
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, .12), transparent 34%),
    rgba(255, 255, 255, .075);
}

html.dark .summary-score-card {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .08);
}

@media (max-width: 768px) {
  .rating-item-green {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .rating-action {
    justify-content: flex-start;
  }

  .rating-number {
    height: 1.95rem;
    min-width: 1.95rem;
  }
}

/** evaluation */

/** VOC */
.voc-section {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(186, 230, 253, .75);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, .10), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(239, 246, 255, .84));
  padding: 1.25rem;
  box-shadow: 0 18px 50px rgba(37, 99, 235, .075);
  backdrop-filter: blur(18px);
}

html.dark .voc-section {
  border-color: rgba(125, 211, 252, .18);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, .12), transparent 34%),
    rgba(255, 255, 255, .065);
}

.voc-section-header {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.voc-section-icon {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .12);
}

.voc-section-title {
  font-size: 1rem;
  font-weight: 900;
  color: rgb(15 23 42);
}

html.dark .voc-section-title {
  color: white;
}

.voc-section-desc {
  margin-top: .2rem;
  font-size: .8rem;
  font-weight: 600;
  color: rgb(71 85 105);
}

html.dark .voc-section-desc {
  color: rgb(203 213 225);
}

.voc-label {
  margin-bottom: .5rem;
  display: block;
  font-size: .76rem;
  font-weight: 950;
  color: rgb(51 65 85);
}

html.dark .voc-label {
  color: rgb(226 232 240);
}

.voc-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.voc-pill-card {
  position: relative;
  display: inline-flex;
  min-height: 2.55rem;
  cursor: pointer;
  align-items: center;
  gap: .45rem;
  border-radius: 999px;
  border: 1px solid rgba(186, 230, 253, .95);
  background: rgba(255, 255, 255, .90);
  padding: .48rem .62rem .48rem .52rem;
  color: rgb(51 65 85);
  box-shadow: 0 6px 16px rgba(37, 99, 235, .06);
  transition: all .22s cubic-bezier(.22, 1, .36, 1);
}

.voc-pill-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, .65);
  box-shadow: 0 14px 28px rgba(37, 99, 235, .14);
}

.voc-pill-icon {
  display: inline-flex;
  height: 1.7rem;
  width: 1.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: rgb(37 99 235);
  font-size: .72rem;
  transition: all .22s ease;
}

.voc-pill-label {
  font-size: .72rem;
  font-weight: 900;
  white-space: nowrap;
}

.voc-pill-check {
  display: inline-flex;
  height: 1.3rem;
  width: 1.3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgb(241 245 249);
  color: transparent;
  font-size: .58rem;
  transform: scale(.85);
  transition: all .22s ease;
}

.voc-pill-card:has(input:checked) {
  border-color: rgba(37, 99, 235, .72);
  background: linear-gradient(135deg, #0284c7, #2563eb, #7c3aed);
  color: white;
  box-shadow: 0 16px 34px rgba(37, 99, 235, .26);
}

.voc-pill-card:has(input:checked) .voc-pill-icon {
  background: rgba(255, 255, 255, .18);
  color: white;
  transform: rotate(-6deg) scale(1.08);
}

.voc-pill-card:has(input:checked) .voc-pill-check {
  background: rgba(255, 255, 255, .22);
  color: white;
  transform: scale(1);
}

.voc-input-wrap {
  position: relative;
}

.voc-input-icon {
  pointer-events: none;
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(14 165 233);
}

.voc-input {
  width: 100%;
  min-height: 2.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(186, 230, 253, .95);
  background: rgba(255, 255, 255, .92);
  padding: .75rem 1rem .75rem 2.45rem;
  font-size: .88rem;
  font-weight: 700;
  color: rgb(30 41 59);
  outline: none;
  transition: all .2s ease;
}

.voc-input:focus,
.voc-textarea:focus {
  border-color: rgb(14 165 233);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .20);
}

.voc-textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  border-radius: 1.25rem;
  border: 1px solid rgba(186, 230, 253, .95);
  background: rgba(255, 255, 255, .92);
  padding: .9rem 1rem;
  font-size: .88rem;
  font-weight: 650;
  color: rgb(30 41 59);
  outline: none;
  transition: all .2s ease;
}

html.dark .voc-input,
html.dark .voc-textarea {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(15, 23, 42, .55);
  color: white;
}

.voc-category-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: .85rem;
}

@media (min-width: 768px) {
  .voc-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.voc-category-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  cursor: pointer;
  border-radius: 1.35rem;
  border: 1px solid rgba(186, 230, 253, .80);
  background: rgba(255, 255, 255, .86);
  padding: .95rem;
  box-shadow: 0 10px 28px rgba(37, 99, 235, .08);
  transition: all .24s cubic-bezier(.22, 1, .36, 1);
}

.voc-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, .45);
  box-shadow: 0 18px 42px rgba(37, 99, 235, .14);
}

.voc-category-icon {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
}

.voc-category-title {
  display: block;
  font-size: .88rem;
  font-weight: 950;
  color: rgb(15 23 42);
}

.voc-category-desc {
  display: block;
  margin-top: .1rem;
  font-size: .72rem;
  font-weight: 650;
  color: rgb(71 85 105);
}

.voc-category-check {
  display: inline-flex;
  height: 1.55rem;
  width: 1.55rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgb(241 245 249);
  color: transparent;
  transition: all .22s ease;
}

.voc-category-card:has(input:checked) {
  border-color: rgba(37, 99, 235, .72);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, .16), transparent 42%),
    linear-gradient(135deg, #ffffff, #eff6ff);
  box-shadow: 0 18px 44px rgba(37, 99, 235, .16);
}

.voc-category-card:has(input:checked) .voc-category-check {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: white;
}

html.dark .voc-category-card {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .065);
}

html.dark .voc-category-title {
  color: white;
}

html.dark .voc-category-desc {
  color: rgb(203 213 225);
}

.voc-segment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(186, 230, 253, .95);
  background: rgba(255, 255, 255, .75);
  padding: .45rem;
}

.voc-segment-item {
  cursor: pointer;
}

.voc-segment-item span {
  display: flex;
  min-height: 2.45rem;
  align-items: center;
  justify-content: center;
  border-radius: .9rem;
  font-size: .75rem;
  font-weight: 950;
  color: rgb(71 85 105);
  transition: all .2s ease;
}

.voc-segment-item:hover span {
  background: rgba(14, 165, 233, .10);
  color: rgb(2 132 199);
}

.voc-segment-item:has(input:checked) span {
  background: linear-gradient(135deg, #0284c7, #2563eb, #7c3aed);
  color: white;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .20);
}

html.dark .voc-segment {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .065);
}

html.dark .voc-segment-item span {
  color: rgb(226 232 240);
}

.voc-smile-rating {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .45rem;
}

.voc-smile-btn {
  min-height: 4.2rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(186, 230, 253, .95);
  background: rgba(255, 255, 255, .88);
  color: rgb(71 85 105);
  padding: .45rem;
  font-size: .68rem;
  font-weight: 850;
  transition: all .22s ease;
}

.voc-smile-btn i {
  display: block;
  margin-bottom: .3rem;
  font-size: 1.25rem;
  color: rgb(14 165 233);
}

.voc-smile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, .14);
}

.voc-smile-btn.is-active {
  background: linear-gradient(135deg, #0284c7, #2563eb, #7c3aed);
  color: white;
  border-color: rgba(37, 99, 235, .72);
  box-shadow: 0 18px 38px rgba(37, 99, 235, .22);
}

.voc-smile-btn.is-active i {
  color: white;
}

html.dark .voc-smile-btn {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .065);
  color: rgb(226 232 240);
}

.voc-summary-section {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(186, 230, 253, .78);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, .16), transparent 34%),
    linear-gradient(135deg, rgba(239, 246, 255, .96), rgba(255, 255, 255, .92), rgba(238, 242, 255, .80));
  padding: 1.25rem;
  box-shadow: 0 22px 60px rgba(37, 99, 235, .14);
  backdrop-filter: blur(18px);
}

.voc-summary-glow {
  position: absolute;
  right: -5rem;
  top: -5rem;
  height: 14rem;
  width: 14rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, .22);
  filter: blur(52px);
}

.voc-submit-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, .45);
  background: linear-gradient(135deg, #0284c7, #2563eb, #7c3aed);
  padding: .85rem 1.45rem;
  font-size: .88rem;
  font-weight: 950;
  color: white;
  box-shadow: 0 16px 38px rgba(37, 99, 235, .28);
  transition: all .24s cubic-bezier(.22, 1, .36, 1);
}

.voc-submit-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .32) 45%, transparent 68%);
  transform: translateX(-120%);
}

.voc-submit-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 52px rgba(37, 99, 235, .34);
}

.voc-submit-btn:hover .voc-submit-glow {
  animation: vocSubmitShine .95s ease;
}

@keyframes vocSubmitShine {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}

html.dark .voc-summary-section {
  border-color: rgba(125, 211, 252, .18);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, .12), transparent 34%),
    rgba(255, 255, 255, .075);
}

@media (max-width: 640px) {
  .voc-smile-rating {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/** VOC */
.is-instrument-broken-booking,
.is-instrument-broken-booking .fc-event-main {
  background: #e5e7eb !important;
  border-color: #9ca3af !important;
  color: #dc2626 !important;
}

.is-instrument-broken-booking .cel-ev-clean,
.is-instrument-broken-booking .cel-ev,
.is-instrument-broken-booking .cel-ev-title,
.is-instrument-broken-booking .cel-ev-sub,
.is-instrument-broken-booking .cel-ev-time {
  color: #dc2626 !important;
}

.cel-status-instrument-broken {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
}

/* ขยาย Detail Modal */
#bookingDetailDialog {
  width: min(96vw, 1280px) !important;
  max-width: 1280px !important;
}

#bookingDetailBody {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

/* Header action buttons */
.booking-detail-admin-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.75rem;
}

.booking-detail-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 9999px;
  padding: 0.55rem 0.9rem;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  transition: all .18s ease;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
}

.booking-detail-admin-btn:hover {
  transform: translateY(-1px);
}

.booking-detail-admin-btn.approve {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.booking-detail-admin-btn.reject {
  background: linear-gradient(135deg, #f43f5e, #dc2626);
  color: #fff;
}

.booking-detail-admin-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

@keyframes legalPop {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.legal-content h3 {
  margin-top: 1.25rem;
  margin-bottom: .55rem;
  font-size: 1rem;
  font-weight: 900;
  color: rgb(15 23 42);
}

.dark .legal-content h3 {
  color: #fff;
}

.legal-content p {
  margin-top: .35rem;
  margin-bottom: .85rem;
}

.legal-content ul {
  margin-top: .4rem;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: .45rem;
}

.legal-content .legal-note {
  margin-top: 1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(16, 185, 129, .25);
  background: rgba(236, 253, 245, .75);
  padding: 1rem;
  color: rgb(6 95 70);
  font-weight: 700;
}

.dark .legal-content .legal-note {
  background: rgba(16, 185, 129, .10);
  color: rgb(167 243 208);
  border-color: rgba(52, 211, 153, .25);
}

.export-report-card {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 1.75rem;
  border: 1px solid rgb(226 232 240 / 0.85);
  background: rgb(255 255 255 / 0.95);
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.045);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.export-report-card:hover {
  transform: translateY(-2px);
  border-color: rgb(125 211 252);
  box-shadow: 0 18px 42px rgb(14 165 233 / 0.11);
}

.export-report-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  box-shadow: 0 0 0 1px currentColor inset;
}

.export-report-number {
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
  line-height: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0284c7;
}

.export-report-title {
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 900;
}

.export-report-description {
  margin-top: 0.4rem;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.65;
}

.export-report-arrow {
  margin-left: auto;
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  background: #f0f9ff;
  color: #0284c7;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.export-report-card:hover .export-report-arrow {
  transform: translateX(3px);
  background: #e0f2fe;
}

.dark .export-report-card {
  border-color: rgb(255 255 255 / 0.1);
  background: rgb(15 23 42 / 0.62);
  box-shadow: none;
}

.dark .export-report-title {
  color: #f8fafc;
}

.dark .export-report-description {
  color: #94a3b8;
}

.dark .export-report-arrow {
  background: rgb(14 165 233 / 0.12);
  color: #7dd3fc;
}

/* Select2 */
#adminExportPage .select2-container {
  width: 100% !important;
}

#adminExportPage .select2-container .select2-selection--single {
  height: 48px;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
}

#adminExportPage .select2-container .select2-selection--single .select2-selection__rendered {
  width: 100%;
  padding-left: 0;
  padding-right: 2rem;
  color: #334155;
  line-height: normal;
}

#adminExportPage .select2-container .select2-selection--single .select2-selection__arrow {
  height: 46px;
  right: 8px;
}

#adminExportPage .select2-container--focus .select2-selection--single {
  border-color: #7dd3fc;
  box-shadow: 0 0 0 4px rgb(224 242 254);
}

.instrument-select-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
}

.instrument-select-image {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 0.75rem;
  object-fit: cover;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.instrument-select-content {
  min-width: 0;
  flex: 1;
}

.instrument-select-name {
  overflow: hidden;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.instrument-select-meta {
  margin-top: 1px;
  color: #94a3b8;
  font-size: 0.68rem;
}

.dark #adminExportPage .select2-container .select2-selection--single {
  border-color: rgb(255 255 255 / 0.1);
  background: rgb(2 6 23 / 0.42);
}

.dark #adminExportPage .select2-container .select2-selection--single .select2-selection__rendered {
  color: #f1f5f9;
}

.dark .instrument-select-name {
  color: #f8fafc;
}
/* =====================================================
   MEMBER SLIDER
===================================================== */
.member-slider{position:relative;width:100%;min-width:0}.member-slider-viewport{position:relative;width:100%;min-width:0;overflow:hidden;padding:14px 48px 22px}.member-slider-track{display:flex;align-items:stretch;width:100%;transform:translate3d(0,0,0);transition:transform 650ms cubic-bezier(.22,1,.36,1);will-change:transform}.member-slider-slide{position:relative;flex:0 0 25%;width:25%;min-width:25%;padding:10px;box-sizing:border-box}.member-slider-slide>article{width:100%;max-width:none;filter:none!important;transform:none!important;backface-visibility:visible;transition:border-color .3s ease,box-shadow .35s ease}.member-slider-slide:hover>article{transform:none!important;box-shadow:0 28px 70px rgba(15,23,42,.16)}.dark .member-slider-slide:hover>article{box-shadow:0 30px 75px rgba(0,0,0,.42)}

/* Photo motion only - keeps text sharp */
.member-slider-slide>article img{backface-visibility:hidden}.member-slider-slide>article .member-photo,.member-slider-slide>article img{transition:transform .45s cubic-bezier(.22,1,.36,1),filter .45s ease}.member-slider-slide:hover>article .member-photo,.member-slider-slide:hover>article img.member-avatar{transform:scale(1.035)}

/* Navigation */
.member-slider-nav{position:absolute;top:50%;z-index:40;display:inline-flex;height:44px;width:44px;transform:translateY(-50%);align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.82);border-radius:9999px;background:rgba(255,255,255,.94);color:#0f172a;box-shadow:0 12px 30px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.95);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);cursor:pointer;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease,border-color .2s ease}.member-slider-nav:hover{background:#fff;color:#0284c7;box-shadow:0 16px 38px rgba(15,23,42,.20),inset 0 1px 0 #fff}.member-slider-nav:active{box-shadow:0 8px 20px rgba(15,23,42,.15)}.member-slider-prev{left:5px}.member-slider-next{right:5px}.member-slider-nav.is-disabled{pointer-events:none;opacity:.3}.dark .member-slider-nav{border-color:rgba(255,255,255,.12);background:rgba(15,23,42,.90);color:#e2e8f0;box-shadow:0 14px 36px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.08)}.dark .member-slider-nav:hover{background:#172033;color:#67e8f9;border-color:rgba(103,232,249,.25);box-shadow:0 18px 42px rgba(0,0,0,.45)}

/* Footer */
.member-slider-footer{display:flex;min-height:40px;align-items:center;justify-content:center;gap:14px;padding-top:4px}

/* Dots */
.member-slider-dots{display:flex;align-items:center;justify-content:center;gap:7px}.member-slider-dot{position:relative;height:7px;width:7px;overflow:hidden;border:0;border-radius:9999px;background:#cbd5e1;cursor:pointer;opacity:.72;transition:width .3s cubic-bezier(.22,1,.36,1),background-color .2s ease,opacity .2s ease}.member-slider-dot:hover{opacity:1}.member-slider-dot.is-active{width:28px;opacity:1;background:#e2e8f0}.member-slider-dot-progress{position:absolute;inset:0;transform:scaleX(0);transform-origin:left center;border-radius:inherit}.member-slider[data-theme="central"] .member-slider-dot-progress{background:linear-gradient(90deg,#0284c7,#06b6d4)}.member-slider[data-theme="department"] .member-slider-dot-progress{background:linear-gradient(90deg,#e11d48,#f97316)}.member-slider-dot.is-active .member-slider-dot-progress{animation:memberSliderProgress 6s linear forwards}.dark .member-slider-dot{background:#334155}.dark .member-slider-dot.is-active{background:#475569}@keyframes memberSliderProgress{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* Luxury panel details */
.member-section-panel{isolation:isolate}.member-section-panel:before{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(135deg,rgba(255,255,255,.55),transparent 35%,transparent 70%,rgba(255,255,255,.20));opacity:.6}.dark .member-section-panel:before{background:linear-gradient(135deg,rgba(255,255,255,.04),transparent 35%,transparent 70%,rgba(255,255,255,.02))}

.member-spec-text{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;min-height:47px;max-height:47px}
/* Responsive */
@media(max-width:1279px){.member-slider-slide{flex-basis:50%;width:50%;min-width:50%}.member-slider-viewport{padding-left:42px;padding-right:42px}}@media(max-width:639px){.member-slider-slide{flex-basis:100%;width:100%;min-width:100%;padding:7px}.member-slider-viewport{padding:10px 32px 18px}.member-slider-nav{height:36px;width:36px}.member-slider-prev{left:1px}.member-slider-next{right:1px}.member-slider-dot.is-active{width:24px}}@media(prefers-reduced-motion:reduce){.member-slider-track,.member-slider-slide>article,.member-slider-dot,.member-slider-dot-progress{transition:none!important;animation:none!important}}
/*
  |--------------------------------------------------------------------------
  | Counter
  |--------------------------------------------------------------------------
  */

.member-slider-counter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.member-slider-counter-divider {
  opacity: 0.45;
}

/*
  |--------------------------------------------------------------------------
  | Desktop = 4 cards
  |--------------------------------------------------------------------------
  */

@media (min-width: 1280px) {
  .member-slider-slide {
    flex-basis: 25%;
    width: 25%;
    min-width: 25%;
  }
}

/*
  |--------------------------------------------------------------------------
  | Tablet = 2 cards
  |--------------------------------------------------------------------------
  */

@media (min-width: 640px) and (max-width: 1279px) {
  .member-slider-slide {
    flex-basis: 50%;
    width: 50%;
    min-width: 50%;
  }
}

/*
  |--------------------------------------------------------------------------
  | Mobile = 1 card
  |--------------------------------------------------------------------------
  */

@media (max-width: 639px) {
  .member-slider-viewport {
    padding-left: 30px;
    padding-right: 30px;
  }

  .member-slider-slide {
    flex-basis: 100%;
    width: 100%;
    min-width: 100%;
    padding: 6px;
  }

  .member-slider-nav {
    height: 38px;
    width: 38px;
  }

  .member-slider-prev {
    left: 0;
  }

  .member-slider-next {
    right: 0;
  }
}

/*
  |--------------------------------------------------------------------------
  | Dark
  |--------------------------------------------------------------------------
  */

.dark .member-slider-nav {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
}

.dark .member-slider-dot {
  background: #475569;
}

/*
  |--------------------------------------------------------------------------
  | Reduced motion
  |--------------------------------------------------------------------------
  */

@media (prefers-reduced-motion: reduce) {

  .member-slider-track,
  .member-slider-slide>article,
  .member-slider-nav,
  .member-slider-dot {
    transition: none !important;
  }

  .member-slider-dot-progress {
    animation: none !important;
  }
}

.member-slider-slide,
.member-slider-slide:hover,
.member-slider-slide:active,
.member-slider-slide:focus-within,
.member-slider-slide>article,
.member-slider-slide:hover>article,
.member-slider-slide:active>article,
.member-slider-slide:focus-within>article {
  filter: none !important;
  opacity: 1;
}

/* =====================================================
   Select2 Trading Theme
===================================================== */

#centralInstrumentDashboard .select2-container {
  width: 100% !important;
}

#centralInstrumentDashboard .select2-container--default .select2-selection--single {
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 1rem;
  background:
    linear-gradient(145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.01)),
    rgba(0, 0, 0, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 8px 25px rgba(0, 0, 0, 0.15);
}

#centralInstrumentDashboard .select2-container--default .select2-selection--single .select2-selection__rendered {
  display: flex;
  height: 46px;
  align-items: center;
  padding-left: 12px;
  padding-right: 42px;
  line-height: normal;
  color: #e2e8f0;
}

#centralInstrumentDashboard .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 0;
  right: 10px;
  height: 46px;
}

#centralInstrumentDashboard .select2-container--default.select2-container--open .select2-selection--single,
#centralInstrumentDashboard .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow:
    0 0 0 4px rgba(6, 182, 212, 0.08),
    0 18px 45px rgba(0, 0, 0, 0.25);
}

.select2-container--open {
  z-index: 99999;
}

.select2-dropdown {
  overflow: hidden;
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 1rem !important;
  background: rgba(5, 7, 11, 0.98) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.70);
  backdrop-filter: blur(24px);
}

.select2-results {
  padding: 6px;
}

.select2-results__options {
  max-height: 370px !important;
}

.select2-results__option {
  margin: 2px 0;
  border-radius: 0.8rem;
  background: transparent !important;
  color: #cbd5e1;
}

.select2-results__option--highlighted {
  background:
    linear-gradient(90deg,
      rgba(14, 165, 233, 0.14),
      rgba(34, 211, 238, 0.05)) !important;
  color: #ffffff !important;
}

.select2-results__option[aria-selected="true"] {
  background: rgba(14, 165, 233, 0.08) !important;
}

.select2-search--dropdown {
  padding: 10px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.45);
  padding: 0 14px;
  color: #ffffff;
  outline: none;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: rgba(34, 211, 238, 0.42) !important;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.07);
}



/* =====================================================
   Dashboard Animation
===================================================== */

.dashboard-panel {
  transition:
    transform 0.3s cubic-bezier(.2, .8, .2, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.dashboard-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.15);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dashboard-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.025),
      transparent 30%,
      transparent 70%,
      rgba(56, 189, 248, 0.015));
}

.instrument-image-glow {
  position: relative;
}

.instrument-image-glow::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  background: rgba(56, 189, 248, 0.30);
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.instrument-image-glow:hover::before {
  opacity: 1;
}

.instrument-image-glow img {
  position: relative;
  z-index: 1;
}

/* =====================================================
   Scrollbar
===================================================== */

#centralInstrumentDashboard ::-webkit-scrollbar,
.select2-results__options::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

#centralInstrumentDashboard ::-webkit-scrollbar-track,
.select2-results__options::-webkit-scrollbar-track {
  background: transparent;
}

#centralInstrumentDashboard ::-webkit-scrollbar-thumb,
.select2-results__options::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.35);
}

#centralInstrumentDashboard ::-webkit-scrollbar-thumb:hover,
.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.50);
}

.trend-filter-btn {

  display: inline-flex;
  align-items: center;

  padding: 0.45rem 0.85rem;

  border-radius: 0.75rem;

  border: 1px solid rgba(255, 255, 255, .1);

  background: rgba(255, 255, 255, .04);

  color: #94a3b8;

  font-size: 0.75rem;

  font-weight: 700;

  transition: all .25s ease;

}


.trend-filter-btn:hover {

  border-color: rgba(56, 189, 248, .4);

  color: #38bdf8;

}


.trend-filter-btn.active {

  background: rgba(14, 165, 233, .15);

  border-color: rgba(56, 189, 248, .5);

  color: #38bdf8;

}

.apexcharts-tooltip {
  background: rgba(15, 23, 42, 0.95) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, .15) !important;
}


.apexcharts-tooltip-text-y-value,
.apexcharts-tooltip-text-y-label,
.apexcharts-tooltip-series-group,
.apexcharts-tooltip-text {
  color: #ffffff !important;
  font-weight: 700 !important;
}


.apexcharts-tooltip-marker {
  box-shadow: 0 0 8px rgba(255, 255, 255, .5);
}

.apexcharts-tooltip-text-y-value {
  color: #ffffff !important;
  font-size: 14px !important;
}

/* =====================================================
   Final responsive safeguards
   Keep these at the end so later generic rules cannot
   accidentally make FullCalendar cells too tall on mobile.
   ===================================================== */
@media (max-width: 1024px) and (min-width: 769px) {
  #bookingCalendar .fc-daygrid-day-frame {
    min-height: clamp(78px, 13vw, 112px) !important;
  }
}

@media (max-width: 768px) {
  #bookingCalendar .fc-daygrid-day-frame {
    min-height: 82px !important;
  }
}

@media (max-width: 480px) {
  #bookingCalendar .fc-daygrid-day-frame {
    min-height: 72px !important;
  }
}

/* =====================================================
   Service menu tooltip helper
   Usage:
   <div class="service-menu-tooltip-wrap">
     <button class="service-menu-tab">...</button>
     <div class="service-menu-tooltip">...</div>
   </div>
   ===================================================== */
.service-menu-tooltip-wrap {
  position: relative;
  min-width: 0;
}

.service-menu-tooltip {
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + .65rem);
  z-index: 9999;
  max-width: min(34rem, calc(100vw - 2rem));
  transform: translateX(-50%) translateY(.35rem) scale(.98);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: .8rem;
  background: rgba(15, 23, 42, .96);
  padding: .5rem .75rem;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .24);
  backdrop-filter: blur(12px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.service-menu-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(15, 23, 42, .96) transparent transparent transparent;
}

@media (hover: hover) and (pointer: fine) {

  .service-menu-tooltip-wrap:hover .service-menu-tooltip,
  .service-menu-tooltip-wrap:focus-within .service-menu-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

html.dark .service-menu-tooltip {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(2, 6, 23, .97);
  color: rgb(241 245 249);
}

html.dark .service-menu-tooltip::after {
  border-top-color: rgba(2, 6, 23, .97);
}

@media (prefers-reduced-motion: reduce) {
  .service-menu-tooltip {
    transition: none !important;
  }
}


/* =====================================================
   COMPACT UI — Balanced density override
   Scope: component/class based sizing (no global zoom)
   Goal: ~8–12% smaller while preserving readability
   ===================================================== */

/* ---------- Shared density ---------- */
.card-soft {
  border-radius: .9rem;
}

.nav-pill {
  gap: .42rem;
  padding: .48rem .72rem;
  border-radius: .82rem;
}

.acc-head {
  padding: .78rem .9rem !important;
}

.acc-link,
.service-menu-group .acc-link {
  gap: .55rem;
  padding: .56rem .68rem;
  border-radius: .78rem;
  font-size: .82rem;
}

/* ---------- Service selector / service tabs ---------- */
.service-selector-section .service-menu-tab,
.selected-service-bar .service-menu-tab {
  border-radius: 18px !important;
  padding: .78rem !important;
}

.service-selector-section .service-menu-tab>span,
.service-selector-section .service-menu-tab>div.relative {
  gap: .6rem !important;
}

/* Tailwind h-11/w-11 icon boxes inside service tabs */
.service-selector-section .service-menu-tab .h-11,
.service-selector-section .service-menu-tab .w-11 {
  width: 2.35rem !important;
  height: 2.35rem !important;
  border-radius: .82rem !important;
}

/* Arrow box */
.service-selector-section .service-menu-tab .h-8,
.service-selector-section .service-menu-tab .w-8 {
  width: 1.75rem !important;
  height: 1.75rem !important;
  border-radius: .68rem !important;
}

.service-selector-section .service-menu-tab .text-sm {
  font-size: .80rem !important;
  line-height: 1.32 !important;
}

.service-menu-tooltip {
  bottom: calc(100% + .5rem);
  border-radius: .72rem;
  padding: .42rem .65rem;
  font-size: .76rem;
}

.selected-service-bar-show {
  max-height: 150px;
}

.selected-service-badge {
  min-height: 28px;
  gap: .4rem;
}

.selected-service-badge-text {
  min-width: 104px;
  max-width: 180px;
}

/* ---------- Hero ---------- */
.cel-hero {
  height: var(--h-sm, 220px);
  min-height: var(--h-sm, 220px);
}

.cel-hero__content {
  left: clamp(1rem, 3vw, 2.75rem);
  bottom: clamp(1.15rem, 4vw, 2.75rem);
  max-width: 570px;
}

.cel-hero__badge {
  margin-bottom: 8px;
  padding: .44rem .72rem;
  font-size: .68rem;
}

.cel-hero__title {
  font-size: clamp(15px, 1.8vw, 22px);
}

.cel-hero__sub {
  margin-top: .55rem;
  font-size: clamp(.82rem, 1.2vw, 1rem);
  line-height: 1.65;
}

.cel-hero__arrow {
  width: 2.45rem;
  height: 2.45rem;
}

@media (min-width: 768px) {
  .cel-hero {
    height: var(--h, 310px);
    min-height: var(--h, 310px);
  }
}

@media (min-width: 1280px) {
  .cel-hero {
    height: var(--h-lg, 380px);
    min-height: var(--h-lg, 380px);
  }
}

/* ---------- Featured instruments ---------- */
.featured-grid,
.featured-grid-3 {
  gap: .95rem;
}

.featured-instrument-card {
  border-radius: 1.15rem;
  padding: .82rem;
}

.featured-instrument-thumb {
  border-radius: .85rem;
}

.featured-instrument-top {
  margin-top: .72rem;
  gap: .6rem;
}

.featured-instrument-name-en {
  font-size: .9rem;
  line-height: 1.32;
}

.featured-instrument-name-th {
  margin-top: .18rem;
  min-height: 36px;
  font-size: .8rem;
  line-height: 1.35;
}

.featured-instrument-badge {
  min-height: 24px;
  padding: 0 8px;
  font-size: 10px;
}

.featured-instrument-meta-wrap {
  padding-top: .68rem;
  gap: .35rem;
}

.featured-instrument-meta,
.featured-instrument-location {
  font-size: .76rem;
  line-height: 1.45;
}

.featured-instrument-footer {
  padding-top: .72rem;
  gap: .6rem;
}

.featured-dept-chip {
  gap: .32rem;
  padding: .36rem .68rem;
  font-size: .68rem;
}

.featured-link {
  gap: .35rem;
  font-size: .74rem;
}

/* ---------- Calendar ---------- */
#bookingCalendar .fc-header-toolbar {
  padding: .58rem .72rem;
  gap: .55rem !important;
  margin-bottom: .7rem !important;
  border-radius: 1rem;
}

#bookingCalendar .fc-toolbar {
  gap: .55rem;
  margin-bottom: .72rem !important;
}

#bookingCalendar .fc-toolbar-title {
  padding: .22rem .5rem;
  font-size: .96rem !important;
}

#bookingCalendar .fc-button,
#bookingCalendar.fc .fc-button {
  padding: .46rem .7rem !important;
  border-radius: .78rem !important;
  font-size: .7rem !important;
}

#bookingCalendar .fc-button-group,
#bookingCalendar.fc .fc-button-group {
  gap: .3rem !important;
}

#bookingCalendar .fc-toolbar-chunk,
#bookingCalendar.fc .fc-toolbar-chunk {
  gap: .4rem !important;
}

#bookingCalendar .fc-scrollgrid,
.fc .fc-scrollgrid {
  border-radius: 1rem !important;
}

#bookingCalendar .fc-col-header-cell-cushion,
#bookingCalendar .fc-timegrid-axis-cushion {
  padding: .58rem .35rem;
  font-size: .68rem;
}

#bookingCalendar .fc-daygrid-day-frame {
  min-height: 90px !important;
  padding: .28rem .24rem .35rem;
}

#bookingCalendar .fc-daygrid-day-number {
  min-width: 1.65rem;
  height: 1.65rem;
  border-radius: .7rem;
  padding: 0 .36rem;
  font-size: .72rem;
}

#bookingCalendar .fc-day-today .fc-daygrid-day-number,
.fc .fc-day-today .fc-daygrid-day-number {
  min-width: 1.72rem !important;
  height: 1.72rem !important;
}

#bookingCalendar .cel-ev,
#bookingCalendar .cel-ev-clean {
  gap: .28rem;
  border-radius: .72rem;
  padding: .22rem .38rem !important;
}

#bookingCalendar .cel-ev-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  font-size: 9px;
}

#bookingCalendar .cel-ev-time {
  font-size: .58rem;
}

#bookingCalendar .cel-ev-title {
  font-size: .72rem !important;
}

#bookingCalendar .cel-ev-status {
  padding: .1rem .34rem;
  font-size: .52rem;
}

#bookingCalendar .fc-daygrid-more-link {
  padding: .14rem .42rem;
  font-size: .62rem;
}

#bookingCalendar .fc-timegrid-slot {
  height: 2.05rem;
}

#bookingCalendar .fc-timegrid-slot-label {
  font-size: .68rem;
}

/* Calendar instrument filter cards */
.calendar-instrument-ui {
  min-height: 66px;
  gap: .65rem;
  border-radius: 1rem;
  padding: .62rem;
}

.calendar-instrument-thumb {
  width: 46px;
  height: 46px;
  border-radius: .8rem;
}

.calendar-instrument-name {
  font-size: .76rem;
}

.calendar-instrument-room {
  font-size: .66rem;
}

.calendar-instrument-check {
  width: 22px;
  height: 22px;
}

/* ---------- Forms / Select2 / time ---------- */
.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single,
#calendarRoomFilter+.select2-container .select2-selection--single {
  min-height: 40px !important;
  height: 40px !important;
  border-radius: .82rem !important;
  padding: 0 .65rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered,
#calendarRoomFilter+.select2-container .select2-selection__rendered {
  line-height: 40px !important;
  font-size: .82rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px !important;
}

.select2-results__option {
  padding: .62rem .78rem;
  font-size: .82rem;
}

.cel-time {
  border-radius: .78rem;
  padding: .52rem .72rem;
  font-size: .84rem;
}

.cel-time-chip {
  padding: .36rem .62rem;
  font-size: .74rem;
}

/* ---------- Modal ---------- */
.cel-modal-center {
  padding: 12px;
}

.cel-dialog {
  max-width: 68rem;
  max-height: calc(100vh - 24px);
  border-radius: 20px;
}

.cel-dialog-body,
.cel-modal-body {
  max-height: calc(100vh - 190px);
}

/* ---------- Detail / locked box ---------- */
.detail-field {
  border-radius: 1rem;
  padding: .78rem;
}

.detail-label {
  font-size: .68rem;
}

.detail-value {
  margin-top: .3rem;
  font-size: .86rem;
  line-height: 1.5;
}

.auth-locked-box {
  gap: .45rem;
  border-radius: .9rem;
  padding: .72rem .8rem;
  font-size: .76rem;
}

/* ---------- Room cards ---------- */
.room-floor-btn {
  min-width: 64px;
  border-radius: .82rem;
  padding: .62rem .8rem;
  font-size: .78rem;
}

.room-status-card {
  gap: .78rem;
  border-radius: 1.1rem;
  padding: .78rem .85rem;
}

.room-status-icon {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: .82rem;
}

/* ---------- Evaluation ---------- */
.eval-section {
  border-radius: 1.5rem;
  padding: 1rem;
}

.eval-section-header {
  gap: .7rem;
  margin-bottom: .8rem;
}

.eval-section-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: .82rem;
}

.eval-section-title {
  font-size: .92rem;
}

.eval-section-desc {
  font-size: .74rem;
}

.eval-card-title {
  margin-bottom: .6rem;
  padding: .36rem .68rem;
  font-size: .72rem;
}

.radio-card-grid {
  gap: .68rem;
}

.radio-card {
  min-height: 74px;
  gap: .68rem;
  border-radius: 1rem;
  padding: .78rem;
}

.radio-card-icon {
  width: 38px;
  height: 38px;
  border-radius: .8rem;
}

.radio-card-label {
  font-size: .78rem;
}

.radio-card-desc {
  font-size: .64rem;
}

.radio-card-check {
  width: 22px;
  height: 22px;
}

.rating-item {
  gap: .8rem;
  border-radius: 1.05rem;
  padding: .82rem;
}

.rating-title {
  font-size: .82rem;
}

.rating-desc,
.eval-label {
  font-size: .7rem;
}

.eval-textarea {
  min-height: 88px;
  border-radius: .82rem;
  padding: .65rem .8rem;
  font-size: .82rem;
}

.star-rating {
  gap: .28rem;
}

.star-btn {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: .78rem;
  font-size: 1.05rem;
}

.star-tooltip {
  min-width: 94px;
  padding: .38rem .55rem;
  font-size: .64rem;
}

/* ---------- Login / primary booking buttons ---------- */
.btn-book-default,
.btn-book-central,
.btn-book-pharmsci,
.btn-login-booking,
.btn-login-premium {
  min-height: 40px;
}

.btn-login-icon {
  transform: scale(.92);
}

/* ---------- Desktop/tablet density ---------- */
@media (max-width: 1024px) {
  .cel-hero {
    height: 250px !important;
    min-height: 250px !important;
  }

  #bookingCalendar .fc-daygrid-day-frame {
    min-height: 82px !important;
  }

  .service-selector-section .service-menu-tab {
    padding: .7rem !important;
  }
}

/* ---------- Mobile: compact, but keep touch targets usable ---------- */
@media (max-width: 768px) {
  .cel-hero {
    height: 210px !important;
    min-height: 210px !important;
  }

  .service-selector-section .service-menu-tab {
    padding: .68rem !important;
    border-radius: 16px !important;
  }

  .service-selector-section .service-menu-tab .h-11,
  .service-selector-section .service-menu-tab .w-11 {
    width: 2.2rem !important;
    height: 2.2rem !important;
  }

  #bookingCalendar .fc-daygrid-day-frame {
    min-height: 72px !important;
  }

  #bookingCalendar .fc-header-toolbar {
    padding: .55rem;
  }

  #bookingCalendar .fc-button,
  #bookingCalendar.fc .fc-button {
    padding: .42rem .58rem !important;
    font-size: .68rem !important;
  }

  .featured-instrument-card {
    padding: .74rem;
  }

  .room-status-card,
  .radio-card,
  .rating-item {
    padding: .72rem;
  }
}

@media (max-width: 480px) {
  .cel-hero {
    height: 185px !important;
    min-height: 185px !important;
  }

  #bookingCalendar .fc-daygrid-day-frame {
    min-height: 66px !important;
  }

  .star-btn {
    width: 2.15rem;
    height: 2.15rem;
  }
}
/* Compact sky/cyan theme for User Management request listing. Include only on the request-list PHP page. */
#applicationList{font-size:12px;line-height:1.45}
#applicationList>div{gap:12px!important}
#applicationList article{border-radius:16px!important;border-color:#bae6fd!important}
#applicationList article>.p-4{padding:12px!important}
#applicationList article .grid{column-gap:10px;row-gap:9px}
#applicationList article .rounded-2xl{border-radius:12px!important}
#applicationList article .p-4{padding:11px!important}
#applicationList article .p-3{padding:9px!important}
#applicationList article .text-sm{font-size:12px!important}
#applicationList article .text-xs{font-size:11px!important}
#applicationList article .text-\[12px\]{font-size:11px!important}
#applicationList article .h-16.w-16{height:48px!important;width:48px!important}
#applicationList article button,#applicationList article a{font-size:11px}
#applicationList article .min-h-\[42px\]{min-height:34px!important}
#applicationList article .btn-edit-advisor{width:28px;height:28px;border-radius:9px}
#applicationList article .btn-edit-advisor:hover{box-shadow:0 3px 10px #0284c740}
#summaryBar span{font-size:11px;padding:6px 10px}
#applicationList article .bg-slate-50\/70{background:#f0f9ff!important;border-color:#bae6fd!important}
.dark #applicationList article{border-color:rgba(56,189,248,.25)!important}
.dark #applicationList article .bg-slate-50\/70{background:rgba(14,165,233,.09)!important;border-color:rgba(56,189,248,.2)!important}
.applicant-edit-dialog{border-radius:16px!important;padding:20px!important}
.applicant-edit-dialog .swal2-title{font-size:16px!important}
.applicant-edit-dialog .swal2-html-container{font-size:12px!important}
.applicant-edit-dialog .select2-container .select2-selection--single{height:36px!important;border:1px solid #7dd3fc!important;border-radius:9px!important}
.applicant-edit-dialog .select2-selection__rendered{line-height:34px!important;font-size:12px!important}
.applicant-edit-dialog .select2-selection__arrow{height:34px!important}
@media(max-width:640px){#applicationList article>.p-4{padding:9px!important}#applicationList article .h-16.w-16{height:42px!important;width:42px!important}}


/* ================================================================
   CEL SweetAlert2 V4 · Aurora Glass (GLOBAL / CSS ONLY)
   Scoped strictly to SweetAlert2; works with existing Swal.fire calls.
   CMU local font already defined above; no font files bundled.
   ================================================================ */
:root {
  --cel-swal-surface: rgba(250, 255, 253, .97);
  --cel-swal-ink: #19344a;
  --cel-swal-heading: #10243a;
  --cel-swal-muted: #617487;
  --cel-swal-line: rgba(91, 191, 168, .29);
  --cel-swal-ring: rgba(20, 184, 166, .17);
  --cel-swal-brand: #0d9488;
}
html.dark {
  --cel-swal-surface: rgba(17, 32, 43, .97);
  --cel-swal-ink: #d8e8ed;
  --cel-swal-heading: #f2fafb;
  --cel-swal-muted: #a8bdc9;
  --cel-swal-line: rgba(94, 234, 212, .22);
  --cel-swal-ring: rgba(94, 234, 212, .17);
  --cel-swal-brand: #5eead4;
}

/* Backdrop only for modal dialogs. Toasts must not dim the page. */
body .swal2-container:not(.swal2-top-end):not(.swal2-top-start):not(.swal2-bottom-end):not(.swal2-bottom-start):not(.swal2-top-right):not(.swal2-bottom-right) {
  font-family: "CMU", sans-serif;
  padding: 14px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
body .swal2-container { font-family: "CMU", sans-serif; }

body .swal2-container .swal2-popup:not(.swal2-toast) {
  box-sizing: border-box;
  width: min(26rem, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  padding: 26px 27px 23px;
  border: 1px solid var(--cel-swal-line);
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(110, 231, 183, .16), transparent 54%),
    radial-gradient(ellipse at 100% 95%, rgba(56, 189, 248, .08), transparent 46%),
    var(--cel-swal-surface);
  color: var(--cel-swal-ink);
  box-shadow: 0 28px 76px rgba(9, 45, 64, .21), 0 7px 20px rgba(9, 45, 64, .07), inset 0 1px 0 rgba(255,255,255,.7);
  font-family: "CMU", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
/* Thin gradient rim matches reference; not applied to toasts. */
body .swal2-container .swal2-popup:not(.swal2-toast)::before {
  content: "";
  position: absolute;
  left: 20px; right: 20px; top: 0;
  height: 3px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(90deg, #34d399, #14b8a6, #0ea5e9);
  pointer-events: none;
}
body .swal2-container .swal2-popup.swal2-icon-error::before { background: linear-gradient(90deg,#fb7185,#fca5a5); }
body .swal2-container .swal2-popup.swal2-icon-warning::before { background: linear-gradient(90deg,#f59e0b,#fcd34d); }
body .swal2-container .swal2-popup.swal2-icon-question::before { background: linear-gradient(90deg,#38bdf8,#67e8f9); }

body .swal2-container .swal2-popup:not(.swal2-toast) .swal2-icon {
  box-sizing: content-box;
  width: 72px; height: 72px;
  margin: 11px auto 11px;
  border-width: 2px;
  background: rgba(255,255,255,.54);
  box-shadow: 0 0 0 7px rgba(255,255,255,.44), 0 12px 24px rgba(15, 118, 110, .055);
}
body .swal2-container .swal2-icon.swal2-success { background-color: rgba(209,250,229,.40); }
body .swal2-container .swal2-icon.swal2-error { background-color: rgba(255,228,230,.34); }
body .swal2-container .swal2-icon.swal2-warning { background-color: rgba(254,243,199,.36); }
body .swal2-container .swal2-icon.swal2-info,
body .swal2-container .swal2-icon.swal2-question { background-color: rgba(224,242,254,.45); }
body .swal2-container .swal2-popup:not(.swal2-toast) .swal2-icon .swal2-icon-content { font-size: 2.15rem; font-weight: 400; }
/* SweetAlert native SVG/check animations remain untouched. */

body .swal2-container .swal2-popup:not(.swal2-toast) .swal2-title {
  margin: 11px 0 3px;
  padding: 0;
  font-family: "CMU", sans-serif;
  font-size: 18px;
  line-height: 1.52;
  font-weight: 600;
  letter-spacing: .04px;
  color: var(--cel-swal-heading);
  overflow-wrap: anywhere;
}
body .swal2-container .swal2-popup:not(.swal2-toast) .swal2-html-container {
  margin: 8px 0 9px;
  padding: 0;
  font-family: "CMU", sans-serif;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: .05px;
  color: var(--cel-swal-ink);
  overflow-wrap: anywhere;
}
body .swal2-container .swal2-html-container b,
body .swal2-container .swal2-html-container strong { color: var(--cel-swal-heading); font-weight: 600; }

body .swal2-container .swal2-popup:not(.swal2-toast) .swal2-actions {
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 15px 0 1px;
}
body .swal2-container .swal2-actions .swal2-styled,
body .swal2-container .swal2-actions button {
  min-height: 35px;
  margin: 0;
  padding: 7px 17px;
  border-radius: 11px;
  font-family: "CMU", sans-serif;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .1px;
  font-weight: 600;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
/* Non-important colors keep explicit Swal buttonColor styling functional. */
body .swal2-container .swal2-confirm {
  background: linear-gradient(120deg, #059669, #0d9488, #0891b2);
  color: #fff;
  box-shadow: 0 7px 17px rgba(13, 148, 136, .20);
}
body .swal2-container .swal2-cancel { background: #edf3f6; color: #435b6a; border: 1px solid #dbe7e9; }
body .swal2-container .swal2-deny { background: linear-gradient(115deg, #e04f65, #f87171); color: #fff; }
body .swal2-container .swal2-actions button:not(:disabled):hover { transform: translateY(-1px); filter: brightness(1.055); }
body .swal2-container .swal2-actions button:not(:disabled):active { transform: translateY(0) scale(.985); }
body .swal2-container .swal2-actions button:focus-visible,
body .swal2-container .swal2-input:focus-visible,
body .swal2-container .swal2-textarea:focus-visible,
body .swal2-container .swal2-select:focus-visible {
  outline: 2px solid var(--cel-swal-brand);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--cel-swal-ring);
}
body .swal2-container .swal2-close { color: var(--cel-swal-muted); border-radius: 12px; }
body .swal2-container .swal2-close:hover { color: #e05265; background: rgba(148,163,184,.10); }
body .swal2-container .swal2-input,
body .swal2-container .swal2-textarea,
body .swal2-container .swal2-select {
  max-width: calc(100% - 2em);
  border: 1px solid var(--cel-swal-line);
  border-radius: 11px;
  background: var(--cel-swal-surface);
  color: var(--cel-swal-ink);
  font-family: "CMU", sans-serif;
  font-size: 13px;
  font-weight: 400;
}
body .swal2-container .swal2-validation-message { border-radius: 11px; background: rgba(225,70,91,.09); color: #b42346; font-size: 12px; font-weight: 400; }
body .swal2-container .swal2-footer { color: var(--cel-swal-muted); border-top-color: var(--cel-swal-line); font-size: 11px; font-weight: 400; }
body .swal2-container .swal2-loader { border-color: #0d9488 transparent #0d9488 transparent; }
body .swal2-container .swal2-timer-progress-bar { background: linear-gradient(90deg, #10b981, #06b6d4); }
/* Select2 dropdown positioning and z-index are intentionally unchanged. */
body .swal2-container .select2-container { font-family: "CMU", sans-serif; }
body .swal2-container .select2-container--default .select2-selection--single { border-radius: 10px; border-color: var(--cel-swal-line); }
html.dark body .swal2-container .swal2-popup:not(.swal2-toast) {
  box-shadow: 0 30px 90px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.045);
}
html.dark body .swal2-container .swal2-popup:not(.swal2-toast) .swal2-icon { background-color: rgba(15,23,42,.4); box-shadow: 0 0 0 7px rgba(255,255,255,.025); }
html.dark body .swal2-container .swal2-cancel { background: #263d4c; color: #e2edf2; border-color: rgba(148,183,193,.2); }
html.dark body .swal2-container .swal2-validation-message { color: #fda4af; background: rgba(244,63,94,.13); }

@keyframes celAuroraSwalIn { from { opacity: 0; transform: translateY(13px) scale(.962); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes celAuroraSwalOut { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(8px) scale(.986); } }
body .swal2-container .swal2-popup:not(.swal2-toast).swal2-show { animation: celAuroraSwalIn .32s cubic-bezier(.2,.8,.2,1) both; }
body .swal2-container .swal2-popup:not(.swal2-toast).swal2-hide { animation: celAuroraSwalOut .17s ease-in both; }

/* Compact toast: independent of full-screen modal's layout and animation. */
body .swal2-container .swal2-popup.swal2-toast {
  box-sizing: border-box;
  width: auto;
  min-width: 225px;
  max-width: min(330px, calc(100vw - 24px));
  padding: 9px 12px;
  border: 1px solid var(--cel-swal-line);
  border-left: 3px solid #14b8a6;
  border-radius: 13px;
  background: var(--cel-swal-surface);
  color: var(--cel-swal-ink);
  box-shadow: 0 10px 28px rgba(15,23,42,.15);
  font-family: "CMU", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .3px;
}
body .swal2-container .swal2-popup.swal2-toast.swal2-icon-error { border-left-color: #fb7185; }
body .swal2-container .swal2-popup.swal2-toast.swal2-icon-warning { border-left-color: #fbbf24; }
body .swal2-container .swal2-popup.swal2-toast.swal2-icon-info,
body .swal2-container .swal2-popup.swal2-toast.swal2-icon-question { border-left-color: #38bdf8; }
body .swal2-container .swal2-popup.swal2-toast::before { content: none; }
body .swal2-container .swal2-toast .swal2-title {
  margin: 0;
  padding: 0;
  color: var(--cel-swal-heading);
  font-family: "CMU", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: .3px;
}
body .swal2-container .swal2-toast .swal2-html-container {
  margin: 2px 0 0;
  padding: 0;
  color: var(--cel-swal-muted);
  font-family: "CMU", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .3px;
}
body .swal2-container .swal2-toast .swal2-icon {
  width: 23px;
  height: 23px;
  min-width: 23px;
  min-height: 23px;
  margin: 0 9px 0 0;
  border-width: 1.6px;
  background: transparent;
  box-shadow: none;
}
body .swal2-container .swal2-toast .swal2-icon .swal2-icon-content { font-size: 14px; font-weight: 400; }
body .swal2-container .swal2-toast .swal2-close { width: 22px; height: 22px; font-size: 16px; }
body .swal2-container .swal2-toast .swal2-actions { margin: 5px 0 0; gap: 6px; }
body .swal2-container .swal2-toast .swal2-actions button { min-height: 27px; padding: 4px 9px; border-radius: 8px; font-size: 11px; }
body .swal2-container .swal2-toast .swal2-timer-progress-bar { height: 2px; }
html.dark body .swal2-container .swal2-popup.swal2-toast { box-shadow: 0 12px 36px rgba(0,0,0,.38); }

@media (max-width: 480px) {
  body .swal2-container .swal2-popup:not(.swal2-toast) { padding: 20px 18px; border-radius: 19px; }
  body .swal2-container .swal2-popup:not(.swal2-toast) .swal2-title { font-size: 16px; }
  body .swal2-container .swal2-popup:not(.swal2-toast) .swal2-html-container { font-size: 12px; }
  body .swal2-container .swal2-popup.swal2-toast { min-width: 0; max-width: calc(100vw - 20px); padding: 8px 10px; }
  body .swal2-container .swal2-toast .swal2-title { font-size: 11.5px; }
  body .swal2-container .swal2-toast .swal2-html-container { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  body .swal2-container .swal2-popup:not(.swal2-toast).swal2-show,
  body .swal2-container .swal2-popup:not(.swal2-toast).swal2-hide { animation: none; }
  body .swal2-container .swal2-actions button { transition: none; }
}
/* Keep the site's existing CMU font policy unchanged. */
html, body { font-family: "CMU", sans-serif; }
/* Remove SweetAlert2 top gradient line */
body .swal2-container .swal2-popup:not(.swal2-toast)::before {
  content: none !important;
  display: none !important;
}
/* Login Modal — Better Vertical Spacing */
#loginModal {
    overflow-y: auto;
    overscroll-behavior: contain;
}

#loginDialog {
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
}

@media (max-width: 640px) {
    #loginDialog {
        padding: 24px 20px;
        max-height: calc(100dvh - 32px);
    }
}

/* =============================================================
   CEL UI Refinement — typography, rhythm & form consistency
   2026-10-20 | Append-only, low-risk overrides
   ============================================================= */
:root {
  --cel-type-body: 15px;
  --cel-type-small: 13px;
  --cel-type-label: 14px;
  --cel-line-body: 1.7;
  --cel-letter: .12px;
  --cel-field-height: 46px;
  --cel-space-label: 8px;
  --cel-space-field: 16px;
  --cel-radius-field: 12px;
  --cel-focus-ring: rgba(16, 185, 129, .17);
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: "CMU", "Noto Sans Thai", Tahoma, sans-serif;
  font-size: var(--cel-type-body);
  font-weight: 400;
  line-height: var(--cel-line-body);
  letter-spacing: var(--cel-letter);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body p, body li, body dd, body dt, body td, body th {
  line-height: 1.65;
  letter-spacing: var(--cel-letter);
}
body h1, body h2, body h3, body h4, body h5, body h6 {
  line-height: 1.38;
  letter-spacing: .05px;
  font-weight: 700;
  overflow-wrap: break-word;
}
body small, body .text-xs { line-height: 1.55; }
body label { line-height: 1.5; }
body button, body input, body textarea, body select {
  font-family: "CMU", "Noto Sans Thai", Tahoma, sans-serif;
  letter-spacing: .1px;
}
body button { line-height: 1.45; }
body :is(input, textarea, select)::placeholder {
  opacity: 1;
  color: #8290a3;
  font-weight: 400;
}
html.dark body :is(input, textarea)::placeholder { color: #94a3b8; }

/* Application form: uniform spacing without overriding grid structure */
#registrationApplicationForm {
  --cel-form-gap: 18px;
  font-size: var(--cel-type-body);
  line-height: 1.65;
}
#registrationApplicationForm .applicant-item {
  font-size: var(--cel-type-body);
  line-height: 1.65;
}
#registrationApplicationForm .applicant-item > .p-5 { padding: 22px; }
#registrationApplicationForm .applicant-item .grid {
  column-gap: var(--cel-form-gap);
  row-gap: var(--cel-form-gap);
  align-items: start;
}
#registrationApplicationForm .applicant-item .grid > div > label {
  display: block;
  margin: 0 0 var(--cel-space-label);
  min-height: 22px;
  font-size: var(--cel-type-label);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .08px;
  color: #243449;
}
#registrationApplicationForm .applicant-item :is(
  .applicant-name-manual, .applicant-phone-input, .applicant-email-input,
  .applicant-position-input, .applicant-level-input, .applicant-file-input,
  .applicant-type-select
) {
  box-sizing: border-box;
  width: 100%;
  min-height: var(--cel-field-height);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  border-radius: var(--cel-radius-field);
}
#registrationApplicationForm .applicant-item :is(
  .applicant-name-manual, .applicant-phone-input, .applicant-email-input,
  .applicant-position-input, .applicant-level-input, .applicant-type-select
):focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 1px;
  box-shadow: 0 0 0 4px var(--cel-focus-ring);
}
#registrationApplicationForm .applicant-item :is(.applicant-position-input, .applicant-level-input)[readonly] {
  background-color: #f7fafc;
  color: #334155;
  cursor: default;
}
#registrationApplicationForm .applicant-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}
#registrationApplicationForm .applicant-desc {
  font-size: 12px;
  line-height: 1.5;
}
#registrationApplicationForm .applicant-file-wrap { margin-top: 22px; padding: 18px; }
#registrationApplicationForm .applicant-file-wrap > label {
  display: block;
  margin-bottom: var(--cel-space-label);
  font-size: var(--cel-type-label);
  font-weight: 700;
  line-height: 1.55;
}
#registrationApplicationForm .applicant-file-wrap > p {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
#registrationApplicationForm .applicant-file-input { padding-block: 9px; }
#registrationApplicationForm .applicant-item .btn-remove-applicant {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

/* Select2: same height, vertical alignment and readable result rows */
#registrationApplicationForm .applicant-item .select2-container { width: 100% !important; max-width: 100%; }
#registrationApplicationForm .applicant-item .select2-container--default .select2-selection--single {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: var(--cel-field-height) !important;
  height: var(--cel-field-height) !important;
  border-radius: var(--cel-radius-field) !important;
  border: 1px solid #cbd5e1;
  background-color: #fff;
}
#registrationApplicationForm .applicant-item .select2-container--default .select2-selection--single .select2-selection__rendered {
  display: block;
  width: 100%;
  padding-left: 14px;
  padding-right: 40px;
  font-size: 14px;
  font-weight: 500;
  line-height: calc(var(--cel-field-height) - 2px) !important;
  color: #1e293b;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#registrationApplicationForm .applicant-item .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: var(--cel-field-height) !important;
  right: 9px;
}
#registrationApplicationForm .applicant-item .select2-container--focus .select2-selection--single,
#registrationApplicationForm .applicant-item .select2-container--open .select2-selection--single {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 4px var(--cel-focus-ring);
}
.select2-dropdown .select2-search--dropdown { padding: 10px !important; }
.select2-dropdown .select2-search--dropdown .select2-search__field {
  min-height: 40px;
  padding: 8px 12px !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.select2-dropdown .select2-results__option {
  padding: 10px 12px !important;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .08px;
}
.select2-dropdown .select2-results__message { font-weight: 400; line-height: 1.65; }

/* SweetAlert2: consistent title, description and action typography */
body .swal2-container .swal2-popup:not(.swal2-toast) .swal2-title {
  font-size: clamp(18px, 2.5vw, 21px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .08px;
}
body .swal2-container .swal2-popup:not(.swal2-toast) .swal2-html-container {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .1px;
}
body .swal2-container .swal2-actions button {
  min-height: 40px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
body .swal2-container .swal2-popup.swal2-toast .swal2-title { line-height: 1.45; }
body .swal2-container .swal2-popup.swal2-toast .swal2-html-container { line-height: 1.55; }

html.dark #registrationApplicationForm .applicant-item .grid > div > label,
html.dark #registrationApplicationForm .applicant-file-wrap > label { color: #e2e8f0; }
html.dark #registrationApplicationForm .applicant-item :is(.applicant-position-input, .applicant-level-input)[readonly] {
  background-color: rgba(15, 23, 42, .6);
  color: #e2e8f0;
}
html.dark #registrationApplicationForm .applicant-item .select2-container--default .select2-selection--single {
  background-color: #172033;
  border-color: #475569;
}
html.dark #registrationApplicationForm .applicant-item .select2-container--default .select2-selection--single .select2-selection__rendered { color: #e2e8f0; }

@media (max-width: 640px) {
  :root { --cel-form-gap: 16px; --cel-field-height: 44px; }
  #registrationApplicationForm .applicant-item > .p-5 { padding: 16px; }
  #registrationApplicationForm .applicant-file-wrap { padding: 14px; margin-top: 18px; }
  #registrationApplicationForm .applicant-title { font-size: 15px; }
  #registrationApplicationForm .applicant-item .grid > div > label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  #registrationApplicationForm .applicant-item :is(input, select, button),
  #registrationApplicationForm .applicant-item .select2-selection--single { transition: none !important; }
}
/* ==========================================
   LEGAL CONSENT BANNER
========================================== */

.legal-consent-banner {

    position: fixed;

    bottom: 22px;
    left: 50%;

    width: calc(100% - 32px);
    max-width: 1050px;

    z-index: 9999;

    transform: translate(-50%, 150%);
    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        transform .55s cubic-bezier(.22,1,.36,1),
        opacity .4s ease,
        visibility .55s;
}

/* เปิด Banner */

.legal-consent-banner.is-visible {

    transform: translate(-50%, 0);

    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}

/* ==========================================
   CARD
========================================== */

.legal-consent-card {

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 20px 24px;

    background: rgba(255,255,255,.97);

    border: 1px solid rgba(226,232,240,.9);

    border-radius: 22px;

    box-shadow:
        0 18px 50px rgba(15,23,42,.18),
        0 4px 15px rgba(15,23,42,.06);

    backdrop-filter: blur(18px);
}

/* ==========================================
   ICON
========================================== */

.legal-consent-icon {

    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #eff6ff;
    color: #4776bd;

    font-size: 20px;
}

/* ==========================================
   CONTENT
========================================== */

.legal-consent-content {

    flex: 1;
    min-width: 0;
}

.legal-consent-heading {

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 7px;
}

.legal-consent-heading h3 {

    margin: 0;

    font-size: 15px;
    font-weight: 800;

    color: #243b5a;
}

.legal-consent-badge {

    display: inline-flex;
    align-items: center;

    gap: 5px;

    padding: 4px 9px;

    border-radius: 20px;

    background: #eff6ff;
    color: #4776bd;

    font-size: 10px;
    font-weight: 700;
}

.legal-consent-content p {

    margin: 0;

    font-size: 12px;

    line-height: 1.8;

    color: #64748b;
}

/* ==========================================
   LINKS
========================================== */

.legal-consent-links {

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 9px;

    font-size: 11px;
}

.legal-consent-links button {

    padding: 0;

    border: none;
    background: transparent;

    color: #4776bd;

    font-weight: 700;

    cursor: pointer;
}

.legal-consent-links button:hover {

    text-decoration: underline;
}

/* ==========================================
   ACTION BUTTON
========================================== */

.legal-consent-actions {

    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.legal-consent-accept {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;
    padding: 13px 20px;

    border: none;
    border-radius: 13px;

    /* Emerald Green Gradient */
    background: linear-gradient(
        110deg,
        #059669 0%,
        #10b981 45%,
        #0d9488 100%
    );

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;

    cursor: pointer;

    box-shadow:
        0 6px 16px rgba(5, 150, 105, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

/* Hover Effect */
.legal-consent-accept:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);

    box-shadow:
        0 9px 22px rgba(5, 150, 105, 0.35);
}

/* Click Effect */
.legal-consent-accept:active {
    transform: translateY(0) scale(0.98);
}

/* Keyboard Focus */
.legal-consent-accept:focus-visible {
    outline: 3px solid #6ee7b7;
    outline-offset: 3px;
}

.legal-consent-accept:hover {

    transform: translateY(-2px);

    box-shadow:
        0 9px 20px rgba(71,118,189,.3);
}

/* ==========================================
   DARK MODE
========================================== */

.dark .legal-consent-card {

    background: rgba(15,23,42,.97);

    border-color: rgba(148,163,184,.2);
}

.dark .legal-consent-heading h3 {

    color: #f8fafc;
}

.dark .legal-consent-content p {

    color: #cbd5e1;
}

.dark .legal-consent-icon,
.dark .legal-consent-badge {

    background: rgba(59,130,246,.15);

    color: #93c5fd;
}

.dark .legal-consent-links button {

    color: #93c5fd;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .legal-consent-banner {

        bottom: 12px;

        width: calc(100% - 24px);
    }

    .legal-consent-card {

        flex-direction: column;
        align-items: flex-start;

        gap: 12px;

        padding: 18px;
    }

    .legal-consent-icon {

        width: 40px;
        height: 40px;
    }

    .legal-consent-actions {

        width: 100%;
    }

    .legal-consent-accept {

        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legal-consent-banner {
        transition: none;
    }

    .legal-consent-accept {
        transition: none;
    }
}
/* ============================================================
   PHARMACY CMU — HERO SLIDER
   Modern Light / Compact Premium Glass
   ============================================================ */

/* ============================================================
   1. HERO SECTION
   ============================================================ */

.hero-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    margin-bottom: 24px;

    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);

    background: #f8fafc;

    box-shadow:
        0 24px 65px -30px rgba(15, 23, 42, 0.22);
}

/* ============================================================
   2. HERO SLIDER CONTAINER
   ============================================================ */

#heroSlider {
    position: relative;
    isolation: isolate;

    width: 100%;
    height: clamp(460px, 60vh, 600px);

    min-height: 460px;
    max-height: 600px;

    overflow: hidden;

    background: #eaf4f8;
}

/* ============================================================
   3. SLIDE
   ============================================================ */

.hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transform: scale(1.025);

    transition:
        opacity 1s ease,
        transform 7s ease,
        visibility 1s ease;

    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;

    transform: scale(1);

    z-index: 1;
}

/* ============================================================
   4. SLIDE IMAGE
   ============================================================ */

.hero-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter:
        brightness(1.07)
        contrast(1.04)
        saturate(1.10);

    transition:
        filter 0.8s ease,
        transform 7s ease;
}

/* Smooth Zoom */

.hero-slide.active img {
    animation: heroImageZoom 8s ease-out forwards;
}

@keyframes heroImageZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.045);
    }
}

/* ============================================================
   5. LIGHT IMAGE OVERLAY
   ============================================================ */

.hero-slide::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 40%,
        transparent 75%
    );
}

/* ============================================================
   6. HERO CONTENT WRAPPER
   ============================================================ */

.hero-content {
    position: absolute;
    inset: 0;

    z-index: 10;

    display: flex;
    align-items: center;

    pointer-events: none;
}

/*
   ขยับ Card ไปทางซ้าย
   ใช้ Container เต็มความกว้างของ Slider
   และลด Padding ซ้ายจาก 64px เหลือ 28px
*/

.hero-content-container {
    box-sizing: border-box;

    width: 100%;
    max-width: none;

    margin: 0;

    padding-left: 80px;
    padding-right: 40px;

    pointer-events: none;
}

/* ============================================================
   7. HERO GLASS CARD
   ============================================================ */

.hero-content-card {
    position: relative;
    isolation: isolate;

    box-sizing: border-box;

    width: 100%;
    max-width: 570px;

    padding: 30px 34px;

    border-radius: 26px;

    /* Premium Frosted Glass */
    background: rgba(255, 255, 255, 0.30);

    -webkit-backdrop-filter: blur(28px) saturate(150%);
    backdrop-filter: blur(28px) saturate(150%);

    border: 1px solid rgba(255, 255, 255, 0.60);

    box-shadow:
        0 20px 55px rgba(15, 23, 42, 0.15),
        0 6px 20px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15);

    overflow: hidden;

    pointer-events: auto;

    animation: heroContentEnter 0.9s ease both;
}

/* Glass Reflection */

.hero-content-card::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.32) 0%,
        rgba(255, 255, 255, 0.10) 35%,
        rgba(255, 255, 255, 0.02) 70%,
        rgba(255, 255, 255, 0.12) 100%
    );

    pointer-events: none;
    z-index: -1;
}

/* Content Entrance Animation */

@keyframes heroContentEnter {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   8. HERO BADGE
   ============================================================ */

.hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    max-width: 100%;

    padding: 8px 13px;

    border-radius: 999px;

    border: 1px solid rgba(255, 255, 255, 0.65);

    background: rgba(255, 255, 255, 0.65);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    color: #075985;

    font-size: 10px;
    font-weight: 800;

    line-height: 1.5;
    letter-spacing: 0.055em;
    text-transform: uppercase;

    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.06);
}

.hero-badge i {
    flex-shrink: 0;

    color: #0284c7;
    font-size: 12px;
}

/* ============================================================
   9. HERO TITLE
   ============================================================ */

.hero-title {
    margin-top: 17px;
    margin-bottom: 0;

    color: #0f172a;

    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;

    line-height: 1.18;
    letter-spacing: -0.03em;

    text-shadow:
        0 1px 2px rgba(255, 255, 255, 0.25);
}

.hero-title-highlight {
    display: block;

    margin-top: 5px;

    background: linear-gradient(
        110deg,
        #1d4ed8 0%,
        #0284c7 50%,
        #059669 100%
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: #0284c7;
}

/* ============================================================
   10. HERO DESCRIPTION
   ============================================================ */

.hero-description {
    margin-top: 17px;
    margin-bottom: 0;

    max-width: 510px;

    color: #1e293b;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.85;

    text-shadow:
        0 1px 2px rgba(255, 255, 255, 0.25);
}

/* ============================================================
   11. HERO ACTION BUTTONS
   ============================================================ */

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 23px;
}

/* PRIMARY BUTTON */

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 40px;

    padding: 11px 18px;

    border: none;
    border-radius: 999px;

    background: linear-gradient(
        110deg,
        #059669,
        #0891b2,
        #2563eb
    );

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    line-height: 1.4;
    text-decoration: none;

    box-shadow:
        0 7px 18px rgba(5, 150, 105, 0.20);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);

    filter: brightness(1.07);

    box-shadow:
        0 10px 24px rgba(5, 150, 105, 0.28);

    color: #ffffff;
}

/* SECONDARY BUTTON */

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 40px;

    padding: 11px 18px;

    border-radius: 999px;

    border: 1px solid rgba(255, 255, 255, 0.75);

    background: rgba(255, 255, 255, 0.68);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    color: #1e293b;

    font-size: 12px;
    font-weight: 800;

    line-height: 1.4;
    text-decoration: none;

    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.08);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.hero-btn-secondary:hover {
    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.90);

    border-color: #7dd3fc;

    color: #0369a1;
}

/* ============================================================
   12. SLIDER NAVIGATION BUTTONS
   ============================================================ */

.hero-nav {
    position: absolute;
    top: 50%;

    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    transform: translateY(-50%);

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.80);

    background: rgba(255, 255, 255, 0.85);

    color: #334155;

    font-size: 13px;

    cursor: pointer;

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    box-shadow:
        0 6px 20px rgba(15, 23, 42, 0.12);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.hero-nav:hover {
    background: #ffffff;

    color: #0284c7;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, 0.18);
}

#heroPrev {
    left: 14px;
}

#heroNext {
    right: 14px;
}

/* ============================================================
   13. SLIDER DOTS CONTAINER
   ============================================================ */

.hero-dots {
    position: absolute;

    bottom: 20px;
    left: 50%;

    z-index: 20;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 9px 13px;

    transform: translateX(-50%);

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.82);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    box-shadow:
        0 5px 20px rgba(15, 23, 42, 0.10);
}

/* ============================================================
   14. SLIDER DOT
   ============================================================ */

.hero-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: none;
    border-radius: 999px;

    background: #94a3b8;

    cursor: pointer;

    transition:
        width 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.hero-dot:hover {
    background: #0284c7;

    transform: scale(1.15);
}

.hero-dot.active {
    width: 28px;

    background: linear-gradient(
        90deg,
        #059669,
        #0284c7
    );
}

/* ============================================================
   15. TABLET
   ============================================================ */

@media (max-width: 1024px) {

    #heroSlider {
        height: 530px;
    }

    .hero-content-container {
        padding-left: 24px;
        padding-right: 40px;
    }

    .hero-content-card {
        max-width: 530px;
        padding: 27px 28px;

        background: rgba(255, 255, 255, 0.36);
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 12.5px;
    }

}

/* ============================================================
   16. MOBILE
   ============================================================ */

@media (max-width: 640px) {

    .hero-section {
        border-radius: 18px;
        margin-bottom: 18px;
    }

    #heroSlider {
        height: 570px;
        min-height: 570px;
        max-height: none;
    }

    .hero-slide img {
        object-position: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-content-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-content-card {
        max-width: 100%;

        padding: 22px 18px;

        border-radius: 22px;

        background: rgba(255, 255, 255, 0.68);

        -webkit-backdrop-filter: blur(26px) saturate(140%);
        backdrop-filter: blur(26px) saturate(140%);

        box-shadow:
            0 15px 40px rgba(15, 23, 42, 0.13);
    }

    .hero-badge {
        padding: 7px 11px;

        font-size: 9px;
        letter-spacing: 0.03em;
    }

    .hero-title {
        margin-top: 15px;

        font-size: 28px;

        line-height: 1.2;
    }

    .hero-description {
        margin-top: 14px;

        font-size: 12px;

        line-height: 1.75;
    }

    .hero-actions {
        margin-top: 20px;
        gap: 9px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        min-height: 40px;

        padding: 10px 14px;

        font-size: 11px;
    }

    .hero-nav {
        width: 36px;
        height: 36px;

        top: auto;
        bottom: 16px;

        transform: none;

        font-size: 12px;
    }

    #heroPrev {
        left: 12px;
    }

    #heroNext {
        right: 12px;
    }

    .hero-dots {
        bottom: 18px;

        padding: 8px 12px;
    }

    .hero-dot {
        width: 7px;
        height: 7px;
    }

    .hero-dot.active {
        width: 24px;
    }

}

/* ============================================================
   17. SMALL MOBILE
   ============================================================ */

@media (max-width: 380px) {

    #heroSlider {
        height: 620px;
        min-height: 620px;
    }

    .hero-content-card {
        padding: 20px 15px;
    }

    .hero-title {
        font-size: 25px;
    }

    .hero-description {
        font-size: 11.5px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
    }

}

/* ============================================================
   18. ACCESSIBILITY
   ============================================================ */

.hero-nav:focus-visible,
.hero-dot:focus-visible,
.hero-btn-primary:focus-visible,
.hero-btn-secondary:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 3px;
}

/* ============================================================
   19. FALLBACK
   ============================================================ */

@supports not (
    (backdrop-filter: blur(10px)) or
    (-webkit-backdrop-filter: blur(10px))
) {
    .hero-content-card {
        background: rgba(255, 255, 255, 0.92);
    }
}

/* ============================================================
   20. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .hero-slide,
    .hero-slide img,
    .hero-content-card,
    .hero-dot,
    .hero-nav,
    .hero-btn-primary,
    .hero-btn-secondary {
        animation: none !important;
        transition: none !important;
    }

}
/* ============================================================
   PHARMACY CMU — MODERN SCIENTIFIC HERO
   ============================================================ */

.cel-landing-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;

    border-radius: 24px;

    border: 1px solid rgba(203, 213, 225, 0.65);

    background: linear-gradient(
        125deg,
        #f8fcff 0%,
        #ffffff 42%,
        #effaf8 100%
    );

    box-shadow:
        0 18px 55px -30px rgba(15, 23, 42, 0.18);
}

/* ============================================================
   BACKGROUND DECORATIONS
   ============================================================ */

.cel-landing-hero__glow {
    position: absolute;
    pointer-events: none;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    filter: blur(85px);

    opacity: 0.55;
}

.cel-landing-hero__glow--top {
    top: -220px;
    right: -100px;

    background: #a5f3fc;
}

.cel-landing-hero__glow--bottom {
    bottom: -260px;
    left: -120px;

    background: #a7f3d0;
}

.cel-landing-hero__grid {
    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: 0.22;

    background-image:
        linear-gradient(
            rgba(14, 165, 233, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(14, 165, 233, 0.08) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image: linear-gradient(
        90deg,
        transparent,
        black 55%,
        transparent
    );
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */

.cel-landing-hero__container {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    align-items: center;

    gap: 44px;

    padding: 44px 48px;
}

/* ============================================================
   LEFT CONTENT
   ============================================================ */

.cel-landing-hero__content {
    min-width: 0;
}

/* Badge */

.cel-landing-hero__badge {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    max-width: 100%;

    padding: 6px 13px 6px 7px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.85);

    border: 1px solid rgba(14, 165, 233, 0.15);

    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.04);

    color: #075985;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.cel-landing-hero__badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #0284c7,
        #059669
    );

    color: white;

    font-size: 11px;
}

.cel-landing-hero__badge-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #10b981;

    box-shadow:
        0 0 0 4px rgba(16, 185, 129, 0.12);
}

/* ============================================================
   HEADING
   ============================================================ */

.cel-landing-hero__heading {
    margin-top: 25px;
}

.cel-landing-hero__eyebrow {
    margin-bottom: 10px;

    color: #64748b;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.cel-landing-hero__title {
    margin: 0;

    color: #0f172a;

    font-size: clamp(25px, 2.5vw, 38px);
    font-weight: 900;

    line-height: 1.3;

    letter-spacing: -0.025em;
}

.cel-landing-hero__subtitle {
    margin-top: 12px;

    color: #0369a1;

    font-size: clamp(17px, 1.8vw, 25px);
    font-weight: 800;

    line-height: 1.35;

    letter-spacing: -0.02em;
}

.cel-landing-hero__subtitle span {
    display: block;

    background: linear-gradient(
        90deg,
        #0284c7,
        #059669
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

/* ============================================================
   DESCRIPTION
   ============================================================ */

.cel-landing-hero__description {
    max-width: 560px;

    margin-top: 20px;

    color: #475569;

    font-size: 13px;
    font-weight: 500;

    line-height: 1.9;
}

/* ============================================================
   ACTION BUTTONS
   ============================================================ */

.cel-landing-hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 25px;
}

.cel-landing-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 44px;

    padding: 11px 19px;

    border-radius: 13px;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.cel-landing-hero__btn:hover {
    transform: translateY(-2px);
}

/* Primary */

.cel-landing-hero__btn--primary {
    background: linear-gradient(
        110deg,
        #059669,
        #0891b2,
        #2563eb
    );

    color: white;

    box-shadow:
        0 8px 22px rgba(8, 145, 178, 0.20);
}

.cel-landing-hero__btn--primary:hover {
    color: white;

    box-shadow:
        0 12px 28px rgba(8, 145, 178, 0.28);
}

.cel-landing-hero__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
}

.cel-landing-hero__btn-arrow {
    margin-left: 6px;

    font-size: 10px;

    opacity: 0.8;
}

/* Secondary */

.cel-landing-hero__btn--secondary {
    background: rgba(255, 255, 255, 0.88);

    color: #334155;

    border: 1px solid #dbe4ee;

    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.04);
}

.cel-landing-hero__btn--secondary:hover {
    background: #ffffff;

    color: #0369a1;

    border-color: #7dd3fc;
}

/* ============================================================
   FEATURES
   ============================================================ */

.cel-landing-hero__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;

    margin-top: 34px;
    padding-top: 24px;

    border-top: 1px solid rgba(203, 213, 225, 0.65);
}

.cel-landing-hero__feature {
    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 0;
}

.cel-landing-hero__feature-icon {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 11px;

    font-size: 13px;
}

.feature-green {
    background: #dcfce7;
    color: #059669;
}

.feature-blue {
    background: #e0f2fe;
    color: #0284c7;
}

.feature-purple {
    background: #f3e8ff;
    color: #9333ea;
}

.cel-landing-hero__feature strong {
    display: block;

    color: #1e293b;

    font-size: 11px;
    font-weight: 800;

    line-height: 1.4;
}

.cel-landing-hero__feature span {
    display: block;

    margin-top: 3px;

    color: #64748b;

    font-size: 10px;
    line-height: 1.4;
}

/* ============================================================
   RIGHT VISUAL
   ============================================================ */

.cel-landing-hero__visual {
    position: relative;
    min-width: 0;
}

.cel-landing-hero__visual-frame {
    position: relative;

    padding: 10px;

    border-radius: 27px;

    border: 1px solid rgba(255, 255, 255, 0.95);

    background: rgba(255, 255, 255, 0.75);

    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.10),
        0 4px 12px rgba(15, 23, 42, 0.04);

    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

/* Floating Label */

.cel-landing-hero__floating-label {
    position: absolute;

    top: -15px;
    right: 26px;

    z-index: 15;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 9px 15px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.95);

    border: 1px solid rgba(226, 232, 240, 0.9);

    box-shadow:
        0 6px 18px rgba(15, 23, 42, 0.10);

    color: #0369a1;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.10em;
}

.cel-landing-hero__live-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #10b981;

    box-shadow:
        0 0 0 4px rgba(16, 185, 129, 0.13);
}

/* Slider */

.cel-landing-hero__slider {
    position: relative;

    overflow: hidden;

    border-radius: 20px;

    background: #e2e8f0;
}

/* Bright Image */

.cel-landing-hero__slider .cel-hero__img {
    filter:
        brightness(1.07)
        contrast(1.03)
        saturate(1.10);
}

/* Caption Overlay */

.cel-landing-hero__slider .cel-hero__overlay {
    background: linear-gradient(
        0deg,
        rgba(15, 23, 42, 0.70) 0%,
        rgba(15, 23, 42, 0.18) 28%,
        transparent 58%
    );
}

/* Caption */

.cel-landing-hero__slider .cel-hero__content {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 35px;

    z-index: 5;

    padding: 16px 18px;

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.16);

    border: 1px solid rgba(255, 255, 255, 0.28);

    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);

    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.10);
}

.cel-landing-hero__slider .cel-hero__badge {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 5px 9px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.22);

    color: #ffffff;

    font-size: 9px;
    font-weight: 800;
}

.cel-landing-hero__slider .cel-hero__title {
    margin-top: 8px;

    color: #ffffff;

    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 900;

    line-height: 1.3;
}

.cel-landing-hero__slider .cel-hero__sub {
    margin-top: 4px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 11px;
    font-weight: 500;
}

/* Footer */

.cel-landing-hero__visual-footer {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 18px;
}

.cel-landing-hero__visual-footer-line {
    width: 32px;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        #94a3b8
    );
}

.cel-landing-hero__visual-footer span {
    color: #94a3b8;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.13em;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .cel-landing-hero__container {
        gap: 28px;
        padding: 36px 30px;
    }

    .cel-landing-hero__features {
        gap: 8px;
    }

    .cel-landing-hero__feature {
        gap: 7px;
    }

    .cel-landing-hero__feature-icon {
        width: 30px;
        height: 30px;
    }

}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 900px) {

    .cel-landing-hero__container {
        grid-template-columns: 1fr;

        gap: 34px;

        padding: 32px 24px;
    }

    .cel-landing-hero__title {
        font-size: 30px;
    }

    .cel-landing-hero__subtitle {
        font-size: 21px;
    }

    .cel-landing-hero__visual {
        max-width: 720px;
        width: 100%;
    }

}

/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 640px) {

    .cel-landing-hero {
        border-radius: 18px;
    }

    .cel-landing-hero__container {
        padding: 26px 18px;

        gap: 28px;
    }

    .cel-landing-hero__badge {
        font-size: 9px;
        letter-spacing: 0.03em;
    }

    .cel-landing-hero__heading {
        margin-top: 20px;
    }

    .cel-landing-hero__eyebrow {
        font-size: 9px;
        line-height: 1.6;
    }

    .cel-landing-hero__title {
        font-size: 26px;
    }

    .cel-landing-hero__subtitle {
        font-size: 18px;
    }

    .cel-landing-hero__description {
        font-size: 12px;
        line-height: 1.85;
    }

    .cel-landing-hero__actions {
        gap: 10px;
    }

    .cel-landing-hero__btn {
        padding: 11px 15px;
        font-size: 11px;
    }

    .cel-landing-hero__features {
        gap: 8px;
        margin-top: 26px;
        padding-top: 20px;
    }

    .cel-landing-hero__feature {
        flex-direction: column;
        align-items: flex-start;
    }

    .cel-landing-hero__feature strong {
        font-size: 10px;
    }

    .cel-landing-hero__feature span {
        font-size: 9px;
    }

    .cel-landing-hero__visual-frame {
        padding: 7px;
        border-radius: 20px;
    }

    .cel-landing-hero__slider {
        border-radius: 15px;
    }

    .cel-landing-hero__slider .cel-hero__content {
        left: 12px;
        right: 12px;
        bottom: 28px;

        padding: 12px 14px;
    }

    .cel-landing-hero__slider .cel-hero__title {
        font-size: 16px;
    }

    .cel-landing-hero__floating-label {
        top: -12px;
        right: 15px;

        font-size: 8px;
    }

    .cel-landing-hero__visual-footer span {
        font-size: 8px;
        letter-spacing: 0.05em;
    }

}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .cel-landing-hero *,
    .cel-landing-hero *::before,
    .cel-landing-hero *::after {
        animation: none !important;
        transition: none !important;
    }

}
/* ==========================================
   NEWS EDITOR CONTENT
========================================== */

#newsModalContent a,
#newsModalContent a:visited {
  color: #0284c7 !important;
  text-decoration: underline !important;
  text-decoration-color: #38bdf8 !important;
  text-underline-offset: 4px;
  font-weight: 700;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

#newsModalContent a:hover {
  color: #1d4ed8 !important;
  text-decoration-color: #1d4ed8 !important;
}

/* Dark Mode */

.dark #newsModalContent a,
.dark #newsModalContent a:visited {
  color: #67e8f9 !important;
  text-decoration-color: #22d3ee !important;
}

.dark #newsModalContent a:hover {
  color: #a5f3fc !important;
}

/* ==========================================
   NEWS IMAGES
========================================== */

#newsModalContent img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 20px auto;
  object-fit: contain;
  border-radius: 16px;
  cursor: zoom-in;
}

/* ป้องกันรูปจาก Editor ล้นพื้นที่ */

#newsModalContent,
#newsModalContent p,
#newsModalContent figure {
  max-width: 100%;
}

#newsModalContent figure {
  margin: 20px 0;
}

#newsModalContent figure img {
  width: 100% !important;
}

/* Mobile */

@media (max-width: 640px) {
  #newsModalContent img {
    border-radius: 12px;
    margin: 14px auto;
  }
}
/* =====================================================
   NEWS DETAIL | TEXT EDITOR CONTENT
===================================================== */

.news-editor-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.9;
  font-size: 15px;
}

/* =====================================================
   PARAGRAPH
===================================================== */

.news-editor-content p {
  margin: 0 0 14px;
}

.news-editor-content br {
  line-height: 1.8;
}

/* =====================================================
   HEADINGS
===================================================== */

.news-editor-content h1 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.4;
  margin: 24px 0 14px;
}

.news-editor-content h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  margin: 22px 0 12px;
}

.news-editor-content h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 20px 0 10px;
}

.news-editor-content h4,
.news-editor-content h5,
.news-editor-content h6 {
  font-weight: 700;
  margin: 16px 0 8px;
}

/* =====================================================
   BOLD / ITALIC / UNDERLINE
===================================================== */

.news-editor-content strong,
.news-editor-content b {
  font-weight: 800;
}

.news-editor-content em,
.news-editor-content i {
  font-style: italic;
}

.news-editor-content u {
  text-decoration: underline;
}

/* =====================================================
   LIST
===================================================== */

.news-editor-content ul {
  list-style-type: disc;
  padding-left: 28px;
  margin: 14px 0;
}

.news-editor-content ol {
  list-style-type: decimal;
  padding-left: 28px;
  margin: 14px 0;
}

.news-editor-content li {
  margin: 6px 0;
}

/* =====================================================
   LINKS
===================================================== */

.news-editor-content a,
.news-editor-content .news-editor-link {
  color: #0369a1 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.news-editor-content a:hover {
  color: #075985 !important;
}

.dark .news-editor-content a {
  color: #7dd3fc !important;
}

.dark .news-editor-content a:hover {
  color: #bae6fd !important;
}

/* =====================================================
   IMAGES
===================================================== */

.news-editor-content img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 20px auto;
  border-radius: 14px;
  object-fit: contain;
  cursor: zoom-in;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

/* =====================================================
   TABLE
===================================================== */

.news-editor-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 12px;
}

.news-editor-content table {
  width: 100%;
  border-collapse: collapse;
}

.news-editor-content th,
.news-editor-content td {
  border: 1px solid #cbd5e1;
  padding: 10px 14px;
  vertical-align: top;
}

.news-editor-content th {
  background: #f1f5f9;
  font-weight: 800;
}

.dark .news-editor-content th {
  background: #1e293b;
}

.dark .news-editor-content th,
.dark .news-editor-content td {
  border-color: #475569;
}

/* =====================================================
   QUILL ALIGNMENT
===================================================== */

.news-editor-content .ql-align-center {
  text-align: center;
}

.news-editor-content .ql-align-right {
  text-align: right;
}

.news-editor-content .ql-align-left {
  text-align: left;
}

.news-editor-content .ql-align-justify {
  text-align: justify;
}

/* =====================================================
   QUILL INDENT
===================================================== */

.news-editor-content .ql-indent-1 {
  padding-left: 3em;
}

.news-editor-content .ql-indent-2 {
  padding-left: 6em;
}

.news-editor-content .ql-indent-3 {
  padding-left: 9em;
}

.news-editor-content .ql-indent-4 {
  padding-left: 12em;
}

/* =====================================================
   QUILL FONT SIZE
===================================================== */

.news-editor-content .ql-size-small {
  font-size: 12px;
}

.news-editor-content .ql-size-large {
  font-size: 20px;
}

.news-editor-content .ql-size-huge {
  font-size: 28px;
}

/* =====================================================
   BLOCKQUOTE
===================================================== */

.news-editor-content blockquote {
  border-left: 4px solid #0ea5e9;
  padding: 14px 18px;
  margin: 20px 0;
  background: #f0f9ff;
  border-radius: 0 12px 12px 0;
}

.dark .news-editor-content blockquote {
  background: rgba(14, 165, 233, 0.1);
}

/* =====================================================
   CODE
===================================================== */

.news-editor-content pre {
  overflow-x: auto;
  background: #0f172a;
  color: #e2e8f0;
  padding: 16px;
  border-radius: 12px;
  margin: 18px 0;
}

.news-editor-content code {
  font-family: monospace;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 640px) {

  .news-editor-content {
    font-size: 14px;
    line-height: 1.8;
  }

  .news-editor-content h1 {
    font-size: 22px;
  }

  .news-editor-content h2 {
    font-size: 19px;
  }

  .news-editor-content img {
    max-width: 100% !important;
  }

}