@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ==========================================================================
   DESIGN TOKENS & SYSTEM VARIABLES (OPTIMIZED FOR HIGH READABILITY)
   ========================================================================== */
:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette - High Contrast & Eye Comfort */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-subtle: #dbeafe;
  --primary-glow: rgba(37, 99, 235, 0.35);

  --accent-cyan: #0891b2;
  --accent-cyan-light: #ecfeff;
  --accent-emerald: #059669;
  --accent-emerald-light: #ecfdf5;
  --accent-amber: #d97706;
  --accent-amber-light: #fffbeb;
  --accent-rose: #dc2626;
  --accent-rose-light: #fef2f2;
  --accent-purple: #7c3aed;
  --accent-purple-light: #f5f3ff;

  /* Backgrounds & Clean Surfaces */
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-translucent: rgba(255, 255, 255, 0.92);
  --bg-subtle: #f1f5f9;
  
  /* Text Contrast - Deep Warm Slates (Easy on the Eyes) */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-card: rgba(226, 232, 240, 0.9);
  --border-focus: #3b82f6;

  /* Sidebar Theme - Midnight Navy Glass */
  --sidebar-gradient: linear-gradient(180deg, #090e1a 0%, #0f172a 60%, #111a33 100%);
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-link: #94a3b8;
  --sidebar-link-hover: #ffffff;
  --sidebar-active-bg: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --sidebar-active-glow: 0 4px 18px rgba(37, 99, 235, 0.45);

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.04), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 28px -4px rgba(15, 23, 42, 0.08), 0 6px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 16px 32px -4px rgba(37, 99, 235, 0.12), 0 6px 14px -2px rgba(15, 23, 42, 0.05);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   GLOBAL RESET & COMFORTABLE READING TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg-app);
  background-image: 
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.035) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(8, 145, 178, 0.035) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-top: 0;
}

p {
  margin-bottom: 1.15rem;
  line-height: 1.75;
  color: var(--text-body);
}

b, strong {
  color: var(--text-main);
  font-weight: 700;
}

code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: #f1f5f9;
  color: #1e40af;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.layout {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* ==========================================================================
   SIDEBAR COMPONENT
   ========================================================================== */
.sidebar {
  width: 275px;
  background: var(--sidebar-gradient);
  border-right: 1px solid var(--sidebar-border);
  color: #dce6f7;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.brand {
  padding: 8px 10px 26px;
  border-bottom: 1px solid var(--sidebar-border);
  margin-bottom: 22px;
}

.brand-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo i {
  color: #38bdf8;
  font-size: 25px;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4));
}

.brand span {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.brand small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: #94a3b8;
  font-weight: 700;
  margin-top: 6px;
  text-transform: uppercase;
}

/* Sidebar Navigation */
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.sidebar nav a {
  color: var(--sidebar-link);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 13px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.sidebar nav a .nav-icon {
  font-size: 17px;
  color: #64748b;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
}

.sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--sidebar-link-hover);
  transform: translateX(4px);
}

.sidebar nav a:hover .nav-icon {
  color: #60a5fa;
  transform: scale(1.15);
}

.sidebar nav a.active {
  background: var(--sidebar-active-bg);
  color: #ffffff;
  font-weight: 600;
  box-shadow: var(--sidebar-active-glow);
}

.sidebar nav a.active .nav-icon {
  color: #ffffff;
}

.sidebar nav a.active::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Sidebar Footer */
.sidebar-foot {
  margin-top: auto;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--sidebar-border);
  border-radius: var(--radius-md);
  color: #94a3b8;
  font-size: 12px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-weight: 600;
  margin-bottom: 4px;
}

.dot-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   MAIN CONTENT & TOPBAR
   ========================================================================== */
.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 78px;
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: var(--shadow-xs);
}

.eyebrow {
  font-size: 11.5px;
  letter-spacing: 1.5px;
  color: var(--primary);
  font-weight: 750;
  text-transform: uppercase;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar h5 {
  font-weight: 750;
  font-size: 20px;
  color: var(--text-main);
}

.user-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}

.user-btn:hover {
  border-color: var(--primary);
  background: var(--bg-subtle);
  transform: translateY(-1px);
}

.user-badge-role {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--radius-full);
}

.content {
  padding: 34px 42px;
  max-width: 1520px;
  width: 100%;
  margin: 0 auto;
  animation: fadeIn 0.35s ease-out;
}

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

/* ==========================================================================
   HERO / WELCOME BANNER
   ========================================================================== */
.welcome {
  background: linear-gradient(135deg, #09132b 0%, #17326b 50%, #1d4ed8 100%);
  border-radius: var(--radius-lg);
  padding: 36px 42px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 36px -8px rgba(29, 78, 216, 0.32);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.welcome::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.welcome h2 {
  font-weight: 800;
  font-size: 29px;
  margin: 6px 0 12px;
  color: #ffffff;
}

.welcome p {
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.8;
  max-width: 700px;
}

.welcome-mark {
  font-family: var(--font-heading);
  font-size: 88px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 4px;
  user-select: none;
}

/* ==========================================================================
   STAT CARDS
   ========================================================================== */
.stat {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #38bdf8 100%);
}

.col-6:nth-child(2) .stat::before {
  background: linear-gradient(90deg, var(--accent-emerald) 0%, #34d399 100%);
}
.col-6:nth-child(3) .stat::before {
  background: linear-gradient(90deg, var(--accent-purple) 0%, #c084fc 100%);
}
.col-6:nth-child(4) .stat::before {
  background: linear-gradient(90deg, var(--accent-amber) 0%, #fbbf24 100%);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: #cbd5e1;
}

.stat small {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
  margin: 6px 0 4px;
  line-height: 1.15;
}

.stat span {
  font-size: 12.5px;
  color: var(--text-subtle);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   PANELS & SUBPANELS (COMFORTABLE PADDING & SPACING)
   ========================================================================== */
.panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  margin-bottom: 26px;
}

.panel:hover {
  border-color: #cbd5e1;
}

.panel h6 {
  font-weight: 750;
  font-size: 18.5px;
  color: var(--text-main);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 15px;
  line-height: 1.4;
}

.panel h6::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary) 0%, #38bdf8 100%);
}

.subpanel {
  height: 100%;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px 26px;
  background: #f8fafc;
  transition: var(--transition-normal);
  line-height: 1.75;
}

.subpanel:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.subpanel b {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--text-main);
  display: block;
  margin-bottom: 14px;
}

.subpanel ul, .subpanel ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.subpanel li, .panel li {
  margin-bottom: 10px;
  line-height: 1.75;
  color: var(--text-body);
}

/* ==========================================================================
   FLOW NODES & PROCESS DIAGRAMS (EASY-TO-SCAN WORKFLOWS)
   ========================================================================== */
.flow {
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 15px 20px;
  margin: 12px 0;
  text-align: center;
  background: #ffffff;
  font-weight: 650;
  font-size: 14.5px;
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
  line-height: 1.5;
}

.flow:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
}

.flow small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 5px;
  line-height: 1.55;
}

.flow.primary {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
  color: #1e40af;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.down {
  text-align: center;
  color: var(--primary);
  font-weight: 800;
  font-size: 17px;
  padding: 6px 0;
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.architecture {
  max-width: 700px;
  margin: 12px auto;
  text-align: center;
}

/* ==========================================================================
   FINANCIAL DISPLAY & MRP CARDS
   ========================================================================== */
.money {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: #047857;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.mrp-card {
  padding: 24px 28px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-card);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  line-height: 1.7;
}

.mrp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #93c5fd;
}

.mrp-card small {
  display: block;
  color: var(--text-muted);
  font-weight: 650;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mrp-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: #1e3a8a;
  margin: 6px 0;
}

.mrp-card span {
  display: block;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   TABLES & DATA GRIDS (MAXIMUM LEGIBILITY & SPACING)
   ========================================================================== */
.table-responsive {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  margin: 16px 0;
  box-shadow: var(--shadow-xs);
  background: #ffffff;
}

.table {
  margin-bottom: 0;
  font-size: 14.5px;
  color: var(--text-body);
}

.table thead th,
.table tr:first-child th {
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #475569;
  background: #f8fafc;
  font-weight: 750;
  padding: 15px 20px;
  border-bottom: 2px solid var(--border-light);
  white-space: nowrap;
}

.table td, .table tbody th {
  padding: 15px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.65;
}

.table tbody tr {
  transition: background-color 0.15s ease;
}

.table tbody tr:hover {
  background-color: #f8fafc;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-control, .form-select {
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  padding: 11px 15px;
  color: var(--text-main);
  background-color: #ffffff;
  transition: var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.14);
  outline: none;
}

label {
  font-size: 13px;
  font-weight: 650;
  color: #475569;
  margin-bottom: 7px;
  display: inline-block;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.38);
  color: #ffffff;
}

.btn-success {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.btn-outline-primary {
  border: 1.5px solid #2563eb;
  color: #2563eb;
  background: transparent;
}

.btn-outline-primary:hover {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 7px;
}

/* ==========================================================================
   CHALLENGE ITEMS & DECISION CARDS
   ========================================================================== */
.challenge-item {
  border-left: 4.5px solid var(--primary);
  background: #ffffff;
  padding: 20px 24px;
  border-radius: 0 16px 16px 0;
  box-shadow: var(--shadow-xs);
  margin-bottom: 16px;
  transition: var(--transition-normal);
  line-height: 1.75;
}

.challenge-item:hover {
  box-shadow: var(--shadow-md);
  border-left-color: #38bdf8;
}

.decision-card {
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 22px 24px;
  background: #ffffff;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  line-height: 1.7;
}

.decision-card.recommended {
  border-color: var(--accent-emerald);
  box-shadow: 0 4px 18px rgba(5, 150, 105, 0.15);
}

.decision-card.recommended::before {
  content: 'DIREKOMENDASIKAN';
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(5, 150, 105, 0.3);
}

.decision-card.not-recommended {
  border-color: var(--accent-rose);
  background: #fffafa;
}

/* RACI Badges */
.badge-raci-r { background: #dbeafe; color: #1e40af; font-weight: 700; padding: 4px 9px; border-radius: 6px; font-size: 12.5px; }
.badge-raci-a { background: #dcfce7; color: #166534; font-weight: 700; padding: 4px 9px; border-radius: 6px; font-size: 12.5px; }
.badge-raci-c { background: #fef3c7; color: #92400e; font-weight: 700; padding: 4px 9px; border-radius: 6px; font-size: 12.5px; }
.badge-raci-i { background: #f1f5f9; color: #475569; font-weight: 700; padding: 4px 9px; border-radius: 6px; font-size: 12.5px; }

/* Terminal Logs */
.terminal-box {
  background: #090e1a;
  border-radius: 14px;
  padding: 20px 22px;
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-box .log-time {
  color: #64748b;
  margin-right: 10px;
}

.terminal-box .log-ok {
  color: #34d399;
}

.terminal-box .log-warn {
  color: #fbbf24;
}

/* ==========================================================================
   ALERTS
   ========================================================================== */
.alert {
  border-radius: 14px;
  border: none;
  padding: 16px 22px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.alert-info {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-left: 4.5px solid var(--primary);
  color: #1e40af;
}

.alert-warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-left: 4.5px solid var(--accent-amber);
  color: #92400e;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
  .sidebar {
    width: 78px;
    padding: 20px 10px;
  }
  
  .brand-logo {
    justify-content: center;
    font-size: 0;
  }
  
  .brand-logo i {
    font-size: 26px;
  }
  
  .brand small, .sidebar-foot {
    display: none;
  }
  
  .sidebar nav a {
    justify-content: center;
    padding: 14px 0;
  }
  
  .sidebar nav a .nav-text {
    display: none;
  }
  
  .sidebar nav a .nav-icon {
    font-size: 20px;
    margin: 0;
  }

  .topbar {
    padding: 0 20px;
  }

  .content {
    padding: 24px 18px;
  }

  .welcome {
    padding: 26px;
  }

  .welcome-mark {
    display: none;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 14.5px;
  }

  .topbar {
    height: 64px;
    padding: 0 16px;
  }

  .topbar h5 {
    font-size: 17px;
  }

  .welcome h2 {
    font-size: 23px;
  }

  .stat strong {
    font-size: 28px;
  }
}

/* ==========================================================================
   PRINT STYLESHEET
   ========================================================================== */
@media print {
  .sidebar, .topbar, .btn, form, .modal {
    display: none !important;
  }
  .layout {
    display: block !important;
  }
  .content {
    max-width: 100% !important;
    padding: 0 !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 12pt;
  }
  .panel, .subpanel, .stat {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
  }
}
