/* ============================================================
   SPBU Manager — Custom CSS
   Edit file ini untuk kustomisasi tampilan.
   File ini di-import di src/app/layout.tsx
   ============================================================ */

/* ----------------------------------------------------------
   SIDEBAR
   ---------------------------------------------------------- */
.navbar-brand-text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  padding: 1rem 0.75rem 0.25rem;
  display: block;
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.12) !important;
  border-radius: 4px;
}

/* ----------------------------------------------------------
   TOPBAR / HEADER
   ---------------------------------------------------------- */
/* Contoh: ubah tinggi topbar */
/* .navbar { min-height: 60px; } */

/* ----------------------------------------------------------
   PAGE HEADER
   ---------------------------------------------------------- */
/* .page-header { background: #fff; border-bottom: 1px solid #e6e7e9; } */
/* .page-title { font-size: 1.25rem; font-weight: 700; } */

/* ----------------------------------------------------------
   CARDS
   ---------------------------------------------------------- */
/* .card { border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); } */

/* ----------------------------------------------------------
   TABEL & FORM INPUT
   ---------------------------------------------------------- */
.teller-input { width: 120px; }
.input-auto { background: #f4f6fa !important; }
.input-calc { background: #f0fff4 !important; font-weight: 600; }

/* ----------------------------------------------------------
   REKONSILIASI / STOK
   ---------------------------------------------------------- */
.variance-positive { color: #2fb344; font-weight: 600; }
.variance-negative { color: #d63939; font-weight: 600; }

/* ----------------------------------------------------------
   ROLES & PERMISSION MATRIX
   ---------------------------------------------------------- */
.perm-table th { text-align: center; font-size: 0.75rem; }
.perm-table th:first-child { text-align: left; }
.perm-table td:first-child { font-weight: 500; }
.perm-check { text-align: center; vertical-align: middle; }

.module-group-header td {
  background: #f4f6fa;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c757d;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

/* ----------------------------------------------------------
   BADGE PRODUK BBM
   ---------------------------------------------------------- */
/* Warna badge bisa di-override di sini */
/* .badge.bg-blue { background-color: #206bc4 !important; } */

/* ----------------------------------------------------------
   MODAL
   ---------------------------------------------------------- */
/* .modal-content { border-radius: 10px; } */

/* ----------------------------------------------------------
   SETTINGS TABS
   ---------------------------------------------------------- */
.card-header-tabs { gap: 2px; }
.card-header-tabs .nav-link {
  border-radius: 4px 4px 0 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
}

/* ----------------------------------------------------------
   KALIBRASI TABLE
   ---------------------------------------------------------- */
/* .kalibrasi-table input { font-size: 0.85rem; } */

/* ----------------------------------------------------------
   ANOMALI STATUS BADGES
   ---------------------------------------------------------- */
.badge-anomali-new      { background: #d63939; color: #fff; }
.badge-anomali-invest   { background: #f76707; color: #fff; }
.badge-anomali-closed   { background: #2fb344; color: #fff; }
.badge-anomali-fp       { background: #6c757d; color: #fff; }

/* ----------------------------------------------------------
   RESPONSIVE HELPERS
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  .page-title { font-size: 1rem; }
  .card-header-tabs { overflow-x: auto; }
}

.badge {
   color: white;
}
/* ----------------------------------------------------------
   PUMP-kun chat bubble
   ---------------------------------------------------------- */
@keyframes pump-kun-bounce {
  0%, 100% { transform: translateY(0); }
  25%       { transform: translateY(-10px); }
  50%       { transform: translateY(0); }
  75%       { transform: translateY(-5px); }
}
.pump-kun-bounce {
  animation: pump-kun-bounce 0.6s ease infinite;
}
