/*# sourceMappingURL=custom.min.css.map */
/* ===== GLOBAL LOADING OVERLAY ===== */
#overlay-spinner {
  position: fixed;
  inset: 0;
  z-index: 9999;

  /* GELAP TRANSLUCENT */
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);

  display: flex;
  align-items: center;
  justify-content: center;
}

/* hidden state */
#overlay-spinner.d-none {
  display: none !important;
}

/* ===== SPINNER CARD ===== */
.spinner-center {
  background: rgba(255, 255, 255, 0.95);
  padding: 24px 28px;
  border-radius: 12px;
  text-align: center;
  min-width: 160px;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  animation: spinnerFade 0.25s ease-out;
}

/* ICON */
.spinner-center i {
  font-size: 36px;
  color: #0d6efd;
}

/* TEXT */
.spinner-text {
  margin-top: 8px;
  font-size: 14px;
  color: #444;
  font-weight: 500;
}

/* ===== ANIMATION ===== */
@keyframes spinnerFade {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ribbon {
  padding-right: 15px;
}

.select2-container .select2-selection--single {
  height: 38px !important;
  /* tinggi standar form-control */
  line-height: 38px !important;
}

.select2-selection__rendered {
  line-height: 36px !important;
}

.select2-selection__arrow {
  height: 36px !important;
}

.select2-container--disabled .select2-selection {
  background-color: #f8f9fa !important;
  cursor: not-allowed !important;
}

/* === Submenu ke kiri === */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  right: 100%;
  /* arah ke kiri */
  left: auto;
  margin-top: -0.125rem;
  margin-right: 0.1rem;
}

/* Tanda panah kanan untuk item yang punya submenu */
.dropdown-item.dropdown-toggle::after {
  float: right;
  content: "›";
}

/* Hover agar submenu langsung muncul */
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.modal-xxl {
  max-width: 95% !important; /* Hampir full-screen */
}
.soap-cell {
  font-size: 0.9rem;
  line-height: 1.6;
}

.soap-block {
  margin-bottom: 12px;
}

.soap-title {
  font-weight: 600;
  color: #0d6efd;
  margin-bottom: 4px;
}

.soap-label {
  font-weight: normal;
  color: #6c757d;
  font-size: 0.85rem;
}

.soap-content {
  padding-left: 12px;
  white-space: normal;
}

.pin-container {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pin-box {
  width: 45px;
  height: 55px;
  border: 2px solid #ddd;
  text-align: center;
  font-size: 24px;
  border-radius: 6px;
}

.pin-box:focus {
  border-color: #4CAF50;
  outline: none;
}

.soap-entry {
  border-left: 4px solid #066b5e;
}

.soap-title {
  font-size: 13px;
  letter-spacing: 0.5px;
}

.soap-content {
  padding: 4px 0 6px 0;
  line-height: 1.5;
  white-space: normal;
}

.med-section {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 18px;
}

.med-header {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 700;
  padding: 12px 16px;
  font-size: 18px;
  color: #1e293b;
}

.med-body {
  padding: 16px;
  font-size: 16px;
}

.med-row {
  display: flex;
  margin-bottom: 10px;
}

.med-label {
  width: 40%;
  font-weight: 600;
  color: #475569;
}

.med-value {
  width: 60%;
  font-weight: 500;
  color: #0f172a;
}

.vital-box {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  background: #f9fafb;
}

.vital-value {
  font-size: 28px;
  font-weight: 700;
}

.vital-label {
  font-size: 14px;
  color: #64748b;
}

.table {
  font-size: 15px;
}


