/* AKADEMI MODERN BLUE THEME FOR SINERGI */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --akademi-blue: #4d7cfe;
  --akademi-blue-dark: #3763e0;
  --akademi-blue-hover: #3b6bef;
  --akademi-blue-light: #f0f4ff;
  --akademi-body-bg: #f4f6fa;
  --akademi-text-dark: #1e293b;
  --akademi-text-muted: #64748b;
  --akademi-orange: #fd7e14;
  --akademi-yellow: #f59e0b;
  --akademi-dark-blue: #1e293b;
  --akademi-card-radius: 14px;
}

html {
  font-size: 14px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  background-color: var(--akademi-body-bg) !important;
  color: #334155 !important;
  font-size: 0.875rem !important; /* ~13.5px */
  line-height: 1.5 !important;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY HIERARCHY */
h1, .h1 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
}

h2, .h2 {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: -0.015em !important;
}

h3, .h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
}

h4, .h4 {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
}

h5, .h5 {
  font-size: 0.835rem !important;
  font-weight: 600 !important;
}

h6, .h6 {
  font-size: 0.775rem !important;
  font-weight: 600 !important;
}

.content-header {
  padding: 10px 14px !important;
}

.content-header h1 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: -0.015em !important;
  margin: 0 !important;
}

.content-header .breadcrumb {
  font-size: 0.78rem !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

/* TOP NAVBAR (Minimalist Clean White / Light Gray matching Akademi) */
.main-header.itera-navbar {
  background: var(--akademi-body-bg) !important;
  border-bottom: none !important;
  color: #1a202c !important;
  padding: 12px 24px !important;
  box-shadow: none !important;
}

.main-header.itera-navbar .nav-link,
.main-header.itera-navbar .navbar-brand {
  color: #4a5568 !important;
  font-weight: 600 !important;
}

/* VIBRANT ROYAL BLUE SIDEBAR (Akademi Signature #4d7cfe) */
.main-sidebar.itera-sidebar,
.sidebar-light-primary.itera-sidebar {
  background-color: var(--akademi-blue) !important;
  border-right: none !important;
  box-shadow: 4px 0 20px rgba(77, 124, 254, 0.15) !important;
}

.main-sidebar.itera-sidebar .brand-link {
  background-color: var(--akademi-blue) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 1.25rem 1.25rem !important;
}

.brand-logo-badge {
  background: #ffffff;
  color: var(--akademi-blue);
  font-weight: 800;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.main-sidebar.itera-sidebar .brand-text strong {
  color: #ffffff !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
}

.brand-tag-red {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  margin-left: 6px;
}

/* User Panel in Blue Sidebar */
.user-panel {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 12px 14px !important;
  margin: 10px 12px 16px !important;
}

.user-panel .info a {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.user-panel .info small {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Sidebar Nav Items (Akademi White Text & Pill Active State) */
.itera-sidebar .nav-sidebar > .nav-item > .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  border-radius: 10px !important;
  margin: 3px 12px !important;
  padding: 10px 14px !important;
  font-weight: 500 !important;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.itera-sidebar .nav-sidebar > .nav-item > .nav-link i {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.05rem;
  margin-right: 12px;
}

.itera-sidebar .nav-sidebar > .nav-item > .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.itera-sidebar .nav-sidebar > .nav-item > .nav-link.active {
  background-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.itera-sidebar .nav-sidebar > .nav-item > .nav-link.active i {
  color: #ffffff !important;
}

/* Treeview inside Royal Blue Sidebar */
.itera-sidebar .nav-treeview > .nav-item > .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  border-radius: 8px !important;
  margin: 2px 8px !important;
  padding: 8px 12px !important;
  font-size: 0.86rem !important;
  transition: all 0.2s ease;
}

.itera-sidebar .nav-treeview > .nav-item > .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.itera-sidebar .nav-treeview > .nav-item > .nav-link.active {
  background-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* 3rd-level sub-submenu indentation and clean pill highlight */
.itera-sidebar .nav-treeview .nav-treeview {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  margin: 4px 6px;
  padding: 4px 0;
}

.itera-sidebar .nav-treeview .nav-treeview > .nav-item > .nav-link {
  font-size: 0.82rem !important;
  padding: 6px 12px 6px 14px !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.itera-sidebar .nav-treeview .nav-treeview > .nav-item > .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.itera-sidebar .nav-treeview .nav-treeview > .nav-item > .nav-link.active {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.nav-header {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  padding: 14px 18px 6px !important;
}

/* AKADEMI STAT CARDS (White rounded cards with circular icons) */
.stat-card-akademi {
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 20px 24px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
  border: none !important;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card-akademi:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(77, 124, 254, 0.1) !important;
}

.stat-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-right: 18px;
  flex-shrink: 0;
}

.stat-icon-blue {
  background-color: #4d7cfe;
  color: #ffffff;
}

.stat-icon-orange {
  background-color: #fb6340;
  color: #ffffff;
}

.stat-icon-yellow {
  background-color: #fbb140;
  color: #ffffff;
}

.stat-icon-navy {
  background-color: #1e293b;
  color: #ffffff;
}

.stat-label-akademi {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 2px;
}

.stat-value-akademi {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
}

/* GENERAL CARDS */
.card {
  border-radius: 14px !important;
  border: 1px solid #edf2f7 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
  background-color: #ffffff !important;
  margin-bottom: 1.25rem;
}

.card-header {
  background-color: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 0.9rem 1.25rem !important;
  border-radius: 14px 14px 0 0 !important;
}

.card-title {
  font-weight: 700 !important;
  color: #0f172a !important;
  font-size: 0.95rem !important;
  letter-spacing: -0.01em;
}

/* BUTTONS */
.btn {
  font-size: 0.815rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  letter-spacing: -0.005em;
}

.btn-primary, .btn-itera-gold {
  background-color: var(--akademi-blue) !important;
  border-color: var(--akademi-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(77, 124, 254, 0.2) !important;
}

.btn-primary:hover, .btn-itera-gold:hover {
  background-color: var(--akademi-blue-dark) !important;
  border-color: var(--akademi-blue-dark) !important;
}

.btn-sm {
  font-size: 0.76rem !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
}

.btn-xs {
  font-size: 0.72rem !important;
  padding: 2px 8px !important;
  border-radius: 5px !important;
}

.badge {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  letter-spacing: 0.01em;
}

.badge-primary, .badge-itera-red {
  background-color: var(--akademi-blue) !important;
  color: #ffffff !important;
}

/* TABLES */
.table {
  font-size: 0.835rem !important;
  color: #334155 !important;
}

.table th {
  border-top: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: #f8fafc !important;
  padding: 10px 14px !important;
}

.table td {
  padding: 11px 14px !important;
  vertical-align: middle !important;
  border-top: 1px solid #f1f5f9 !important;
  font-size: 0.835rem !important;
}

/* COMPACT REFERENCE STYLE (SESUAI CONTOH GAMBAR LOGBOOK TA & MONITORING) */
.compact-subhead-box {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
}

.compact-item-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.compact-item-badge i {
  color: var(--akademi-blue);
  font-size: 0.95rem;
  margin-right: 7px;
}

.compact-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.45;
  margin-top: 3px;
  letter-spacing: -0.005em;
}

.compact-item-meta {
  font-size: 0.775rem;
  color: #64748b;
  line-height: 1.4;
  margin-top: 2px;
}

/* HERO BANNER RESCALING */
.card.hero-blue-banner,
.hero-blue-banner {
  padding: 1.25rem 1.5rem !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%) !important;
  background-color: #1e40af !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2) !important;
}

.card.hero-blue-banner h1,
.hero-blue-banner h1 {
  font-size: 1.35rem !important;
  letter-spacing: -0.015em !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
}

.card.hero-blue-banner p,
.hero-blue-banner p {
  font-size: 0.84rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.45 !important;
}

.card.hero-blue-banner .hero-pill-badge,
.hero-blue-banner .hero-pill-badge {
  font-size: 0.68rem !important;
  padding: 3px 10px !important;
  margin-bottom: 0.5rem !important;
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  display: inline-block !important;
}

.card.hero-blue-banner .btn-light {
  color: #1e40af !important;
  background-color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
}

@media (min-width: 768px) {
  .content-wrapper,
  .main-header,
  .main-footer {
    margin-left: 250px !important;
  }
  body.sidebar-collapse .content-wrapper,
  body.sidebar-collapse .main-header,
  body.sidebar-collapse .main-footer {
    margin-left: 4.6rem !important;
  }
}




