/* ===== iBantuan YPS – Corporate Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --primary: #B30000;
  --primary-hover: #8F0000;
  --primary-light: #FFE5E5;
  --accent: #E04B4B;
  --bg: #F4F5F7;
  --card: #FFFFFF;
  --success: #2E7D32;
  --success-bg: #E8F5E9;
  --warning: #F9A825;
  --warning-bg: #FFFDE7;
  --danger: #C62828;
  --danger-bg: #FFEBEE;
  --info: #1565C0;
  --info-bg: #E3F2FD;
  --sidebar-bg: #1A0000;
  --sidebar-hover: #2D0000;
  --sidebar-active: #B30000;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.06);
  --radius: 10px;
  --radius-sm: 6px;
  --transition: all 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== LOGIN PAGE ===== */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1A0000 0%, #B30000 50%, #E04B4B 100%);
  position: relative;
  overflow: hidden;
}

.login-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
}

.login-card {
  background: white;
  border-radius: 20px;
  padding: 48px 44px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo-circle {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 30px;
  box-shadow: 0 8px 20px rgba(179,0,0,0.3);
}

.login-logo h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.login-logo p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #FAFAFA;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(179,0,0,0.1);
}

.form-group { margin-bottom: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  font-size: 15px;
}

.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(179,0,0,0.3); }

.btn-secondary { background: var(--bg); color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { background: var(--border); }

.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #1B5E20; }

.btn-warning { background: var(--warning); color: #333; }
.btn-warning:hover { background: #F57F17; }

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #B71C1C; }

.btn-info { background: var(--info); color: white; }
.btn-info:hover { background: #0D47A1; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-lg { padding: 12px 28px; font-size: 15px; }
.btn-icon { padding: 8px; }

/* ===== LAYOUT ===== */
#app { display: flex; min-height: 100vh; }

.sidebar {
  width: 256px;
  min-height: 100vh;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  left: 0; top: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-brand {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), #FF6B6B);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.brand-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: white;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-text span {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sidebar-user {
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  margin: 12px 12px 0;
  border-radius: var(--radius-sm);
}

.sidebar-user-name {
  font-size: 13px;
  font-weight: 600;
  color: white;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
  display: block;
}

.sidebar-nav { padding: 12px 0; flex: 1; }

.nav-section {
  padding: 0 12px;
  margin-bottom: 4px;
}

.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 8px 4px;
  display: block;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 2px;
  font-size: 13.5px;
  font-weight: 500;
}

.nav-item:hover {
  background: var(--sidebar-hover);
  color: rgba(255,255,255,0.9);
}

.nav-item.active {
  background: var(--primary);
  color: white;
}

.nav-item .nav-icon {
  width: 20px;
  text-align: center;
  font-size: 15px;
  flex-shrink: 0;
}

.nav-badge {
  margin-left: auto;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
}

.sidebar-footer {
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-footer .nav-item {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  margin-left: 256px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  height: 60px;
  background: white;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}

.topbar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.topbar-breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-actions { display: flex; align-items: center; gap: 12px; }

.topbar-notification {
  width: 36px; height: 36px;
  background: var(--bg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 17px;
  position: relative;
  border: 1px solid var(--border);
}

.notification-dot {
  position: absolute;
  top: 7px; right: 7px;
  width: 8px; height: 8px;
  background: var(--danger);
  border-radius: 50%;
  border: 2px solid white;
}

.page-content { padding: 24px; flex: 1; }

/* ===== CARDS ===== */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.card-body { padding: 20px; }

/* ===== STAT CARDS ===== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: var(--transition);
}

.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, var(--primary));
}

.stat-icon {
  width: 44px; height: 44px;
  background: var(--card-accent-bg, var(--primary-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-change {
  font-size: 11px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.stat-up { color: var(--success); }
.stat-down { color: var(--danger); }

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== TABLE ===== */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table { width: 100%; border-collapse: collapse; }

thead th {
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #F9FAFB;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 13.5px;
  vertical-align: middle;
}

tbody tr:hover { background: #FAFAFA; }
tbody tr:last-child td { border-bottom: none; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 24px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 9px; top: 16px; bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-dot {
  position: absolute;
  left: -20px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--border);
}

.timeline-dot.green { background: var(--success); box-shadow: 0 0 0 2px var(--success-bg); }
.timeline-dot.orange { background: var(--warning); box-shadow: 0 0 0 2px var(--warning-bg); }
.timeline-dot.red { background: var(--danger); box-shadow: 0 0 0 2px var(--danger-bg); }
.timeline-dot.blue { background: var(--info); box-shadow: 0 0 0 2px var(--info-bg); }

.timeline-content {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.timeline-title { font-size: 13px; font-weight: 600; }
.timeline-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}

.tab {
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.tab:hover { color: var(--primary); background: var(--primary-light); }

.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  transform: translateY(20px);
  transition: transform 0.2s;
}

.modal-overlay.open .modal { transform: translateY(0); }
.modal-lg { max-width: 900px; }

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: white; z-index: 1;
  border-radius: 16px 16px 0 0;
}

.modal-close {
  width: 32px; height: 32px;
  background: var(--bg);
  border: none; border-radius: 6px;
  cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.modal-close:hover { background: var(--danger-bg); color: var(--danger); }

.modal-body { padding: 24px; }

/* ===== SEARCH & FILTER ===== */
.search-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.search-input-wrap .search-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 15px;
}

.search-input-wrap .form-control {
  padding-left: 36px;
}

/* ===== DANA PROGRESS BAR ===== */
.dana-progress {
  background: #F3F4F6;
  border-radius: 20px;
  height: 8px;
  overflow: hidden;
  margin: 8px 0;
}

.dana-progress-bar {
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.8s ease;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

.empty-state h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.empty-state p { font-size: 13px; color: var(--text-muted); }

/* ===== ALERT / NOTICE ===== */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.alert-warning { background: var(--warning-bg); color: #7A4F00; border-left: 3px solid var(--warning); }
.alert-info { background: var(--info-bg); color: #0D3880; border-left: 3px solid var(--info); }
.alert-success { background: var(--success-bg); color: #1B5E20; border-left: 3px solid var(--success); }
.alert-danger { background: var(--danger-bg); color: #B71C1C; border-left: 3px solid var(--danger); }

/* ===== DOKUMEN CHIP ===== */
.doc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin: 4px;
}

.doc-chip:hover { border-color: var(--primary); color: var(--primary); }
.doc-chip.verified { border-color: var(--success); background: var(--success-bg); color: var(--success); }
.doc-chip.pending { border-color: var(--warning); background: var(--warning-bg); color: #7A4F00; }

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.gap-16 { gap: 16px !important; }

/* ===== DETAIL INFO ===== */
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid #F3F4F6;
  gap: 16px;
}

.info-row:last-child { border-bottom: none; }

.info-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.info-value {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

/* ===== KOMENTAR ===== */
.komen-item {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 12px;
}

.komen-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.komen-dari { font-size: 13px; font-weight: 700; color: var(--primary); }
.komen-masa { font-size: 11px; color: var(--text-muted); }
.komen-teks { font-size: 13px; color: var(--text); }

/* ===== CHART PLACEHOLDER ===== */
.chart-placeholder {
  background: var(--bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
}

/* ===== PAGE TRANSITIONS ===== */
.page-enter {
  animation: pageEnter 0.25s ease;
}

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== PORTAL ===== */
.portal-hero {
  background: linear-gradient(135deg, #1A0000 0%, #B30000 60%, #E04B4B 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.portal-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
}

.portal-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.portal-hero p {
  font-size: 18px;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 32px;
}

.portal-nav {
  background: #1A0000;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.portal-nav-logo {
  font-family: 'DM Serif Display', serif;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-nav-links { display: flex; gap: 24px; }

.portal-nav-link {
  color: rgba(255,255,255,0.7);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  padding: 4px 0;
}

.portal-nav-link:hover { color: white; }

/* ===== CONFIG ITEMS ===== */
.config-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.config-item:last-child { border-bottom: none; }
.config-item:hover { background: #FAFAFA; }

.config-item-info { flex: 1; }
.config-item-name { font-size: 14px; font-weight: 600; }
.config-item-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ===== TOGGLE ===== */
.toggle {
  position: relative;
  width: 40px; height: 22px;
  cursor: pointer;
}

.toggle input { display: none; }

.toggle-slider {
  position: absolute; inset: 0;
  background: #CBD5E0;
  border-radius: 22px;
  transition: 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle input:checked + .toggle-slider { background: var(--success); }
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #9CA3AF; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .main-content { margin-left: 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ===== UTILITY ===== */
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--text-muted); }
.text-bold { font-weight: 700; }
.text-sm { font-size: 12px; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }

/* ===== BAR CHART DEMO ===== */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 160px;
  padding: 0 8px;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 6px;
}

.bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  transition: height 0.8s ease;
  position: relative;
  cursor: pointer;
}

.bar:hover { opacity: 0.85; }
.bar-val { font-size: 10px; font-weight: 700; color: var(--text-muted); }
.bar-label { font-size: 9px; color: var(--text-muted); text-align: center; white-space: nowrap; }

/* ===== DONUT CHART ===== */
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.donut-legend { flex: 1; }

.donut-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}

.donut-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== WORKFLOW FLOW ===== */
.flow-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 20px 0;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.flow-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

.flow-arrow {
  font-size: 20px;
  color: #CBD5E0;
  padding: 0 8px;
  align-self: center;
  margin-bottom: 30px;
}

.flow-label { font-size: 11px; font-weight: 600; text-align: center; max-width: 80px; color: var(--text-muted); }
.flow-sublabel { font-size: 10px; color: var(--text-muted); text-align: center; max-width: 80px; }
