body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background-color: #f5f5f5;
  color: #2e2e2e;
}

.navbar.navbar-default {
  background-color: #006064;
  background-image: linear-gradient(90deg, #006064 0%, #004D40 100%);
  border: none;
  border-bottom: 3px solid #FF6D00;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
.navbar.navbar-default .navbar-brand,
.navbar.navbar-default .nav > li > a,
.navbar-toggle.menu-toggler .icon-bar {
  color: #fff !important;
}
.navbar-toggle.menu-toggler .icon-bar { background-color: #fff !important; }
.navbar.navbar-default .navbar-brand { font-weight:700; letter-spacing:.4px; text-transform:uppercase; }
.navbar.navbar-default .nav > li > a { color:#E0F2F1 !important; font-weight:600; }
.navbar.navbar-default .nav > li > a:hover { background-color: rgba(255,255,255,0.08); color:#fff !important; }

.sidebar {
  background-color: #ffffff;
  border-right: 1px solid #e0e0e0;
}
.nav-list > li > a {
  background-color: transparent;
  color: #424242;
}
.nav-list > li > a { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.nav-list > li > a i.material-icons { font-size: 20px; color: #FF6D00; }
.nav-list .badge { background: #ff9800; color: #fff; }
.nav-list > li.active > a,
.nav-list > li > a:hover {
  background-color: #e8eaf6;
  color: #1a237e;
}
.nav-list > li.active > a:after { border-left-color: #e8eaf6; }

/* Sidebar compact overrides: keep icons and text visible - enhanced for Laporan menu */
.sidebar.compact .nav-list > li > a { min-width: auto !important; padding: 10px !important; }
.sidebar.compact .nav-list > li > a .menu-text { display: inline !important; margin-left: 8px !important; font-size: 14px !important; visibility: visible !important; }
.sidebar.compact .nav-list > li > a i.material-icons { display: inline-block !important; visibility: visible !important; opacity: 1 !important; font-size: 18px !important; }
.sidebar.compact .nav-list > li > a .fa-angle-down { display: inline-block !important; margin-left: 4px !important; }

/* Ensure menu text always visible, including dropdown headers like "Laporan" */
.sidebar .nav-list > li > a .menu-text { display: inline !important; visibility: visible !important; }
.sidebar.menu-min .nav-list > li > a .menu-text { display: inline !important; }
.sidebar .nav-list > li > a.dropdown-toggle .menu-text { display: inline !important; }

.submenu { padding-left: 44px; }
.submenu > li > a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: #424242; }
.submenu > li > a:hover { background: #f5f5f5; }

.page-header h1,
.widget-title,
.breadcrumb { color: #004D40; text-transform:uppercase; letter-spacing:.3px; }
.page-header { border-left:4px solid #FF6D00; padding-left:10px; }

.btn,
.badge,
.label {
  border-radius: 4px !important;
}
.btn-primary,
.btn-info,
.btn-success,
.btn-warning,
.btn-danger {
  background-color: #006064 !important;
  border-color: #004D40 !important;
}
.btn-primary:hover,
.btn-info:hover,
.btn-success:hover,
.btn-warning:hover,
.btn-danger:hover {
  background-color: #00796B !important;
  border-color: #00695C !important;
}

.breadcrumb { background: transparent; }
.footer { background: #fafafa; border-top: 1px solid #eee; }

.ace-nav > li > a { background-color: #FF6D00 !important; color: #fff !important; }
.ace-nav > li > a:hover { background-color: #F4511E !important; }

.form-control { box-shadow: none; border-color: #c5cae9; }
.form-control:focus { border-color: #3f51b5; }

table { background-color: #fff; }
th { background-color: #e8eaf6; color: #1a237e; }

/* Background utilities */
.bg-indigo { background-color: #3f51b5 !important; }
.bg-teal { background-color: #009688 !important; }
.bg-amber { background-color: #FFC107 !important; }
.bg-deep-orange { background-color: #FF5722 !important; }
.bg-red { background-color: #F44336 !important; }
.bg-blue { background-color: #2196F3 !important; }
.bg-purple { background-color: #673AB7 !important; }
.bg-green { background-color: #4CAF50 !important; }
.bg-grey { background-color: #9E9E9E !important; }
.text-white { color: #fff !important; }
.text-dark { color: #212121 !important; }

/* Table material style */
.table-material { border-radius: 6px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.table-material thead { border-bottom: 1px solid rgba(0,0,0,0.06); }
.table-material thead tr th { color: #fff; font-weight: 600; }
.table-material.table-hover > tbody > tr:hover { background-color: #f5f5f5; }

.login-page { min-height: 100vh; background-color:#f2f2f2; position: relative; }
.login-page::before { content:""; position: fixed; left:0; top:0; right:0; bottom:0; background: rgba(0,0,0,0.5); z-index:0; }
.login-box, .wide-box { position: relative; z-index: 1; }
.login-box { width: 420px; max-width: 95vw; margin: 40px auto; }
.login-logo { text-align:center; margin-bottom: 10px; }
.card { background: #fff; border: 1px solid #d6d8db; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.card-body { padding: 20px; }
.card.card-stat .card-body { display: flex; align-items: center; gap: 12px; }
.card.card-stat i.material-icons { font-size: 36px; color: #3f51b5; }
.card.card-stat .stat-count { font-size: 18px; font-weight: 600; }
.card.card-stat .stat-label { font-size: 12px; color: #616161; }
.space-10 { height:10px; }
.space-14 { height:14px; }
/* Utility and helper classes */
.logo-img { height:40px; vertical-align:middle; margin-right:6px; }
.login-tagline { font-size:12px; color:#6c757d; }
.wide-box { width:720px; max-width:95vw; margin:40px auto; }
.mt-3 { margin-top:1rem; }
.mb-3 { margin-bottom:1rem; }
.d-flex { display:flex; }
.justify-content-between { justify-content:space-between; }
.font-weight-bold { font-weight:700; }
.icon-24 { height:24px; vertical-align:middle; margin-right:6px; }
.list-card { list-style:none; padding:0; margin:0; border:1px solid #e0e0e0; border-radius:10px; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,0.06); }
.list-item { display:flex; align-items:center; padding:14px 18px; border-bottom:1px solid #eee; }
.list-item:last-child { border-bottom:0; }
.list-link { display:flex; align-items:center; color:inherit; text-decoration:none; width:100%; }
.avatar { width:40px; height:40px; border-radius:10px; object-fit:cover; margin-right:12px; border:2px solid #ECEFF1; }
.item-content { flex:1; }
.item-title { font-weight:700; color:#263238; letter-spacing:.2px; }
.item-subtitle { font-size:12px; color:#607D8B; }
.item-meta { display:flex; align-items:center; gap:8px; }
.item-value { font-weight:600; color:#2e2e2e; background:#ECEFF1; border-radius:12px; padding:2px 8px; }
.item-value.up { color:#006064; }
.item-value.down { color:#F44336; }
.item-value.neutral { color:#616161; }
.item-trend { display:flex; align-items:center; }
/* Header accent & tools */
.widget-header.accent { border-left:4px solid #FF6D00; padding-left:10px; border-radius:6px 6px 0 0; background: linear-gradient(90deg, #FFF3E0 0%, #FFFFFF 40%); }
.widget-toolbar .tool { color:#9E9E9E; margin-left:10px; }
.list-item:hover { background:#fafafa; }
/* Detail card styles */
.detail-card { background:#fff; border-top:1px solid #eee; padding:14px 16px; }
.detail-grid { display:grid; grid-template-columns: 160px 1fr; grid-column-gap:12px; grid-row-gap:8px; align-items:center; }
.detail-label { font-size:12px; color:#616161; }
.detail-value { font-weight:600; color:#2e2e2e; }
.help-button { display:inline-block; margin-left:6px; line-height:18px; }
.widget-main { padding: 16px; }
.form-section { padding-left: 24px; }
