/* Tambahan style BiCare di atas template NiceAdmin (dimuat sebelum theme.css).
   Jangan menulis warna di sini - pakai token var(--bc-*) dari theme.css. */

:root {
  font-size: 15px;
}

/* ---------- header ---------- */
.header {
  height: 56px;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo span {
  font-size: 22px;
  letter-spacing: 0.02em;
}

/* Nama praktik / pemilih tenant di header */
.header-nav .tenant-switch {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .tenant-switch .tenant-kode {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
}

.header-nav .dropdown-tenant {
  min-width: 280px;
  max-height: 70vh;
  overflow-y: auto;
}

/* ---------- sidebar: heading seksi (divider) ---------- */
.sidebar {
  top: 56px;
  padding: 16px;
}

.sidebar-nav .nav-item {
  margin-bottom: 3px;
}

.sidebar-nav .nav-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin: 16px 0 6px 6px;
}

.sidebar-nav .nav-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.25;
}

.sidebar-nav .nav-link {
  font-size: 14px;
  padding: 9px 14px;
}

.sidebar-nav .nav-content a {
  font-size: 13.5px;
  padding: 8px 0 8px 38px;
}

#main {
  margin-top: 56px;
}

/* ---------- konten ---------- */
.table {
  font-size: 0.85rem;
}

.table thead th {
  white-space: nowrap;
}

.text-uang {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.select2-container--open {
  z-index: 1075;
}

/* Ringkasan pasien di atas form EMR / billing / resep */
.pasien-ringkas {
  border-radius: 6px;
  padding: 10px 14px;
}

.pasien-ringkas .nama {
  font-size: 1.05rem;
  font-weight: 700;
}

.pasien-ringkas .no-rm {
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}

.vital-chip {
  display: inline-block;
  border-radius: 20px;
  padding: 2px 10px;
  margin: 0 4px 4px 0;
  font-size: 0.8rem;
}

.soap-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 700;
  margin-right: 6px;
}

.timeline-emr .item {
  position: relative;
  padding: 0 0 14px 18px;
  border-left: 2px solid;
  margin-left: 6px;
}

.timeline-emr .item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* Kartu antrian */
.antrian-nomor {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.antrian-card {
  border: 2px solid transparent;
}

/* ---------- layar antrian (layouts/display) ---------- */
.display-page {
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
}

.display-page .panel {
  border-radius: 18px;
  padding: 24px;
}

.display-page .nomor-utama {
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 700;
  line-height: 1;
}

.display-page .berikut .kode {
  display: inline-block;
  min-width: 90px;
  padding: 6px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.4rem;
  text-align: center;
}

.display-page .jam {
  font-size: 2.2rem;
  font-weight: 600;
}

/* ---------- halaman login ---------- */
.auth-page #captcha::placeholder,
.auth-page #kode_praktik::placeholder {
  text-transform: none;
}

.auth-page .auth-logo {
  width: 72px;
  height: 72px;
}

.auth-page .auth-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
}

.auth-page .card {
  border: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Layar antrian: overlay aktivasi suara & kedip nomor baru */
.display-page .overlay-suara {
  position: fixed;
  inset: 0;
  z-index: 1080;
  cursor: pointer;
}

.display-page .nomor-utama.kedip {
  animation: kedip-nomor 0.6s ease-in-out 4;
}

@keyframes kedip-nomor {
  50% { opacity: 0.25; transform: scale(0.96); }
}

/* Halaman status antrian pasien (ponsel) */
.antrian-saya .nomor-besar {
  font-family: "Poppins", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
}
