/**
 * Tema Modern SLiMS Premium by Emon
 * Visual Language & Styling Seirama dengan Modul Usulan Buku & Portal Digital
 * Font: Plus Jakarta Sans | Palette: Cerulean / Sky Blue (#0284c7, #0369a1)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-dark: #075985;
  --primary-light: #e0f2fe;
  --accent: #38bdf8;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --bg-page: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px -4px rgba(2, 132, 199, 0.12);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
}

/* Base Typography */
body, html, input, button, select, textarea, h1, h2, h3, h4, h5, h6, .nav-link, .card {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

body {
  background-color: var(--bg-page) !important;
  color: var(--text-main) !important;
  letter-spacing: -0.01em;
}

/* Header & Navbar Enhancement */
.c-header {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.92) 0%, rgba(3, 105, 161, 0.96) 100%), url('../images/slide1.jpg') center/cover no-repeat !important;
  min-height: 440px !important;
  position: relative;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.2);
}

.c-header .mask {
  background: transparent !important;
}

.navbar {
  padding: 18px 24px !important;
}

.navbar-brand h1 {
  font-weight: 800 !important;
  font-size: 20px !important;
  letter-spacing: -0.5px !important;
  color: #ffffff !important;
}

.navbar-brand h2 {
  font-weight: 500 !important;
  font-size: 13px !important;
  color: #e0f2fe !important;
  opacity: 0.9;
}

.nav-link {
  font-weight: 600 !important;
  font-size: 13.5px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm) !important;
  transition: all 0.2s ease !important;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(4px);
}

/* Dropdown Menu Layanan Digital */
.dropdown-menu {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 10px !important;
}

.dropdown-item {
  border-radius: var(--radius-sm) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text-main) !important;
  padding: 8px 12px !important;
  transition: all 0.15s ease !important;
}

.dropdown-item:hover {
  background-color: var(--primary-light) !important;
  color: var(--primary) !important;
}

/* Search Box Transformation */
.search {
  margin-top: -45px !important;
  position: relative;
  z-index: 10;
}

.search .card {
  border-radius: 22px !important;
  background: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 16px 36px -4px rgba(2, 132, 199, 0.18), 0 6px 16px rgba(0,0,0,0.06) !important;
  padding: 6px 12px !important;
}

.search .input-transparent {
  font-size: 15.5px !important;
  font-weight: 600 !important;
  color: var(--text-main) !important;
  padding: 10px 14px !important;
}

.search .input-transparent::placeholder {
  color: var(--text-muted) !important;
  font-weight: 400 !important;
}

.advanced-wraper {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 20px !important;
  background: #ffffff !important;
}

/* Digital Services Showcase Grid */
.emon-services-wrapper {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 36px 28px;
  margin-top: 15px;
}

.emon-badge-pill {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.emon-services-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.emon-services-sub {
  font-size: 13.5px;
  color: var(--text-muted);
}

.emon-service-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-decoration: none !important;
  color: inherit;
  height: 100%;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.emon-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.emon-service-card.card-featured {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-color: var(--accent);
}

.service-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  background: var(--primary-light);
  color: var(--primary);
}

.service-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 4px;
}

.service-name {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.service-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.service-action {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.emon-service-card:hover .service-action {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Topic / Categories Grid */
ul.topic li a {
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-weight: 700 !important;
  color: var(--text-main) !important;
  padding: 16px 20px !important;
}

ul.topic li a:hover {
  transform: translateY(-3px) !important;
  border-color: var(--primary) !important;
  box-shadow: var(--shadow-md) !important;
  color: var(--primary) !important;
}

/* Biblio Collection Items */
.card.item {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border-color) !important;
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden;
}

.card.item:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-md) !important;
  border-color: var(--accent) !important;
}

.card.item .card-body h5 a, .card.item .card-body .title a {
  color: var(--text-main) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  transition: color 0.15s ease !important;
}

.card.item:hover .card-body h5 a, .card.item:hover .card-body .title a {
  color: var(--primary) !important;
}

/* Availability Badge */
.card.availability {
  border-radius: var(--radius-sm) !important;
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
}

.card.availability .value {
  color: #166534 !important;
  font-weight: 800 !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28) !important;
  transition: all 0.2s ease !important;
}

.btn-primary:hover {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35) !important;
}

.btn-outline-primary {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

/* Modern Dark Slate Footer */
footer.bg-grey-darkest {
  background: #0f172a !important;
  color: #94a3b8 !important;
  border-top: 1px solid #1e293b;
}

footer a.text-light {
  color: #cbd5e1 !important;
  transition: color 0.15s ease !important;
  font-size: 13px !important;
}

footer a.text-light:hover {
  color: var(--accent) !important;
  text-decoration: none !important;
}

footer h4 {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px;
}

/* ═══════════════════════════════════════════════════════
   Premium Emon Module Integration Styles
   Menyesuaikan modul-modul plugin dengan tema SLiMS
   ═══════════════════════════════════════════════════════ */

/* Breadcrumb navigasi modul */
.emon-breadcrumb {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0;
  font-size: 13px;
}
.emon-breadcrumb a { color: var(--accent, #0284c7); font-weight: 600; text-decoration: none; }
.emon-breadcrumb a:hover { text-decoration: underline; }
.emon-breadcrumb .sep { color: #cbd5e1; margin: 0 6px; }
.emon-breadcrumb .current { font-weight: 700; color: #0f172a; }

/* Wrapper konten modul */
.emon-module-wrap { padding: 0 0 60px; }
.emon-module-wrap.wide { max-width: 100%; }

/* Hero card modul */
.emon-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0284c7 100%);
  color: #fff;
  padding: 36px 24px 48px;
  text-align: center;
  border-radius: 0 0 20px 20px;
  margin-bottom: 0;
}
.emon-hero h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin: 0 0 6px; }
.emon-hero p  { font-size: 13px; color: #94a3b8; margin: 0; }

/* Card yang keluar dari hero */
.emon-card-lift {
  margin-top: -24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  padding: 28px;
  margin-bottom: 20px;
}

/* Leaderboard hero card dalam konteks SLiMS */
.hero-card {
  border-radius: 16px !important;
  margin-bottom: 20px !important;
}

/* Module card styles (shared) */
.rank-card, .verif-card, .reg-card, .card {
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04) !important;
}

/* Form controls dalam modul */
.emon-module-wrap .form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.emon-module-wrap .form-control:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2,132,199,0.12);
}

/* Tombol primary dalam modul */
.emon-module-wrap .btn-submit,
.emon-module-wrap button[type=submit] {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 12px 24px !important;
  cursor: pointer;
  transition: opacity 0.2s !important;
}
.emon-module-wrap .btn-submit:hover,
.emon-module-wrap button[type=submit]:hover { opacity: 0.9 !important; }

/* Alert styles modul */
.emon-module-wrap .alert {
  border-radius: 10px !important;
  font-size: 13px !important;
  padding: 14px 18px !important;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .emon-hero { padding: 24px 16px 36px; }
  .emon-hero h1 { font-size: 20px; }
  .emon-card-lift { padding: 18px 14px; margin-top: -16px; }
}

/* Shelf map tile styling */
.shelf-tile {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 14px !important;
}
.shelf-tile.highlighted {
  animation: pulse-shelf 1.8s infinite;
}
@keyframes pulse-shelf {
  0%   { box-shadow: 0 0 0 0 rgba(37,99,235,0.4), 0 4px 12px rgba(37,99,235,0.2); }
  70%  { box-shadow: 0 0 0 10px rgba(37,99,235,0), 0 4px 12px rgba(37,99,235,0.2); }
  100% { box-shadow: 0 0 0 0 rgba(37,99,235,0), 0 4px 12px rgba(37,99,235,0.2); }
}

/* Digital KTA card scene */
.card-scene {
  perspective: 1200px;
}
.card-flipper {
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  position: relative;
}
.card-scene.is-flipped .card-flipper {
  transform: rotateY(180deg);
}

/* ══════════════════════════════════════════════════════════════════
   PREMIUM EMON: COMPLETE MODULE DESIGN SYSTEM & FONT AWESOME ICONS
   ══════════════════════════════════════════════════════════════════ */

/* Global container styling in _other.php */
.result-search .container.mt-8 {
  max-width: 1080px;
}

.result-search .container.mt-8 > h2.mb-4 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px !important;
}

.result-search .container.mt-8 > hr {
  border-top: 1.5px solid #e2e8f0;
  margin-top: 0;
  margin-bottom: 28px;
}

/* ── Module Container & Cards ── */
.main-container, .reg-container, .verif-container, .main-wrap {
  max-width: 860px;
  margin: 0 auto 40px;
}

.main-container.wide, .main-wrap.wide {
  max-width: 1040px;
}

.card, .reg-card, .verif-card, .rank-card, .search-card {
  background: #ffffff !important;
  border-radius: 18px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  padding: 32px;
  margin-bottom: 24px;
  transition: box-shadow 0.2s;
}

@media (max-width: 640px) {
  .card, .reg-card, .verif-card, .rank-card, .search-card {
    padding: 20px 16px;
    border-radius: 14px !important;
  }
}

.form-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #0f172a;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ── Modern Tabs ── */
.nav-tabs-wrapper {
  display: flex;
  background: #f1f5f9;
  border-radius: 14px;
  padding: 5px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.04);
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
  gap: 6px;
}

.tab-btn {
  flex: 1;
  text-align: center;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #64748b;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-btn:hover {
  color: #0284c7;
  background: rgba(255, 255, 255, 0.6);
}

.tab-btn.active {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32);
}

/* ── Grid & Form Elements ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group label .text-danger {
  color: #ef4444;
}

.form-control, input.form-control, select.form-control, textarea.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  transition: all 0.2s !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.form-control:focus {
  outline: none !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
  background-color: #ffffff !important;
}

textarea.form-control {
  resize: vertical;
  min-height: 85px;
}

/* ── Primary Buttons ── */
.btn-submit {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3) !important;
  transition: all 0.2s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.38) !important;
  color: #ffffff !important;
}

/* ── Status Badges & Proposal Items ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-pending {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-approved {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.badge-purchased {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-rejected {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.proposal-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
  transition: all 0.2s;
}

.proposal-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.proposal-item h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.proposal-meta {
  font-size: 12px;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}

.proposal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ── Certificate Verification ── */
.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.search-box input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 14px;
  font-family: monospace;
  text-transform: uppercase;
}

.search-box input:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-box button {
  padding: 0 24px;
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.search-box button:hover {
  opacity: 0.95;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  padding: 8px 18px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 20px;
}

.cert-display {
  background: #fffdf5;
  border: 2px solid #fbbf24;
  border-radius: 18px;
  padding: 30px;
  position: relative;
  text-align: center;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.08);
}

.cert-title {
  font-size: 24px;
  font-weight: 800;
  color: #78350f;
  margin-bottom: 4px;
}

.cert-num {
  font-family: monospace;
  font-size: 13px;
  color: #92400e;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.recipient-name {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  border-bottom: 2px solid #b45309;
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 12px;
}

.cert-category {
  font-size: 13px;
  font-weight: 700;
  color: #059669;
  background: #d1fae5;
  padding: 4px 14px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 14px;
}

.cert-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.details-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  margin-top: 18px;
}

.details-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.details-table td:first-child {
  color: #64748b;
  font-weight: 600;
  width: 40%;
}

.details-table td:last-child {
  color: #0f172a;
  font-weight: 700;
}

.btn-print {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

.btn-print:hover {
  opacity: 0.95;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ── Leaderboard Styles ── */
.hero-card {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%) !important;
  color: #ffffff !important;
  padding: 32px 28px !important;
  border-radius: 20px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.25) !important;
  position: relative;
  overflow: hidden;
}

.top-badge {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #78350f;
  border: 2px solid #f59e0b;
  padding: 22px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.18);
}

.rank-card {
  background: #ffffff !important;
  border-radius: 18px !important;
  border: 1px solid #e2e8f0 !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
  padding: 0 !important;
}

.rank-row {
  display: flex;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid #f1f5f9;
  gap: 16px;
  transition: background 0.15s;
}

.rank-row:hover {
  background: #f8fafc;
}

.rank-num {
  font-size: 18px;
  font-weight: 800;
  width: 40px;
  text-align: center;
}

.badge-diamond {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.badge-gold {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-silver {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.badge-bronze {
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

/* ── Shelf Map Styles ── */
.call-search-box {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.input-call {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s;
}

.input-call:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn-search {
  padding: 12px 24px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.btn-search:hover {
  opacity: 0.95;
}

.matched-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid #3b82f6;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.floorplan-wrap {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.shelf-tile {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 14px !important;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.shelf-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: #38bdf8;
}

.shelf-tile.highlighted {
  background: #eff6ff;
  border-color: #2563eb !important;
  transform: scale(1.04);
  animation: pulse-shelf 1.8s infinite;
}

.shelf-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}

.facility-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.facility-pill {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Digital Member Card (3D Scene) ── */
.theme-picker {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.theme-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: all 0.2s;
}

.theme-dot.active {
  transform: scale(1.25);
  box-shadow: 0 0 0 3px #0284c7;
}

.dot-blue { background: #1e3a8a; }
.dot-green { background: #064e3b; }
.dot-gold { background: #78350f; }
.dot-violet { background: #4c1d95; }

.card-scene {
  width: 360px;
  max-width: 100%;
  height: 226px;
  perspective: 1200px;
  margin: 0 auto 24px;
}

.card-flipper {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: 18px;
}

.card-scene.is-flipped .card-flipper {
  transform: rotateY(180deg);
}

.card-side {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  border-radius: 18px;
  padding: 18px 20px;
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.theme-blue { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0284c7 100%); }
.theme-green { background: linear-gradient(135deg, #064e3b 0%, #059669 60%, #10b981 100%); }
.theme-gold { background: linear-gradient(135deg, #1c1917 0%, #44403c 50%, #78350f 100%); }
.theme-violet { background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #db2777 100%); }

.card-back {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  transform: rotateY(180deg);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.lib-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lib-logo-circle {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.lib-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.lib-sub {
  font-size: 9px;
  opacity: 0.8;
}

.kta-label {
  font-size: 9px;
  font-weight: 800;
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.card-middle {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0;
}

.member-avatar {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.4);
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.avatar-initials {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

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

.member-name {
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  margin-bottom: 2px;
}

.member-id-tag {
  font-size: 10px;
  font-family: monospace;
  opacity: 0.9;
  margin-bottom: 4px;
}

.member-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
  font-size: 9.5px;
  opacity: 0.88;
}

.meta-val {
  font-weight: 700;
  color: #ffffff;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.barcode-container {
  flex: 1;
  text-align: left;
}

.barcode-caption {
  font-size: 8px;
  font-family: monospace;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-top: 2px;
}

.qr-thumb {
  flex-shrink: 0;
  margin-left: 8px;
}

.back-rules {
  font-size: 9px;
  line-height: 1.45;
  opacity: 0.9;
  margin: 10px 0;
}

.back-rules ol {
  padding-left: 14px;
  margin: 0;
}

.back-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 9px;
}

.head-signature {
  text-align: right;
}

.sig-space {
  height: 22px;
}

.sig-name {
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}

.sig-nip {
  font-size: 8px;
  opacity: 0.75;
}

.action-panel {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-action-row {
  display: flex;
  gap: 10px;
}

.btn-app {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.2s;
}

.btn-flip {
  background: #ffffff;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-flip:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.btn-download {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-download:hover {
  opacity: 0.95;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

.btn-back-opac {
  background: transparent;
  color: #64748b !important;
  border: 1.5px solid #e2e8f0;
}

.btn-back-opac:hover {
  background: #ffffff;
  color: #0f172a !important;
  border-color: #cbd5e1;
}


/* ── Digital Card Specific Styles ── */
.app-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 24px;
}

.app-header h1 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin-top: 6px;
}

.app-header p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.badge-official {
  background: #e0f2fe !important;
  border: 1px solid #bae6fd !important;
  color: #0369a1 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  padding: 4px 14px !important;
  border-radius: 20px !important;
  display: inline-block !important;
  margin-bottom: 6px !important;
  text-transform: uppercase !important;
}

.search-card input[type="text"], .search-card input:not([type="submit"]) {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 14px;
  background: #ffffff;
  color: #0f172a;
}

.search-card input[type="text"]:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}


/* ==========================================================================
   PREMIUM BY EMON: THEME ENHANCEMENTS (DARK MODE, ANNOUNCEMENT, LIVE SEARCH)
   ========================================================================== */

/* Top Announcement Bar */
.emon-announcement-bar {
  background: linear-gradient(90deg, #0369a1 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 1000;
}
.emon-announcement-tag {
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.emon-announcement-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.emon-announcement-close:hover {
  color: #ffffff;
}

/* Theme Toggle Button */
.emon-theme-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50% !important;
  width: 36px;
  height: 36px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  cursor: pointer;
  transition: all 0.2s ease;
}
.emon-theme-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

/* Filter Chips below Search Input */
.emon-search-chips {
  position: relative;
  z-index: 10;
}
.emon-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 50px;
  color: #334155 !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}
.emon-chip i {
  color: #0284c7;
  transition: color 0.2s ease;
}
.emon-chip:hover {
  background: #f0f9ff !important;
  border-color: #38bdf8 !important;
  color: #0284c7 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}
.emon-chip.active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.emon-chip.active i {
  color: #ffffff !important;
}
.emon-chip-highlight {
  background: #fffbeb !important;
  border-color: #f59e0b !important;
  color: #b45309 !important;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15);
}
.emon-chip-highlight i {
  color: #d97706 !important;
}
.emon-chip-highlight:hover {
  background: #f59e0b !important;
  border-color: #d97706 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}
.emon-chip-highlight:hover i {
  color: #ffffff !important;
}

/* Live Auto-Complete Dropdown */
.emon-live-search-box {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  z-index: 9999;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  max-height: 480px;
  overflow-y: auto;
}
.emon-ls-header {
  padding: 10px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.emon-ls-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.emon-ls-item:hover {
  background: #f0f9ff;
}
.emon-ls-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  flex: 1;
  color: inherit;
  min-width: 0;
}
.emon-ls-thumb {
  width: 42px;
  height: 58px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}
.emon-ls-thumb-fallback {
  width: 42px;
  height: 58px;
  background: #e2e8f0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.emon-ls-meta {
  min-width: 0;
}
.emon-ls-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.emon-ls-author, .emon-ls-call {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.emon-ls-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-left: 14px;
  flex-shrink: 0;
}
.emon-ls-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}
.badge-avail {
  background: #dcfce7;
  color: #166534;
}
.badge-loaned {
  background: #fee2e2;
  color: #991b1b;
}
.emon-btn-qv {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 2px 9px !important;
  border-radius: 6px !important;
  cursor: pointer;
}
.emon-ls-footer {
  padding: 10px 16px;
  background: #f8fafc;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
}

/* Quick View Modal */
.emon-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.emon-modal-dialog {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
}
.emon-modal-content {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.emon-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
}
.emon-modal-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}
.emon-modal-close {
  background: transparent;
  border: none;
  font-size: 26px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
}
.emon-modal-close:hover {
  color: #ef4444;
}
.emon-modal-body {
  padding: 24px;
}
.emon-qv-cover {
  width: 130px;
  height: 185px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}
.emon-qv-cover-empty {
  width: 130px;
  height: 185px;
  background: #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #94a3b8;
}

/* ==================== DARK MODE PALETTE (SLATE 900) ==================== */
html.dark-theme, html.dark-theme body {
  background-color: #0b1120 !important;
  color: #e2e8f0 !important;
}

html.dark-theme body.bg-grey-lightest {
  background-color: #0b1120 !important;
}

/* Navbar */
html.dark-theme .navbar {
  background-color: rgba(15, 23, 42, 0.95) !important;
  border-bottom: 1px solid #1e293b;
}
html.dark-theme .navbar-dark .navbar-nav .nav-link {
  color: #cbd5e1 !important;
}
html.dark-theme .navbar-dark .navbar-nav .nav-link:hover,
html.dark-theme .navbar-dark .navbar-nav .active > .nav-link {
  color: #38bdf8 !important;
}

/* Cards & Containers in Dark Mode */
html.dark-theme .card,
html.dark-theme .card.item,
html.dark-theme .emon-service-card,
html.dark-theme .emon-detail-box,
html.dark-theme .emon-reviews-box,
html.dark-theme .emon-related-box,
html.dark-theme .s-item-detail,
html.dark-theme .advanced-wraper,
html.dark-theme .dropdown-menu {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

html.dark-theme .card-header,
html.dark-theme .card-footer {
  background-color: #162032 !important;
  border-color: #334155 !important;
}

html.dark-theme .text-secondary,
html.dark-theme .text-muted,
html.dark-theme .service-desc,
html.dark-theme .emon-services-sub {
  color: #94a3b8 !important;
}

html.dark-theme h1, html.dark-theme h2, html.dark-theme h3,
html.dark-theme h4, html.dark-theme h5, html.dark-theme h6,
html.dark-theme .service-name, html.dark-theme .emon-services-title {
  color: #f8fafc !important;
}

/* Inputs & Form controls in Dark Mode */
html.dark-theme input[type="text"],
html.dark-theme input[type="password"],
html.dark-theme select,
html.dark-theme textarea,
html.dark-theme .form-control {
  background-color: #0f172a !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}
html.dark-theme .input-transparent {
  color: #f8fafc !important;
}

/* Search card in Dark Mode */
html.dark-theme #search-wraper .card {
  background-color: #1e293b !important;
  border: 1px solid #334155 !important;
}

/* Live Search in Dark Mode */
html.dark-theme .emon-live-search-box {
  background: #1e293b;
  border-color: #334155;
}
html.dark-theme .emon-ls-header {
  background: #162032;
  border-color: #334155;
  color: #94a3b8;
}
html.dark-theme .emon-ls-item {
  border-color: #334155;
}
html.dark-theme .emon-ls-item:hover {
  background: #253349;
}
html.dark-theme .emon-ls-thumb-fallback {
  background: #334155;
}
html.dark-theme .emon-ls-title {
  color: #f8fafc;
}
html.dark-theme .emon-ls-author, html.dark-theme .emon-ls-call {
  color: #94a3b8;
}
html.dark-theme .badge-avail {
  background: #064e3b;
  color: #6ee7b7;
}
html.dark-theme .badge-loaned {
  background: #7f1d1d;
  color: #fca5a5;
}
html.dark-theme .emon-ls-footer {
  background: #162032;
}

/* Quick View Modal in Dark Mode */
html.dark-theme .emon-modal-content {
  background: #1e293b;
  border: 1px solid #334155;
  color: #e2e8f0;
}
html.dark-theme .emon-modal-header {
  border-color: #334155;
}
html.dark-theme .emon-modal-title {
  color: #f8fafc;
}
html.dark-theme .emon-qv-cover-empty {
  background: #334155;
  color: #64748b;
}

/* Mobile Bottom Nav in Dark Mode */
html.dark-theme .emon-mobile-nav {
  background: #0f172a !important;
  border-top-color: #334155 !important;
}
html.dark-theme .emon-nav-item {
  color: #94a3b8 !important;
}
html.dark-theme .emon-nav-item.active,
html.dark-theme .emon-nav-item:hover {
  color: #38bdf8 !important;
}

/* Filter Chips in Dark Mode */
html.dark-theme .emon-chip {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
html.dark-theme .emon-chip i {
  color: #38bdf8;
}
html.dark-theme .emon-chip:hover {
  background: #27354a !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}
html.dark-theme .emon-chip.active {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.45);
}
html.dark-theme .emon-chip.active i {
  color: #ffffff !important;
}
html.dark-theme .emon-chip-highlight {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: #b45309 !important;
  color: #fde68a !important;
}
html.dark-theme .emon-chip-highlight i {
  color: #fbbf24 !important;
}
html.dark-theme .emon-chip-highlight:hover {
  background: #d97706 !important;
  border-color: #f59e0b !important;
  color: #ffffff !important;
}
html.dark-theme .emon-chip-highlight:hover i {
  color: #ffffff !important;
}

