/* =========================================
   1. BASE STYLES & HEADER
   (Tidak diubah, sesuai permintaan)
========================================= */
.fasilitas-section {
  margin-top: -64px;
  padding-top: 96px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, #dbeafe 0%, #f0f9ff 25%, #e0f2fe 100%);
  min-height: 100vh;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  padding-top: 10px;
  border-bottom: none;
}

.badge-pill,
.header-badge {
  display: inline-flex;
  align-items: center;
  background-color: #eff6ff;
  color: #2563eb;
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  border: 1px solid #bfdbfe;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.page-header h1 {
  font-size: 2.2rem;
  color: #0f172a;
  margin: 0 0 8px 0;
  font-weight: 850;
  letter-spacing: -1px;
  line-height: 1.2;
}

.page-header p {
  color: #475569;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 500;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 25px;
  transition: color 0.2s;
}

.btn-back:hover {
  color: #2563eb;
}

/* =========================================
   2. INDEX / LIST LAYOUT
   (Grid fasilitas di halaman depan)
========================================= */
.facility-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.facility-row {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  min-height: 220px;
  will-change: transform;
}

.facility-row:hover {
  transform: translateX(12px);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
  border-color: #2563eb;
}

.facility-img-side {
  flex: 0 0 320px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-overlay-placeholder {
  font-size: 4rem;
  color: #cbd5e1;
}

.facility-info-side {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.facility-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.badge-info {
  background: #eff6ff;
  color: #2563eb;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.facility-row h3 {
  font-size: 1.6rem;
  color: #0f172a;
  margin-bottom: 8px;
  font-weight: 800;
}

.mini-specs {
  display: flex;
  gap: 25px;
  padding-top: 20px;
  margin-top: 15px;
  border-top: 1px solid #f1f5f9;
}

.mini-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 600;
}

.mini-spec-item i {
  color: #2563eb;
  font-size: 1.1rem;
}

/* =========================================
   3. SLIDER BARU (FULL WIDTH & CINEMATIC)
   (Diperbarui agar lebih lebar dan tinggi)
========================================= */
.slider-container {
  position: relative;
  width: 100%;
  /* Tinggi dibuat 500px agar terlihat mewah */
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  background: #e2e8f0;
  margin-bottom: 40px;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-item {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 30px 30px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 1.1rem;
  font-weight: 500;
}

.slide-item:hover .slide-overlay {
  opacity: 1;
}

/* Tombol Slider */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #0f172a;
  transition: all 0.3s;
  z-index: 10;
  opacity: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-container:hover .slider-btn {
  opacity: 1;
}

.slider-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 25px;
}

.next-btn {
  right: 25px;
}

/* Dots Indicator */
.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: white;
  width: 30px;
  border-radius: 5px;
}

.no-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #cbd5e1;
  color: #64748b;
}

/* =========================================
   4. DETAIL LAYOUT BARU (SPLIT BAWAH)
   (Layout judul tengah & kolom split)
========================================= */

/* Header Info (Judul & Lokasi) */
.main-info-header {
  margin-bottom: 40px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 30px;
}

.main-title {
  font-size: 2.8rem;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.2;
  margin: 10px 0;
}

.badge-type {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-info-row {
  display: flex;
  gap: 25px;
  margin-top: 15px;
  color: #64748b;
  font-weight: 500;
}

.meta-item-detail {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item-detail i {
  color: #2563eb;
  font-size: 1.2rem;
}

/* Container Grid Bawah */
.detail-bottom-split {
  display: grid;
  /* Kiri (Detail) lebih lebar dari Kanan (Koordinator) */
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Typography & Lists */
.description {
  font-size: 1.15rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 45px;
}

.spec-group {
  margin-bottom: 40px;
}

.spec-group h3 {
  font-size: 1.25rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.spec-group h3 i {
  color: #2563eb;
}

.spec-list {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.spec-item {
  display: flex;
  padding: 16px 25px;
  border-bottom: 1px solid #f1f5f9;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  width: 150px;
  color: #64748b;
  font-weight: 600;
}

.spec-value {
  flex: 1;
  color: #0f172a;
  font-weight: 700;
}

.software-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sw-tag {
  background: #f1f5f9;
  color: #475569;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.facility-list {
  list-style: none;
  padding: 0;
}

.facility-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  color: #334155;
  font-weight: 500;
  font-size: 1.05rem;
}

.facility-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 900;
  font-size: 1.2rem;
}

/* =========================================
   5. KOORDINATOR CARD (PREMIUM STYLE)
   (Kartu gelap dengan foto bulat & glowing)
========================================= */
.coord-card-premium {
  background: #0f172a;
  background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  position: sticky;
  top: 100px;
  /* Agar menempel saat scroll */
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.coord-label-top {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 30px;
  display: block;
}

.coord-photo-frame {
  width: 140px;
  height: 140px;
  margin: 0 auto 25px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

.coord-img-circle {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0f172a;
}

.coord-avatar-circle {
  width: 100%;
  height: 100%;
  background: #f59e0b;
  color: #fff;
  border-radius: 50%;
  border: 3px solid #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
}

.coord-name-large {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}

.coord-role-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Error Page */
.error-container {
  text-align: center;
  padding: 100px 0;
  color: #64748b;
}

.error-icon {
  font-size: 5rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

/* Tambahan: Tombol Kontak di Kartu Koordinator */
.coord-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}

.coord-contact-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* =========================================
   DENAH LOKASI (FLOOR PLAN) STYLES
   ========================================= */

/* --- 1. Header Halaman --- */
.denah-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.denah-header h1 {
  margin-top: 15px;
  color: #0f172a;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.denah-header p {
  color: #64748b;
  font-size: 1.1rem;
}

/* --- 2. Layout & Card (MODIFIKASI: TAMPILAN ATAS-BAWAH) --- */
.denah-layout {
  display: flex;
  flex-direction: column;
  /* Menyusun vertikal (Atas-Bawah) */
  gap: 40px;
  justify-content: center;
  align-items: center;
  /* Posisi tengah */
  width: 100%;
}

.denah-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  /* Agar lebar kartu penuh tapi tetap rapi */
  width: 100%;
  max-width: 1000px;
}

.denah-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

/* Judul di dalam Card (Compact) */
.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

.card-title i {
  font-size: 1.1rem;
  color: #2563eb;
  background: #eff6ff;
  padding: 6px 8px;
  border-radius: 8px;
}

.card-title h3 {
  margin: 0;
  color: #1e293b;
  font-size: 1.05rem;
  font-weight: 700;
}

/* --- 3. Wrapper Gambar Peta --- */
.image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease;
}

.denah-img {
  width: 100%;
  height: auto;
  display: block;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.denah-img-day {
  opacity: 1;
  visibility: visible;
}

.denah-img-night {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Night Mode Image Switching */
body.night-mode .image-wrapper {
  background-color: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
}

body.night-mode .denah-img-day {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.night-mode .denah-img-night {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Efek Zoom halus saat hover gambar peta */
.denah-card:hover .denah-img {
  transform: scale(1.02);
}

/* --- 4. HTML LEGEND STYLES (COMPACT DESIGN) --- */

/* Grid Utama: Responsive 3-Kolom Compact */
.legend-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px 24px;
  margin-top: 10px;
}

/* Kolom di dalam Grid */
.legend-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Item Legenda */
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  padding: 3px 6px;
  border-radius: 6px;
}

/* Kotak Warna (Box) */
.box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Kode Ruangan (L1, R1, dll) */
.code {
  font-weight: 800;
  color: #0f172a;
  font-family: "JetBrains Mono", monospace;
  width: 26px;
  flex-shrink: 0;
  font-size: 0.825rem;
}

/* Deskripsi Ruangan */
.desc {
  color: #334155;
  font-weight: 500;
  line-height: 1.3;
  font-size: 0.825rem;
}

/* Spacer Kecil */
.gap-small {
  height: 6px;
}

/* --- WARNA LEGEND --- */
.blue {
  background-color: #8ab6c9;
  border-color: #7aa3b6;
}

.grey {
  background-color: #a7a9ac;
  border-color: #909295;
}

.orange {
  background-color: #e69138;
  border-color: #d08232;
}

.dark-grey {
  background-color: #666666;
  border-color: #555555;
}

.yellow {
  background-color: #fff200;
  border-color: #e6da00;
}

.white {
  background-color: #ffffff;
  border: 1px solid #94a3b8;
}

/* Icon Tangga */
.stairs-icon {
  width: 18px;
  height: 18px;
  background: transparent;
  border: none;
  position: relative;
  box-shadow: none;
  flex-shrink: 0;
}

.stairs-icon::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 2px;
  width: 6px;
  height: 6px;
  background: #666;
  box-shadow:
    6px -6px 0 #666,
    12px -12px 0 #666;
}

/* --- 5. Layout Sizing (RESET UNTUK TAMPILAN VERTIKAL) --- */
.map-box {
  flex: none;
  /* Tidak pakai flex ratio */
  width: 100%;
  min-width: 0;
}

.legend-box {
  flex: none;
  width: 100%;
  min-width: 0;
}

/* Catatan di bawah Legenda */
.denah-note {
  margin-top: 30px;
  padding: 15px 20px;
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

.denah-note strong {
  color: #b45309;
  display: block;
  margin-bottom: 4px;
}

/* Fix Layout (Jaga-jaga agar footer tidak naik) */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* --- Desain Card SOP --- */
.sop-wrapper {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.sop-header-row {
  background: #f8fafc;
  padding: 20px 30px;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sop-header-title {
  font-weight: 800;
  color: #475569;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sop-item {
  display: flex;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  gap: 20px;
}

.sop-item:last-child {
  border-bottom: none;
}

.sop-item:hover {
  background-color: #f0f9ff;
  /* Warna biru sangat muda saat hover */
  transform: translateX(5px);
  border-left: 4px solid #2563eb;
}

/* Nomor Urut */
.sop-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: #94a3b8;
  min-width: 30px;
}

/* Icon Dokumen */
.sop-icon {
  width: 45px;
  height: 45px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Teks Judul & Deskripsi */
.sop-info {
  flex: 1;
}

.sop-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  display: block;
}

.sop-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

/* Tombol Aksi */
.btn-sop-action {
  padding: 10px 20px;
  background: #fff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-sop-action:hover {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.search-container {
  margin-top: 35px;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.search-input {
  width: 100%;
  padding: 16px 24px;
  padding-right: 50px;
  border-radius: 50px;
  border: 1px solid #cbd5e1;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-icon-compact {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.3rem;
  pointer-events: none;
}

/* =========================================
   COMPACT MOBILE SOP STYLES (< 768px)
   ========================================= */
@media (max-width: 768px) {
  .search-container {
    margin: 12px auto 16px auto !important;
    max-width: 100% !important;
  }

  .search-input {
    padding: 10px 16px 10px 42px !important;
    font-size: 0.88rem !important;
    border-radius: 12px !important;
  }

  .search-icon-compact {
    left: 14px !important;
    right: auto !important;
    font-size: 1.1rem !important;
  }

  .sop-container {
    max-width: 100% !important;
  }

  .sop-wrapper {
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
  }

  .sop-header-row {
    padding: 10px 14px !important;
  }

  .sop-header-title {
    font-size: 0.74rem !important;
    letter-spacing: 0.5px !important;
  }

  .sop-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    flex-wrap: nowrap !important;
  }

  .sop-number {
    display: inline-flex !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    min-width: 20px !important;
    flex-shrink: 0 !important;
  }

  .sop-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .sop-info {
    flex: 1 !important;
    width: auto !important;
    margin-bottom: 0 !important;
    min-width: 0 !important;
  }

  .sop-title {
    font-size: 0.92rem !important;
    font-weight: 750 !important;
    margin-bottom: 2px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .sop-desc {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
    color: #64748b !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .btn-sop-action {
    width: auto !important;
    padding: 5px 12px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    border-radius: 20px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    justify-content: center !important;
    gap: 4px !important;
  }
}

@media (max-width: 480px) {
  .sop-item {
    padding: 8px 10px !important;
    gap: 8px !important;
  }

  .sop-number {
    display: none !important;
  }

  .sop-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
  }

  .sop-title {
    font-size: 0.88rem !important;
  }

  .sop-desc {
    font-size: 0.72rem !important;
  }

  .btn-sop-action {
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
  }
}

/* --- 6. Responsif --- */
@media (max-width: 768px) {
  /* Di HP, grid legend jadi 1 kolom agar teks tidak sempit */
  .legend-grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .denah-header h1 {
    font-size: 2rem;
  }
}

/* =========================================
   6. RESPONSIVE
========================================= */
@media (max-width: 968px) {
  .page-header h1 {
    font-size: 2.2rem;
  }

  .page-header p {
    font-size: 0.95rem;
    padding: 0 15px;
  }

  .detail-layout,
  .detail-bottom-split {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .slider-container {
    height: 350px;
  }

  .coord-card-premium {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }

  .main-title {
    font-size: 2rem;
  }
}

/* =========================================
   COMPACT MOBILE STYLES (< 768px)
   ========================================= */
/* =========================================
   COMPACT & BALANCED MOBILE STYLES (< 768px)
   ========================================= */
@media (max-width: 768px) {
  html body .fasilitas-section,
  html body .detail-page-section,
  html body .symmetrical-detail-view {
    margin-top: 0 !important;
    padding-top: 14px !important;
    padding-bottom: 20px !important;
    min-height: auto !important;
  }

  .container {
    padding: 0 16px;
  }

  .page-header {
    margin-bottom: 20px;
    padding-top: 0;
    text-align: center;
  }

  .page-header h1 {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
  }

  .page-header p {
    font-size: 0.88rem;
    line-height: 1.45;
    color: #475569;
    padding: 0;
  }

  .header-badge {
    padding: 4px 12px;
    font-size: 0.68rem;
    margin-bottom: 8px;
  }

  /* Balanced Facility Grid & Cards */
  .facility-grid {
    gap: 14px;
    display: flex;
    flex-direction: column;
  }

  .facility-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    /* Image side stretches to 100% height of right info */
    min-height: 125px;
    padding: 0 !important;
    /* Image touches top/bottom/left borders seamlessly */
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }

  .facility-row:active,
  .facility-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
  }

  .facility-img-side {
    flex: 0 0 135px !important;
    width: 135px !important;
    height: auto !important;
    min-height: 100% !important;
    align-self: stretch !important;
    border-radius: 0 !important;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
  }

  .facility-img-side img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
  }

  .img-overlay-placeholder {
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .facility-info-side {
    flex: 1;
    padding: 12px 14px 12px 14px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    /* Ensures inner flex items truncate cleanly */
  }

  .facility-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
  }

  .badge-info {
    padding: 3px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  .facility-row h3 {
    font-size: 1.05rem;
    font-weight: 750;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .facility-row p {
    font-size: 0.78rem;
    line-height: 1.38;
    margin-bottom: 8px;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mini-specs {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 6px;
    margin-top: 2px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
  }

  .mini-spec-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
  }

  .mini-spec-item i {
    font-size: 0.82rem;
    color: #2563eb;
  }

  /* Compact Detail Header & Dashboard Cards (< 768px) */
  .btn-back-sym {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    margin-bottom: 12px !important;
    border-radius: 10px !important;
  }

  .eyecatching-header {
    padding: 14px 16px !important;
    margin-bottom: 12px !important;
    border-radius: 14px !important;
  }

  .eyecatching-title {
    font-size: 1.25rem !important;
    margin: 4px 0 8px 0 !important;
  }

  .sym-meta-chips {
    gap: 6px !important;
  }

  .highlight-chip {
    padding: 4px 8px !important;
    border-radius: 8px !important;
  }

  .chip-icon-box {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.72rem !important;
  }

  .highlight-chip span {
    font-size: 0.74rem !important;
  }

  .sym-dashboard-rows {
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  .sym-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .sym-card {
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }

  .sym-card-header {
    gap: 8px !important;
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
  }

  .sym-card-header h3 {
    font-size: 0.98rem !important;
  }

  .sym-icon-badge {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
  }

  .sym-desc-text {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }

  /* Compact Koordinator Profile on Mobile */
  .sym-coord-content {
    gap: 10px !important;
  }

  .sym-avatar-box {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
  }

  .sym-coord-name {
    font-size: 0.95rem !important;
    margin-bottom: 1px !important;
  }

  .sym-coord-role {
    font-size: 0.72rem !important;
    margin-bottom: 4px !important;
  }

  .sym-email-btn {
    font-size: 0.74rem !important;
    gap: 4px !important;
  }

  /* Compact Hardware Specs 2-Column Grid on Mobile */
  .sym-hw-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .sym-hw-item {
    padding: 6px 8px !important;
    border-radius: 8px !important;
    gap: 6px !important;
  }

  .sym-hw-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.78rem !important;
    border-radius: 6px !important;
  }

  .sym-hw-lbl {
    font-size: 0.58rem !important;
  }

  .sym-hw-val {
    font-size: 0.76rem !important;
  }

  /* Compact Software Tags on Mobile */
  .sym-sw-tags {
    gap: 6px !important;
  }

  .sym-sw-tag {
    padding: 3px 9px !important;
    font-size: 0.74rem !important;
    border-radius: 12px !important;
  }

  .sym-sw-tag .dot {
    width: 5px !important;
    height: 5px !important;
  }

  /* Compact Facility Checklist 2-Column Grid on Mobile */
  .sym-full-width-card {
    margin-bottom: 12px !important;
  }

  .sym-facility-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .sym-fac-item {
    padding: 6px 10px !important;
    font-size: 0.76rem !important;
    gap: 6px !important;
    border-radius: 8px !important;
  }

  .sym-fac-item i {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 480px) {
  .facility-img-side {
    flex: 0 0 115px !important;
    width: 115px !important;
  }

  .facility-info-side {
    padding: 10px 11px !important;
  }

  .facility-row h3 {
    font-size: 0.98rem;
  }

  .facility-row p {
    font-size: 0.74rem;
    line-height: 1.32;
    margin-bottom: 6px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .badge-info {
    font-size: 0.6rem;
    padding: 2px 6px;
  }

  .mini-specs {
    gap: 8px;
    padding-top: 5px;
  }

  .mini-spec-item {
    font-size: 0.66rem;
  }

  .slider-container {
    height: 220px;
  }

  .meta-info-row {
    flex-direction: column;
    gap: 8px;
  }

  .spec-item {
    flex-direction: column;
    gap: 4px;
  }

  .spec-label {
    width: 100%;
  }
}

/* =========================================
   FASILITAS NIGHT MODE STYLES
   ========================================= */

/* 1. Global Section & Headers */
body.night-mode .fasilitas-section {
  background: #0b0f19 !important;
  color: #f8fafc !important;
}

body.night-mode .page-header h1,
body.night-mode .denah-header h1,
body.night-mode .main-title,
body.night-mode .facility-row h3,
body.night-mode .card-title h3,
body.night-mode .spec-group h3,
body.night-mode .sop-title,
body.night-mode .code,
body.night-mode .spec-value {
  color: #ffffff !important;
}

body.night-mode .page-header p,
body.night-mode .denah-header p,
body.night-mode .description,
body.night-mode .facility-list li,
body.night-mode .sop-desc,
body.night-mode .desc,
body.night-mode .spec-label,
body.night-mode .meta-info-row,
body.night-mode .mini-spec-item,
body.night-mode .btn-back {
  color: #cbd5e1 !important;
}

body.night-mode .badge-pill,
body.night-mode .header-badge {
  background-color: rgba(37, 99, 235, 0.15) !important;
  color: #60a5fa !important;
  border-color: rgba(96, 165, 250, 0.3) !important;
}

body.night-mode .btn-back:hover {
  color: #60a5fa !important;
}

/* 2. Facility Row Cards & Detail Cards */
body.night-mode .facility-row,
body.night-mode .denah-card,
body.night-mode .spec-list,
body.night-mode .sop-wrapper {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
}

body.night-mode .facility-row:hover,
body.night-mode .denah-card:hover,
body.night-mode .sop-item:hover {
  border-color: #3b82f6 !important;
}

body.night-mode .facility-img-side,
body.night-mode .image-wrapper,
body.night-mode .no-image-placeholder {
  background-color: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.night-mode .img-overlay-placeholder {
  color: #475569 !important;
}

body.night-mode .mini-specs,
body.night-mode .main-info-header,
body.night-mode .spec-group h3,
body.night-mode .spec-item,
body.night-mode .card-title,
body.night-mode .sop-header-row,
body.night-mode .sop-item {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.night-mode .mini-spec-item i,
body.night-mode .meta-item-detail i,
body.night-mode .spec-group h3 i,
body.night-mode .card-title i {
  color: #60a5fa !important;
}

body.night-mode .badge-info,
body.night-mode .badge-type {
  background: rgba(37, 99, 235, 0.2) !important;
  color: #60a5fa !important;
}

/* 3. Software Tags & Floor Plan Legends */
body.night-mode .sw-tag {
  background: #0f172a !important;
  color: #cbd5e1 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.night-mode .denah-note {
  background: rgba(245, 158, 11, 0.15) !important;
  border-left-color: #f59e0b !important;
  color: #fde68a !important;
}

body.night-mode .denah-note strong {
  color: #fbbf24 !important;
}

body.night-mode .white {
  background-color: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* 4. SOP List Rows & Actions */
body.night-mode .sop-header-row {
  background: #0f172a !important;
}

body.night-mode .sop-header-title,
body.night-mode .sop-number {
  color: #94a3b8 !important;
}

body.night-mode .sop-item:hover {
  background-color: #0f172a !important;
  border-left-color: #3b82f6 !important;
}

body.night-mode .sop-icon {
  background: rgba(37, 99, 235, 0.2) !important;
  color: #60a5fa !important;
}

body.night-mode .btn-sop-action {
  background: #0f172a !important;
  color: #60a5fa !important;
  border-color: rgba(96, 165, 250, 0.3) !important;
}

body.night-mode .btn-sop-action:hover {
  background: #2563eb !important;
  color: #ffffff !important;
}

/* 5. Search Bar in Facilities */
body.night-mode .search-input {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

body.night-mode .search-input::placeholder {
  color: #94a3b8 !important;
}

body.night-mode .search-icon-compact {
  color: #94a3b8 !important;
}

/* =======================================================
   INTERACTIVE ROOM FACILITY POPUP & HOTSPOT STYLES
   ======================================================= */

.position-relative {
  position: relative;
}

.legend-hint {
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  padding: 3px 10px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

/* Interactive Legend Items */
.legend-item[data-room] {
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.legend-item[data-room]:hover,
.legend-item.active-room-highlight {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateX(4px);
}

.legend-item[data-room]:hover .code,
.legend-item.active-room-highlight .code {
  color: #2563eb;
  font-weight: 800;
}

/* Map Pins & Hotspots Overlay */
.denah-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
}

.hotspot-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 8px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  border: 2px solid #ffffff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hotspot-pin.orange {
  background: #ea580c;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

.denah-hotspot:hover .hotspot-pin,
.denah-hotspot.active-room-highlight .hotspot-pin {
  transform: scale(1.2);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.6);
  z-index: 20;
}

.hotspot-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50px;
  border: 2px solid rgba(37, 99, 235, 0.6);
  animation: hotspotPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes hotspotPulse {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.9;
  }

  100% {
    width: 220%;
    height: 220%;
    opacity: 0;
  }
}

/* Floating Room Facility Popup Card */
/* Compact & Sleek Room Facility Popup Card */
.room-facility-popup {
  position: fixed;
  z-index: 9999;
  width: 290px;
  max-width: calc(100vw - 24px);
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  color: #f8fafc;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.96);
  transition:
    opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.2s;
  pointer-events: none;
}

.room-facility-popup.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.popup-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 24px;
  /* Room for close button */
}

.popup-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.popup-code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.popup-title-group h4 {
  margin: 0 0 2px 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.popup-category-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: block;
}

.popup-capacity-box {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  padding: 4px 8px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #60a5fa;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-capacity-box i {
  font-size: 0.88rem;
  color: #38bdf8;
}

.popup-desc {
  margin: 0 0 4px 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #cbd5e1;
}

.popup-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.popup-facility-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.popup-facility-list li {
  font-size: 0.76rem;
  color: #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.3;
}

.popup-facility-list li i {
  color: #38bdf8;
  font-size: 0.85rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Natural Spatial Room Hover Bounding Areas over Map (Transparent) */
.denah-room-area {
  position: absolute;
  z-index: 5;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
}

.denah-room-area:hover,
.denah-room-area.active-room-highlight {
  background: transparent;
  border: none;
  box-shadow: none;
}

body.night-mode .denah-room-area:hover,
body.night-mode .denah-room-area.active-room-highlight {
  background: transparent;
  border: none;
  box-shadow: none;
}

.popup-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
}

.popup-btn-visit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-btn-visit:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.5);
  color: #ffffff !important;
}

.popup-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  z-index: 10;
}

.popup-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: transparent;
  color: #ffffff;
  transform: scale(1.1);
}

/* Dark Mode Overrides for Facility Popup */
body.night-mode .legend-item[data-room]:hover,
body.night-mode .legend-item.active-room-highlight {
  background: rgba(30, 41, 59, 0.9) !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
}

body.night-mode .legend-hint {
  background: rgba(37, 99, 235, 0.2) !important;
  color: #60a5fa !important;
}

/* =======================================================
   RESPONSIVE FLOORPLAN & MOBILE POPUP STYLES
   ======================================================= */
@media (max-width: 768px) {
  .denah-header h1 {
    font-size: 1.6rem !important;
    margin-bottom: 4px !important;
  }

  .denah-header p {
    font-size: 0.85rem !important;
  }

  .denah-layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .denah-card {
    padding: 12px 14px !important;
    border-radius: 16px !important;
  }

  .card-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }

  .card-title i {
    font-size: 0.85rem !important;
    padding: 4px 6px !important;
    border-radius: 6px !important;
  }

  .card-title h3 {
    font-size: 0.96rem !important;
    font-weight: 750 !important;
    margin: 0 !important;
  }

  .legend-hint {
    margin-left: auto !important;
    margin-top: 0 !important;
    font-size: 0.65rem !important;
    font-weight: 650 !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
  }

  .image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
  }

  .image-wrapper img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block;
  }

  /* Compact Mobile Legend Grid Layout */
  .legend-grid-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    margin-top: 6px !important;
  }

  .legend-column {
    gap: 4px !important;
  }

  .legend-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.76rem !important;
    padding: 5px 8px !important;
    border-radius: 8px !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }

  .box {
    width: 14px !important;
    height: 14px !important;
    border-radius: 3px !important;
  }

  .code {
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    width: 22px !important;
  }

  .desc {
    font-size: 0.74rem !important;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .gap-small {
    height: 2px !important;
  }

  /* Mobile Floating Bottom Sheet for Room Facility Popup */
  .room-facility-popup {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    top: auto !important;
    right: auto !important;
    width: calc(100vw - 32px) !important;
    max-width: 440px !important;
    max-height: calc(85vh - 40px);
    overflow-y: auto;
    border-radius: 20px !important;
    z-index: 10000 !important;
    transform: translateX(-50%) translateY(30px) scale(0.95) !important;
  }

  .room-facility-popup.visible {
    transform: translateX(-50%) translateY(0) scale(1) !important;
  }
}

/* =========================================================
   WORLD-CLASS AWARD-WINNING DETAIL FASILITAS STYLES
   ========================================================= */

.detail-page-section {
  margin-top: 0 !important;
  padding-top: 115px !important;
  padding-bottom: 80px;
}

/* Hero Section Wrapper */
.detail-hero-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  box-shadow: none;
  margin-top: 4px;
  margin-bottom: 12px;
  padding: 0;
  background: transparent;
  border: none;
}

.hero-top-bar {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.btn-back-hero {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-back-hero:hover {
  background: #2563eb;
  border-color: #60a5fa;
  transform: translateX(-4px);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
}

.hero-tags-group {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.hero-tag-badge {
  background: rgba(34, 197, 94, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-type-badge {
  background: rgba(37, 99, 235, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(147, 197, 253, 0.4);
}

/* Header & Meta Badges */
.main-info-header-award {
  margin-bottom: 40px;
}

.title-with-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.main-title-award {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin: 0;
}

.status-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  color: #166534;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid #bbf7d0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.meta-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.meta-card-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 16px 20px;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.meta-card-badge:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.12);
}

.meta-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.meta-text-group {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.meta-val {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e293b;
}

/* Left Content Cards */
.description-card-premium {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.desc-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #2563eb;
  font-size: 1.1rem;
}

.desc-card-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.description-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  font-weight: 400;
}

.spec-section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.spec-section-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.section-card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.title-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.section-card-title h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f172a;
}

.section-card-title .sub-title {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
  display: block;
}

/* Hardware Card Grid */
.hardware-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.hw-card-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  padding: 14px 18px;
  border-radius: 14px;
  transition: all 0.25s ease;
}

.hw-card-item:hover {
  background: #ffffff;
  border-color: #bfdbfe;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.08);
}

.hw-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ffffff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.hw-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hw-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hw-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Software Tags */
.software-tags-award {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sw-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  color: #334155;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.sw-tag-item:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.4);
}

.sw-tag-item:hover .sw-dot {
  background: #ffffff;
}

.sw-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  transition: background 0.25s;
}

/* Facility Checkmark Pills */
.facility-grid-award {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.facility-pill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #334155;
  transition: all 0.25s ease;
}

.facility-pill-item i {
  color: #22c55e;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.facility-pill-item:hover {
  background: #ffffff;
  border-color: #bbf7d0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(34, 197, 94, 0.12);
}

/* Right Sidebar Coordinator Card */
.coord-card-award {
  position: sticky;
  top: 100px;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.35);
  overflow: hidden;
  z-index: 1;
}

.coord-ambient-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.35) 0%,
    rgba(37, 99, 235, 0) 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.coord-badge-header {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.2);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(96, 165, 250, 0.3);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.coord-avatar-wrapper {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.coord-img-award {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #1e293b;
}

.coord-initials-award {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1e293b;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coord-status-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: #22c55e;
  border: 3px solid #0f172a;
  border-radius: 50%;
}

.coord-name-award {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: #ffffff;
  line-height: 1.3;
}

.coord-role-sub {
  position: relative;
  z-index: 2;
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
  display: block;
  margin-bottom: 20px;
}

.coord-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto 20px;
  width: 80%;
}

.coord-cta-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.4);
}

.coord-cta-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 12px 25px -4px rgba(37, 99, 235, 0.6);
  color: #ffffff !important;
}

.coord-cta-btn.disabled {
  background: rgba(255, 255, 255, 0.08);
  color: #64748b !important;
  box-shadow: none;
  cursor: not-allowed;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Night Mode Enhancements for Award UI */
body.night-mode .main-title-award {
  color: #ffffff !important;
}

body.night-mode .meta-card-badge,
body.night-mode .description-card-premium,
body.night-mode .spec-section-card {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

body.night-mode .meta-val,
body.night-mode .desc-card-header h3,
body.night-mode .section-card-title h3,
body.night-mode .hw-value {
  color: #ffffff !important;
}

body.night-mode .description-text {
  color: #cbd5e1 !important;
}

body.night-mode .hw-card-item,
body.night-mode .facility-pill-item {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}

body.night-mode .sw-tag-item {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

body.night-mode .hw-icon-circle {
  background: #1e293b !important;
  color: #60a5fa !important;
}

body.night-mode .status-live-indicator {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #4ade80 !important;
  border-color: rgba(74, 222, 128, 0.3) !important;
}

body.night-mode .detail-hero-wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.night-mode .orb-1 {
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.6) 0%,
    rgba(37, 99, 235, 0) 70%
  ) !important;
}

body.night-mode .orb-2 {
  background: radial-gradient(
    circle,
    rgba(147, 51, 234, 0.5) 0%,
    rgba(147, 51, 234, 0) 70%
  ) !important;
}

body.night-mode .photo-card-item .card-inner {
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
  background: #1e293b !important;
}

/* Responsive adjustments for Detail Page */
@media (max-width: 768px) {
  .detail-page-section {
    margin-top: 0 !important;
    padding-top: 14px !important;
  }

  .main-title-award {
    font-size: 1.8rem !important;
  }

  .detail-bottom-split {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .btn-back-hero {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* =========================================================
   3D INTERACTIVE PHOTO DECK & FAN-OUT GALLERY STYLES
   ========================================================= */

.photo-stack-hero-wrapper {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
  padding: 85px 24px 35px;
  margin-bottom: 35px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.photo-stack-container {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.photo-stack-deck {
  position: relative;
  width: 100%;
  max-width: 1080px;
  height: 430px;
  margin: 0 auto;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Individual Card Items in 3D Stack (Larger Dimensions) */
.photo-card-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 285px;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, left, z-index;
}

.photo-card-item .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 16px 36px rgba(30, 58, 138, 0.12);
  background: #ffffff;
  transition: all 0.4s ease;
}

.photo-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-overlay-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-expand-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(37, 99, 235, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
  pointer-events: none;
}

/* 3D Stacked Position Offsets (Default Idle State) */
.photo-card-item.card-pos-0 {
  transform: translate(-50%, -50%) rotate(-8deg) scale(0.92);
  left: 42%;
  z-index: 1;
}

.photo-card-item.card-pos-1 {
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
  left: 50%;
  z-index: 3;
}

.photo-card-item.card-pos-2 {
  transform: translate(-50%, -50%) rotate(8deg) scale(0.92);
  left: 58%;
  z-index: 2;
}

/* 🌟 HOVER FAN-OUT EXPANSION ANIMATION (THE MAGIC FAN-OUT EFFECT!) 🌟 */
.photo-stack-container:hover .photo-card-item.card-pos-0 {
  left: 22%;
  transform: translate(-50%, -50%) rotate(-3deg) scale(1);
}

.photo-stack-container:hover .photo-card-item.card-pos-1 {
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg) scale(1.04);
  z-index: 10;
}

.photo-stack-container:hover .photo-card-item.card-pos-2 {
  left: 78%;
  transform: translate(-50%, -50%) rotate(3deg) scale(1);
}

/* Individual Active Card Hover Elevation (Larger Zoom Scale) */
.photo-card-item:hover {
  transform: translate(-50%, -60%) rotate(0deg) scale(1.28) !important;
  z-index: 99 !important;
}

.photo-card-item:hover .card-inner {
  border-color: #3b82f6;
  box-shadow:
    0 35px 70px -10px rgba(37, 99, 235, 0.55),
    0 0 0 4px rgba(96, 165, 250, 0.5);
}

.photo-card-item:hover img {
  transform: scale(1.12);
}

.photo-card-item:hover .card-expand-hint {
  opacity: 1;
  transform: translateY(0);
}

.deck-instruction-hint {
  margin-top: 15px;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: pulseHint 2.5s infinite;
}

@keyframes pulseHint {
  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.3);
  }
}

/* =========================================================
   SPECIAL SINGLE PHOTO HERO SHOWCASE TREATMENT
   ========================================================= */

.photo-stack-container:has(.single-photo) {
  min-height: 380px !important;
  perspective: none !important;
}

.photo-stack-deck.single-photo {
  height: 380px !important;
  max-width: 880px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-stack-deck.single-photo .photo-card-item {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-width: 880px !important;
  height: 380px !important;
  margin: 0 auto !important;
}

.photo-stack-deck.single-photo .photo-card-item:hover {
  transform: translateY(-4px) scale(1.02) !important;
}

.photo-stack-deck.single-photo .card-inner {
  border-radius: 24px !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12) !important;
}

.photo-stack-deck.single-photo .photo-card-item:hover .card-inner {
  border-color: #0284c7 !important;
  box-shadow: 0 25px 50px rgba(2, 132, 199, 0.25) !important;
}

body.night-mode .photo-stack-deck.single-photo .card-inner {
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
}

/* Lightbox Fullscreen Modal (Sky Blue Light Theme Default) */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(224, 242, 254, 0.96) 0%,
    rgba(240, 249, 255, 0.95) 100%
  );
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(2, 132, 199, 0.25);
  border: 4px solid #ffffff;
}

.lightbox-caption {
  margin-top: 15px;
  color: #0369a1;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(186, 230, 253, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #0369a1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 100;
}

.lightbox-close-btn:hover {
  background: #ef4444;
  border-color: #f87171;
  color: #ffffff;
  transform: rotate(90deg);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(186, 230, 253, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #0369a1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 100;
}

.lightbox-nav-btn:hover {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.prev {
  left: 30px;
}

.lightbox-nav-btn.next {
  right: 30px;
}

/* =========================================================
   MOBILE TOUCH CAROUSEL GALLERY (REPLACES 3D DECK ON MOBILE)
   ========================================================= */
@media (max-width: 768px) {
  .photo-stack-hero-wrapper,
  .detail-hero-wrapper,
  #photoDeckWrapper {
    padding: 14px 10px !important;
    border-radius: 20px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15) !important;
  }

  .photo-stack-container {
    min-height: auto !important;
    height: auto !important;
    perspective: none !important;
    padding: 0 !important;
  }

  .photo-stack-deck {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 12px !important;
    padding: 4px 6px 14px 6px !important;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
  }

  .photo-stack-deck::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
  }

  .photo-card-item,
  .photo-card-item.card-pos-0,
  .photo-card-item.card-pos-1,
  .photo-card-item.card-pos-2 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    /* Reset 3D transforms & rotation */
    width: calc(88vw - 36px) !important;
    /* Peek affordance for next photo */
    max-width: 320px !important;
    height: 210px !important;
    flex: 0 0 auto !important;
    scroll-snap-align: center !important;
    border-radius: 16px !important;
    margin: 0 !important;
    z-index: 1 !important;
    opacity: 1 !important;
  }

  .photo-stack-container:hover .photo-card-item.card-pos-0,
  .photo-stack-container:hover .photo-card-item.card-pos-1,
  .photo-stack-container:hover .photo-card-item.card-pos-2,
  .photo-card-item:hover {
    transform: none !important;
    z-index: 1 !important;
  }

  .photo-card-item .card-inner {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 16px !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
    overflow: hidden !important;
  }

  .photo-card-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: none !important;
  }

  .card-overlay-badge {
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
    background: rgba(15, 23, 42, 0.82) !important;
    backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 10px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  .card-expand-hint {
    opacity: 1 !important;
    top: 10px !important;
    right: 10px !important;
    transform: none !important;
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
    background: rgba(37, 99, 235, 0.9) !important;
    backdrop-filter: blur(6px) !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  }

  /* Single photo mode on mobile */
  .photo-stack-deck.single-photo .photo-card-item {
    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
  }

  /* Interactive Dots for Mobile Touch Slider */
  .mobile-gallery-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
    z-index: 10;
  }

  .mobile-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-dot.active {
    width: 22px;
    border-radius: 10px;
    background: #3b82f6;
    border-color: #60a5fa;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
  }
}

@media (max-width: 480px) {
  .photo-card-item,
  .photo-card-item.card-pos-0,
  .photo-card-item.card-pos-1,
  .photo-card-item.card-pos-2 {
    width: calc(88vw - 28px) !important;
    height: 195px !important;
  }

  .photo-stack-deck.single-photo .photo-card-item {
    height: 205px !important;
  }
}

/* Ambient Mesh Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  animation: floatOrb 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -80px;
  background: radial-gradient(
    circle,
    rgba(147, 197, 253, 0.45) 0%,
    rgba(147, 197, 253, 0) 70%
  );
}

.orb-2 {
  width: 280px;
  height: 280px;
  bottom: -60px;
  right: -60px;
  background: radial-gradient(
    circle,
    rgba(196, 181, 253, 0.4) 0%,
    rgba(196, 181, 253, 0) 70%
  );
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, 40px) scale(1.15);
  }
}

/* Holographic Card Shine Effect */
.card-shine-effect {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  border-radius: 18px;
  transition: background 0.15s ease;
}

/* Hero Metric Strip */
.hero-metric-strip {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px 24px;
  margin-top: 20px;
}

.metric-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.metric-strip-item i {
  font-size: 1.5rem;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.25);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.metric-strip-item .m-val {
  font-size: 1.05rem;
  font-weight: 800;
  display: block;
  color: #ffffff;
  line-height: 1.2;
}

.metric-strip-item .m-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-strip-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .hero-metric-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .metric-strip-divider {
    display: none;
  }
}

/* =========================================================
   RESTORED FULL-WIDTH 3D PHOTO DECK + COMPACT CONTENT STYLES
   ========================================================= */

.compact-content-view {
  padding-top: 68px !important;
  padding-bottom: 40px !important;
}

.btn-back-compact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0 !important;
  margin-bottom: 4px !important;
  font-size: 0.82rem;
  font-weight: 600;
  color: #2563eb;
  padding: 4px 12px;
  background: #eff6ff;
  border-radius: 20px;
  border: 1px solid #dbeafe;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-back-compact:hover {
  background: #2563eb;
  color: #ffffff !important;
  transform: translateX(-4px);
}

.compact-header {
  margin-bottom: 16px !important;
  padding: 10px 16px !important;
}

.title-with-badge-compact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.main-title-compact {
  font-size: 1.75rem !important;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.2;
}

.status-live-indicator-compact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #166534;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
}

.description-box-compact p {
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  color: #475569;
  margin: 0 0 10px 0;
}

.compact-desc-text {
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
}

.meta-badges-row-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-card-badge-compact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  color: #334155;
}

.meta-card-badge-compact i {
  color: #2563eb;
  font-size: 0.9rem;
}

/* Compact Bottom Split */
.compact-split {
  gap: 20px !important;
}

.compact-card {
  padding: 14px 18px !important;
  margin-bottom: 14px !important;
  border-radius: 14px !important;
}

.compact-title {
  margin-bottom: 10px !important;
  padding-bottom: 6px !important;
  gap: 8px !important;
}

.compact-title h3 {
  font-size: 1rem !important;
}

.compact-title .title-icon-box {
  width: 30px !important;
  height: 30px !important;
  font-size: 0.95rem !important;
  border-radius: 8px !important;
}

.compact-hw-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 8px !important;
}

.compact-hw-item {
  padding: 8px 12px !important;
  border-radius: 8px !important;
  gap: 8px !important;
}

.compact-hw-item .hw-icon-circle {
  width: 28px !important;
  height: 28px !important;
  font-size: 0.9rem !important;
}

.compact-hw-item .hw-label {
  font-size: 0.62rem !important;
}

.compact-hw-item .hw-value {
  font-size: 0.82rem !important;
}

.compact-sw-item {
  padding: 5px 12px !important;
  font-size: 0.78rem !important;
}

.compact-fac-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 6px !important;
}

.compact-fac-item {
  padding: 6px 10px !important;
  font-size: 0.82rem !important;
  border-radius: 6px !important;
}

.compact-coord-card {
  padding: 18px 16px !important;
  border-radius: 16px !important;
}

.compact-avatar {
  width: 64px !important;
  height: 64px !important;
  margin-bottom: 10px !important;
}

.compact-coord-name {
  font-size: 0.98rem !important;
}

.compact-divider {
  margin: 10px auto !important;
}

.compact-cta {
  padding: 8px 14px !important;
  font-size: 0.82rem !important;
  border-radius: 8px !important;
}

/* Night Mode Overrides for Compact Layout */
body.night-mode .meta-card-badge-compact {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

body.night-mode .main-title-compact {
  color: #ffffff !important;
}

body.night-mode .description-box-compact p {
  color: #cbd5e1 !important;
}

body.night-mode .btn-back-compact {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #60a5fa !important;
}

@media (max-width: 900px) {
  .detail-top-hero-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   PERFECTLY SYMMETRICAL & BALANCED DETAIL DASHBOARD STYLES
   ========================================================= */

@media (min-width: 769px) {
  .symmetrical-detail-view {
    padding-top: 65px !important;
    padding-bottom: 50px !important;
  }
}

.btn-back-sym {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  font-size: 0.82rem;
  font-weight: 600;
  color: #2563eb;
  padding: 5px 14px;
  background: #eff6ff;
  border-radius: 20px;
  border: 1px solid #dbeafe;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-back-sym:hover {
  background: #2563eb;
  color: #ffffff !important;
  transform: translateX(-4px);
}

/* Symmetrical Header Title Block */
.sym-header-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px 24px;
  margin-top: 6px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.sym-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 10px;
}

.sym-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #166534;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
}

.sym-instansi-chip {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sym-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.sym-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sym-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  color: #334155;
}

.sym-chip i {
  color: #2563eb;
  font-size: 0.95rem;
}

/* Balanced 2-Row Alignment Structure */
.sym-dashboard-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.sym-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.sym-card-equal {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sym-card-equal .sym-coord-content {
  margin-top: auto;
  margin-bottom: auto;
  flex: 1;
}

/* Standardized Symmetrical Card */
.sym-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.sym-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.sym-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.sym-card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.sym-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.sym-icon-badge.blue {
  background: #eff6ff;
  color: #2563eb;
}

.sym-icon-badge.purple {
  background: #faf5ff;
  color: #9333ea;
}

.sym-icon-badge.emerald {
  background: #ecfdf5;
  color: #059669;
}

.sym-icon-badge.amber {
  background: #fffbeb;
  color: #d97706;
}

.sym-icon-badge.indigo {
  background: #eef2ff;
  color: #4f46e5;
}

.sym-desc-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
}

/* Hardware Grid Inside Symmetrical Card */
.sym-hw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.sym-hw-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  padding: 10px 12px;
  border-radius: 12px;
}

.sym-hw-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.sym-hw-info {
  display: flex;
  flex-direction: column;
}

.sym-hw-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.4px;
}

.sym-hw-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
}

/* Software Tag Cloud */
.sym-sw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sym-sw-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.sym-sw-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* Coordinator Profile Card */
.sym-coord-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sym-avatar-box {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  background: #f1f5f9;
  flex-shrink: 0;
}

.sym-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sym-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #2563eb;
  background: #eff6ff;
}

.sym-coord-details {
  display: flex;
  flex-direction: column;
}

.sym-coord-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.sym-coord-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
}

.sym-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.sym-email-btn:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.sym-email-disabled {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Full Width Facility Grid */
.sym-full-width-card {
  margin-bottom: 20px;
}

.sym-facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.sym-fac-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.sym-fac-item i {
  color: #10b981;
  font-size: 0.98rem;
}

/* Night Mode Overrides */
body.night-mode .sym-header-card,
body.night-mode .sym-card,
body.night-mode .sym-chip,
body.night-mode .sym-hw-item,
body.night-mode .sym-sw-tag,
body.night-mode .sym-fac-item {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

body.night-mode .sym-title,
body.night-mode .sym-card-header h3,
body.night-mode .sym-coord-name,
body.night-mode .sym-hw-val {
  color: #ffffff !important;
}

body.night-mode .sym-desc-text,
body.night-mode .sym-instansi-chip {
  color: #cbd5e1 !important;
}

body.night-mode .btn-back-sym {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #60a5fa !important;
}

body.night-mode .sym-hw-icon {
  background: #0f172a !important;
  border-color: #334155 !important;
}

/* Lightbox Night Mode Overrides */
body.night-mode .lightbox-modal {
  background: rgba(11, 15, 25, 0.95) !important;
}

body.night-mode .lightbox-content img {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

body.night-mode .lightbox-caption {
  color: #ffffff !important;
}

body.night-mode .lightbox-close-btn,
body.night-mode .lightbox-nav-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

body.night-mode .lightbox-close-btn:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
}

body.night-mode .lightbox-nav-btn:hover {
  background: #2563eb !important;
  color: #ffffff !important;
}

@media (max-width: 900px) {
  .sym-dashboard-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Eye-Catching Symmetrical Header Card */
.eyecatching-header {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-left: 5px solid #0284c7;
  border-radius: 20px;
  padding: 22px 28px;
  margin-top: 6px;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.08);
}

.header-type-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0369a1;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid #7dd3fc;
  letter-spacing: 0.3px;
}

.eyecatching-title {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 10px 0 16px 0 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.5px !important;
}

.highlight-chip {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  padding: 6px 14px !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.highlight-chip:hover {
  border-color: #7dd3fc !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.12);
}

.chip-icon-box {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.chip-icon-box.blue {
  background: #e0f2fe;
  color: #0284c7;
}

.chip-icon-box.purple {
  background: #faf5ff;
  color: #9333ea;
}

.chip-icon-box.emerald {
  background: #ecfdf5;
  color: #059669;
}

/* Night Mode Overrides for Eye-Catching Header */
body.night-mode .eyecatching-header {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  border-color: #334155 !important;
  border-left-color: #38bdf8 !important;
}

body.night-mode .header-type-tag {
  background: rgba(2, 132, 199, 0.2) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

body.night-mode .highlight-chip {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

/* Night Mode Body & Section Background Matching Dark Obsidian Hero Theme */
html.night-mode,
html.night-mode body,
body.night-mode {
  background: #0b0f19 !important;
  background-color: #0b0f19 !important;
  background-image: none !important;
  color: #f8fafc !important;
}

body.night-mode .fasilitas-section,
body.night-mode .detail-page-section,
body.night-mode .symmetrical-detail-view {
  background: #0b0f19 !important;
  background-color: #0b0f19 !important;
  background-image: none !important;
}

/* =========================================================
   HIGH-END MOBILE ANIMATIONS & INTERACTION STATES (< 768px)
   ========================================================= */
@media (max-width: 768px) {
  /* 1. Page Header & Section Entrance Animation */
  .page-header,
  .eyecatching-header {
    animation: mobileSlideDownFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  /* 2. Staggered Card Entrance Animation */
  .facility-row {
    animation: mobileSlideUpFade 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .facility-grid .facility-row:nth-child(1) {
    animation-delay: 0.05s;
  }

  .facility-grid .facility-row:nth-child(2) {
    animation-delay: 0.12s;
  }

  .facility-grid .facility-row:nth-child(3) {
    animation-delay: 0.19s;
  }

  .facility-grid .facility-row:nth-child(4) {
    animation-delay: 0.26s;
  }

  .facility-grid .facility-row:nth-child(5) {
    animation-delay: 0.33s;
  }

  .facility-grid .facility-row:nth-child(6) {
    animation-delay: 0.4s;
  }

  /* 3. Tactile Spring Press Feedback for Mobile Cards & Buttons */
  .facility-row:active,
  .photo-card-item:active,
  .btn-back-sym:active,
  .btn-sop-action:active,
  .highlight-chip:active {
    transform: scale(0.96) !important;
    transition: transform 0.12s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  /* 4. Soft Pulsing Badge & Shimmering Image Overlay */
  .badge-info {
    animation: softPulseBadge 3s ease-in-out infinite;
  }

  .photo-card-item .card-expand-hint {
    animation: hintShimmer 2.5s ease-in-out infinite;
  }

  /* 5. Mobile Lightbox Smooth Scale-In Animation & Hide Arrow Buttons */
  .lightbox-modal.active .lightbox-content {
    animation: mobileModalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .lightbox-nav-btn {
    display: none !important;
  }
}

/* Keyframes for Mobile Animations */
@keyframes mobileSlideDownFade {
  0% {
    opacity: 0;
    transform: translateY(-16px) scale(0.98);
  }

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

@keyframes mobileSlideUpFade {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }

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

@keyframes softPulseBadge {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.2);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0);
  }
}

@keyframes hintShimmer {
  0%,
  100% {
    opacity: 0.9;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  }
}

@keyframes mobileModalScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Jadwal Laboratorium - mengikuti style sym-fac-item */
.jadwal-lab-wrapper {
  display: grid;
  gap: 10px;
}

.jadwal-lab-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-size: 0.85rem;
}

.jadwal-lab-table thead th {
  padding: 6px 10px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}

.jadwal-lab-table tbody tr {
  background: #f8fafc;
}

.jadwal-lab-table tbody td {
  padding: 8px 10px;
  color: #334155;
  font-weight: 600;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.jadwal-lab-table tbody td:first-child {
  border-left: 1px solid #e2e8f0;
  border-radius: 10px 0 0 10px;
}

.jadwal-lab-table tbody td:last-child {
  border-right: 1px solid #e2e8f0;
  border-radius: 0 10px 10px 0;
}

.jadwal-lab-table tbody tr:hover {
  background: #f1f5f9;
}
