/* =====================================================================
   Sistem Monitoring Pengadaan — PLN Indonesia Power UBP Keramasan
   Theme: PLN Corporate Light  |  v4.0
   ===================================================================== */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Barlow:wght@400;500;600;700;800&display=swap');

/* ---- Design Tokens ---- */
:root {
  /* PLN Brand */
  --pln-navy:        #003087;
  --pln-blue:        #0055B8;
  --pln-blue-hover:  #0047A0;
  --pln-sky:         #1D81D4;
  --pln-sky-pale:    #EAF3FD;
  --pln-gold:        #F5A500;
  --pln-gold-light:  #FEF3D8;
  --pln-gold-dark:   #B87B00;

  /* UI Surfaces */
  --bg:         #F2F5FA;
  --surface:    #FFFFFF;
  --surface-2:  #F7F9FC;
  --sidebar-bg: #002878;
  --sidebar-top:#001E60;

  /* Borders */
  --border:     rgba(0, 48, 135, 0.10);
  --border-md:  rgba(0, 48, 135, 0.18);

  /* Semantic */
  --ok:     #0A8F60;
  --err:    #CC2F2F;
  --warn:   #D47800;
  --info:   #0278BC;

  /* Text */
  --txt:    #0D1A3A;
  --txt-2:  #2E4272;
  --txt-3:  #6B82AA;
  --white:  #FFFFFF;

  /* Typography */
  --font-head:  'Barlow', sans-serif;
  --font-body:  'DM Sans', sans-serif;

  /* Geometry */
  --r:    12px;
  --r-sm: 8px;
  --r-xs: 5px;

  /* Shadow */
  --sh-sm: 0 1px 4px rgba(0,48,135,.07), 0 2px 12px rgba(0,48,135,.05);
  --sh:    0 2px 16px rgba(0,48,135,.10);
  --sh-md: 0 4px 28px rgba(0,48,135,.14);

  /* Motion */
  --ease: .22s cubic-bezier(.4,0,.2,1);

  /* Layout */
  --sidebar-w: 264px;
  --sidebar-c: 68px;
  --topbar-h:  60px;
}

/* ---- Reset ---- */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html,body { height:100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--txt);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* =====================================================================
   SIDEBAR
   ===================================================================== */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: width var(--ease);
  overflow: hidden;
  box-shadow: 4px 0 24px rgba(0,24,80,.22);
}
.sidebar.collapsed { width: var(--sidebar-c); }

/* Brand */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  height: 76px;
  min-height: 76px;
  background: var(--sidebar-top);
  border-bottom: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
  flex-shrink: 0;
}

/* PLN Logo mark – lingkaran + petir */
.brand-logo {
   width: 100px; height: 100px;
  margin-top: 5px;
  display: flex; align-items: center; justify-content: center;
}

.brand-logo img { width: 50px; height: 50px; object-fit: contain; }

.brand-text { overflow: hidden; white-space: nowrap; }
.brand-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .4px;
  color: var(--white);
  line-height: 1.25;
  margin-right: 60px;
}
.brand-sub {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,.48);
  letter-spacing: .3px;
  margin-top: 2px;
  margin-right: 60px;
}

/* Unit label */
.sidebar-unit {
  padding: 9px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  white-space: nowrap;
  background: rgba(0,0,0,.10);
  flex-shrink: 0;
}
.sidebar-unit small {
  font-size: 9px;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Nav */
.sidebar-nav {
  flex: 1;
  padding: 12px 8px;
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar-nav::-webkit-scrollbar { width: 3px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 2px; }

.nav-section {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.28);
  padding: 14px 10px 5px;
  white-space: nowrap;
  overflow: hidden;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  border-radius: var(--r-sm);
  color: rgba(255,255,255,.60);
  text-decoration: none;
  transition: all var(--ease);
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: 2px;
}
.nav-item i { font-size: 17px; min-width: 20px; text-align: center; flex-shrink: 0; }
.nav-item span { font-size: 13px; font-weight: 500; }
.nav-item:hover { background: rgba(255,255,255,.08); color: var(--white); }
.nav-item.active {
  background: var(--pln-gold);
  color: #4A2D00;
}
.nav-item.active i { color: #4A2D00; }
.nav-item.active span { font-weight: 700; }

/* User footer */
.sidebar-user {
  padding: 12px 13px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; gap: 9px;
  overflow: hidden;
  background: rgba(0,0,0,.14);
  flex-shrink: 0;
}
.user-info { display: flex; align-items: center; gap: 9px; flex: 1; overflow: hidden; }
.user-avatar {
  width: 33px; height: 33px; min-width: 33px;
  background: rgba(255,255,255,.10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255,255,255,.20);
  font-size: 15px;
  color: rgba(255,255,255,.70);
}
.user-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--white); }
.user-role { font-size: 9px; color: var(--pln-gold); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.btn-logout { color: rgba(255,255,255,.38); font-size: 17px; transition: color var(--ease); text-decoration: none; min-width: 22px; }
.btn-logout:hover { color: #FF7B7B; }

/* =====================================================================
   MAIN CONTENT
   ===================================================================== */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  transition: margin-left var(--ease);
}
.main-content.expanded { margin-left: var(--sidebar-c); }

/* Topbar */
.topbar {
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 22px;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--sh-sm);
}

/* PLN stripe at bottom of topbar */
.topbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pln-navy) 0%, var(--pln-sky) 55%, var(--pln-gold) 100%);
}

.btn-toggle-sidebar {
  background: none; border: none;
  color: var(--txt-3); font-size: 20px;
  cursor: pointer; padding: 4px 6px;
  border-radius: 6px; transition: all var(--ease);
}
.btn-toggle-sidebar:hover { background: var(--pln-sky-pale); color: var(--pln-blue); }

.topbar-title {
  font-family: var(--font-head);
  font-weight: 700; font-size: 15px;
  color: var(--txt); flex: 1;
}
.topbar-right { display: flex; align-items: center; gap: 12px; }
.badge-role {
  background: var(--pln-sky-pale);
  color: var(--pln-blue);
  border: 1px solid rgba(0,85,184,.15);
  font-size: 9.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px; letter-spacing: .5px;
}
.topbar-user { font-size: 13px; color: var(--txt-2); font-weight: 500; }

.content-wrapper { padding: 22px; }

/* =====================================================================
   CARDS
   ===================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
}
.card-header {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  border-radius: var(--r) var(--r) 0 0 !important;
  padding: 13px 18px;
}
.card-header h5,.card-header h6 {
  font-family: var(--font-head);
  font-weight: 700; margin: 0;
  color: var(--pln-navy); font-size: 14px;
}
.card-body { padding: 18px; }

/* Stat Cards */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
  display: flex; align-items: center; gap: 14px;
  transition: all var(--ease);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--pln-blue);
  border-radius: var(--r) 0 0 var(--r);
}
.stat-card:hover {
  border-color: var(--border-md);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.stat-icon {
  width: 50px; height: 50px; min-width: 50px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
}
.stat-icon.primary { background: var(--pln-sky-pale); color: var(--pln-blue); }
.stat-icon.success { background: #D6F5E8; color: var(--ok); }
.stat-icon.warning { background: var(--pln-gold-light); color: var(--pln-gold-dark); }
.stat-icon.danger  { background: #FDEAEA; color: var(--err); }
.stat-icon.info    { background: #E0F0FA; color: var(--info); }
.stat-value {
  font-family: var(--font-head);
  font-size: 27px; font-weight: 800;
  color: var(--pln-navy); line-height: 1;
}
.stat-label {
  font-size: 11px; color: var(--txt-3);
  margin-top: 3px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600;
}

/* =====================================================================
   TABLES
   ===================================================================== */
.table { color: var(--txt); border-color: var(--border); margin: 0; }
.table > :not(caption) > * > * {
  background: transparent; color: var(--txt);
  border-color: var(--border); padding: 11px 13px;
}
.table thead th {
  background: var(--surface-2) !important;
  color: var(--pln-navy); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  border-bottom: 2px solid var(--border-md) !important;
  white-space: nowrap;
}
.table tbody tr { transition: background var(--ease); }
.table tbody tr:hover > * { background: var(--pln-sky-pale) !important; }
.table-striped > tbody > tr:nth-of-type(odd) > * { background: rgba(0,48,135,.02); }

/* DataTables */
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate .paginate_button { color: var(--txt-2) !important; font-size: 12px; }
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  background: var(--surface); border: 1px solid var(--border-md);
  color: var(--txt); border-radius: 6px; padding: 4px 10px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--pln-sky-pale) !important; border-color: var(--border-md) !important; color: var(--pln-blue) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--pln-blue) !important; border-color: var(--pln-blue) !important; color: white !important;
}

/* =====================================================================
   FORMS
   ===================================================================== */
.form-control, .form-select {
  background: var(--surface);
  border: 1.5px solid var(--border-md);
  color: var(--txt);
  border-radius: var(--r-sm);
  padding: 8px 13px;
  transition: all var(--ease);
  font-size: 13.5px;
  font-family: var(--font-body);
}
.form-control:focus, .form-select:focus {
  background: var(--surface);
  border-color: var(--pln-sky);
  color: var(--txt);
  box-shadow: 0 0 0 3px rgba(0,85,184,.10);
}
.form-control::placeholder { color: var(--txt-3); }
.form-label {
  font-size: 11px; font-weight: 700;
  color: var(--txt-2); margin-bottom: 5px;
  text-transform: uppercase; letter-spacing: .6px;
}
.form-select option { background: var(--surface); color: var(--txt); }
.input-group-text {
  background: var(--surface-2); border-color: var(--border-md);
  color: var(--txt-3); font-size: 13px;
}
.form-text { font-size: 11px; color: var(--txt-3); }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  font-family: var(--font-body); font-weight: 600;
  font-size: 13px; border-radius: var(--r-sm);
  padding: 8px 15px; transition: all var(--ease); letter-spacing: .1px;
}
.btn-primary { background: var(--pln-navy); border-color: var(--pln-navy); color: var(--white); }
.btn-primary:hover {
  background: var(--pln-blue-hover); border-color: var(--pln-blue-hover); color: var(--white);
  transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,48,135,.28);
}
.btn-success { background: var(--ok); border-color: var(--ok); color: white; }
.btn-success:hover { background: #087A51; border-color: #087A51; color: white; }
.btn-danger  { background: var(--err); border-color: var(--err); color: white; }
.btn-danger:hover  { background: #AE2828; border-color: #AE2828; color: white; }
.btn-warning { background: var(--pln-gold); border-color: var(--pln-gold); color: #3D2000; font-weight: 700; }
.btn-outline-secondary {
  color: var(--txt-2); border-color: var(--border-md); background: transparent;
}
.btn-outline-secondary:hover { background: var(--pln-sky-pale); border-color: var(--pln-sky); color: var(--pln-blue); }
.btn-outline-danger { color: var(--err); border-color: rgba(204,47,47,.3); }
.btn-outline-danger:hover { background: #FDEAEA; border-color: var(--err); color: var(--err); }
.btn-outline-info { color: var(--info); border-color: rgba(2,120,188,.3); }
.btn-outline-info:hover { background: #E0F0FA; border-color: var(--info); color: var(--info); }

.btn-sm { font-size: 11.5px; padding: 5px 10px; }
.btn-icon { padding: 6px 8px; }

.btn-add-new {
  background: linear-gradient(135deg, var(--pln-navy), var(--pln-blue));
  border: none; color: var(--white); padding: 9px 18px;
  border-radius: var(--r-sm); font-weight: 700;
  display: flex; align-items: center; gap: 7px;
  text-decoration: none; transition: all var(--ease);
  box-shadow: 0 2px 8px rgba(0,48,135,.22);
}
.btn-add-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,48,135,.32);
  color: var(--white);
}

/* =====================================================================
   BADGES — light theme overrides
   ===================================================================== */
.badge { font-size: 10.5px; font-weight: 700; padding: 3.5px 8px; border-radius: 20px; }
.badge.bg-secondary  { background: #E5EAF2 !important; color: #445577 !important; }
.badge.bg-warning, .badge.bg-warning.text-dark {
  background: var(--pln-gold-light) !important; color: var(--pln-gold-dark) !important;
}
.badge.bg-info, .badge.bg-info.text-dark {
  background: #E0F0FA !important; color: #015C96 !important;
}
.badge.bg-primary { background: var(--pln-sky-pale) !important; color: var(--pln-navy) !important; }
.badge.bg-success  { background: #D6F5E8 !important; color: #065236 !important; }
.badge.bg-danger   { background: #FDEAEA !important; color: #9B1818 !important; }

/* =====================================================================
   MODALS
   ===================================================================== */
.modal-content {
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  color: var(--txt);
  box-shadow: var(--sh-md);
}
.modal-header {
  background: var(--pln-navy);
  border-bottom: none;
  border-radius: var(--r) var(--r) 0 0;
  padding: 14px 20px;
}
.modal-header::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--pln-gold);
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.modal-title { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 14.5px; }
.modal-header .btn-close { filter: invert(1) brightness(2); opacity: .8; }
.modal-footer {
  border-top: 1px solid var(--border);
  padding: 13px 20px;
  background: var(--surface-2);
  border-radius: 0 0 var(--r) var(--r);
}
.modal-body { padding: 20px 22px; }

/* =====================================================================
   PAGE HEADER
   ===================================================================== */
.page-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap; gap: 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.page-header-left h4 {
  font-family: var(--font-head); font-weight: 800;
  font-size: 20px; margin: 0; color: var(--pln-navy);
}
.page-header-left p { font-size: 12.5px; color: var(--txt-3); margin: 3px 0 0; }

/* =====================================================================
   WORKFLOW / ALUR KERJA
   ===================================================================== */
.workflow-container { padding: 6px 0; }
.workflow-step {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: 13px; padding: 13px 8px;
  border-bottom: 1px solid var(--border);
  transition: all var(--ease); border-radius: 6px;
}
.workflow-step:last-child { border-bottom: none; }
.workflow-step:hover { background: var(--pln-sky-pale); }

.step-indicator { display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 33px; }
.step-circle {
  width: 33px; height: 33px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700;
  border: 2px solid var(--border-md);
  transition: all var(--ease);
}
.step-circle.done   { background: var(--ok); border-color: var(--ok); color: white; }
.step-circle.active {
  background: var(--pln-navy); border-color: var(--pln-navy); color: white;
  box-shadow: 0 0 0 4px rgba(0,48,135,.14);
  animation: pulse-pln 1.8s ease-out infinite;
}
.step-circle.pending { background: #EEF1F7; border-color: #C8D3E6; color: #9BABC8; }

@keyframes pulse-pln {
  0%   { box-shadow: 0 0 0 0 rgba(0,48,135,.32); }
  70%  { box-shadow: 0 0 0 8px rgba(0,48,135,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,48,135,0); }
}

.step-line { width: 2px; flex: 1; min-height: 18px; background: #DDE4F0; margin-top: 4px; }
.step-line.done { background: var(--ok); }

.step-content { flex: 1; padding-top: 4px; }
.step-name  { font-weight: 600; font-size: 13px; color: var(--txt); }
.step-date  { font-size: 11px; color: var(--txt-3); margin-top: 2px; }
.step-note  { font-size: 11.5px; color: var(--pln-sky); margin-top: 3px; font-style: italic; }
.step-action { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding-top: 4px; }

/* =====================================================================
   INFO CARD (detail pengadaan)
   ===================================================================== */
.info-utama-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--pln-navy);
  border-radius: var(--r);
  padding: 18px; position: sticky; top: 76px;
  box-shadow: var(--sh-sm);
}
.info-item { margin-bottom: 13px; }
.info-item:last-child { margin-bottom: 0; }
.info-label {
  font-size: 9.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--txt-3); margin-bottom: 2px;
}
.info-value { font-size: 13px; font-weight: 600; color: var(--txt); }
.info-value.rupiah { color: var(--ok); font-weight: 700; }
.info-divider { border-color: var(--border); margin: 13px 0; }
.section-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--pln-navy); margin-bottom: 14px;
  display: flex; align-items: center; gap: 7px;
}
.section-title::after {
  content: ''; flex: 1; height: 1.5px;
  background: linear-gradient(90deg, var(--pln-sky-pale), transparent);
}

/* =====================================================================
   LOGIN PAGE  –  split-screen layout
   ===================================================================== */
.login-page {
  min-height: 100vh;
  display: flex;
  background: var(--bg);
}

/* Left panel */
.login-left {
  width: 44%;
  background: linear-gradient(150deg, var(--pln-navy) 0%, #001555 55%, #000D38 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 40px; position: relative; overflow: hidden;
}
/* decorative rings */
.login-left::before {
  content: '';
  position: absolute; width: 420px; height: 420px;
  border-radius: 50%;
  border: 56px solid rgba(255,255,255,.04);
  top: -110px; right: -110px; pointer-events: none;
}
.login-left::after {
  content: '';
  position: absolute; width: 300px; height: 300px;
  border-radius: 50%;
  border: 38px solid rgba(245,165,0,.07);
  bottom: -80px; left: -70px; pointer-events: none;
}
/* gold accent bar */
.login-left-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pln-gold), rgba(245,165,0,.3));
}

.login-left-content { position: relative; z-index: 1; text-align: center; }
.login-pln-logo {
  width: 96px; height: 96px;
  margin: 0 auto 26px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.14);
}
.login-pln-logo img { width: 50px; height: 50px; object-fit: contain; }

.login-left-title {
  font-family: var(--font-head); font-size: 20px; font-weight: 800;
  color: var(--white); line-height: 1.35; margin-bottom: 10px;
}
.login-left-sub {
  font-size: 12px; color: rgba(255,255,255,.46);
  line-height: 1.8; max-width: 250px; margin: 0 auto;
}
.login-gold-bar {
  width: 44px; height: 3px;
  background: var(--pln-gold);
  border-radius: 2px; margin: 18px auto 0;
}
.login-year {
  margin-top: 36px;
  font-size: 10px;
  color: rgba(255,255,255,.24);
  letter-spacing: .5px;
}

/* Right panel */
.login-right {
  flex: 1; display: flex;
  align-items: center; justify-content: center;
  padding: 48px 40px;
  background: var(--surface);
}
.login-card { width: 100%; max-width: 380px; }
.login-card-header { margin-bottom: 28px; }
.login-card-eyebrow {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--pln-gold-dark); margin-bottom: 6px;
}
.login-card-title {
  font-family: var(--font-head); font-size: 26px; font-weight: 800;
  color: var(--pln-navy); line-height: 1.2; margin-bottom: 4px;
}
.login-card-sub { font-size: 12.5px; color: var(--txt-3); }

/* Legacy compat for old .login-card .login-logo structure */
.login-logo { text-align: center; margin-bottom: 24px; }
.login-logo .logo-icon {
  width: 56px; height: 56px;
  background: var(--pln-sky-pale);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--pln-navy);
  margin: 0 auto 12px;
}
.login-logo h3 { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--pln-navy); }
.login-logo p { font-size: 11.5px; color: var(--txt-3); margin: 0; }

/* =====================================================================
   ALERTS
   ===================================================================== */
.alert { border-radius: var(--r-sm); font-size: 13px; border-left: 4px solid; }
.alert-success { background: #F0FDF6; color: #125239; border-color: var(--ok); border-top:1px solid #B0EDD5; border-right:1px solid #B0EDD5; border-bottom:1px solid #B0EDD5; }
.alert-danger  { background: #FFF5F5; color: #8B1A1A; border-color: var(--err); border-top:1px solid #FACACA; border-right:1px solid #FACACA; border-bottom:1px solid #FACACA; }
.alert-warning { background: var(--pln-gold-light); color: var(--pln-gold-dark); border-color: var(--pln-gold); border-top:1px solid #FDD98A; border-right:1px solid #FDD98A; border-bottom:1px solid #FDD98A; }
.alert-info    { background: #EEF6FF; color: #0A4D7E; border-color: var(--info); border-top:1px solid #BFDBFE; border-right:1px solid #BFDBFE; border-bottom:1px solid #BFDBFE; }

/* =====================================================================
   MISC
   ===================================================================== */
.empty-state { text-align: center; padding: 44px 22px; color: var(--txt-3); }
.empty-state i { font-size: 44px; margin-bottom: 10px; color: var(--pln-sky-pale); display: block; }
.empty-state p { font-size: 13.5px; }

.search-bar {
  background: var(--surface); border: 1.5px solid var(--border-md);
  border-radius: var(--r-sm); padding: 8px 13px;
  color: var(--txt); width: 100%; max-width: 340px;
  transition: all var(--ease); font-size: 13.5px;
}
.search-bar:focus { border-color: var(--pln-sky); box-shadow: 0 0 0 3px rgba(0,85,184,.10); outline: none; }

/* =====================================================================
   DOKUMEN PER TAHAP
   ===================================================================== */
.step-docs {
  flex: 0 0 100%; margin-top: 5px; padding-left: 46px;
  display: flex; flex-direction: column; gap: 4px;
}
.dok-item {
  display: flex; align-items: center; gap: 6px;
  background: #FFF5F5; border: 1px solid #FAC8C8;
  border-radius: 5px; padding: 5px 9px; font-size: 11px;
}
.dok-link {
  color: var(--err); text-decoration: none;
  flex: 1; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; transition: color var(--ease); font-weight: 500;
}
.dok-link:hover { color: #8B1A1A; text-decoration: underline; }
.dok-size { color: var(--txt-3); font-size: 10px; white-space: nowrap; }
.btn-dok-hapus {
  background: none; border: none; color: var(--txt-3);
  cursor: pointer; padding: 0 2px; line-height: 1;
  font-size: 13px; border-radius: 3px; transition: color var(--ease);
}
.btn-dok-hapus:hover { color: var(--err); }

/* =====================================================================
   PRINT
   ===================================================================== */
@media print {
  .sidebar,.topbar,.btn-add-new,.btn,
  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_paginate { display: none !important; }
  .main-content { margin-left: 0 !important; }
  body { background: white; }
  .card { border: 1px solid #ccc; box-shadow: none; }
  .table > :not(caption) > * > * { border-color: #ccc; }
  .page-header { border-bottom: 2px solid #003087; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.mobile-open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .content-wrapper { padding: 14px; }
  .stat-card { padding: 13px; }
  .login-left { display: none; }
  .login-right { padding: 30px 22px; }
}
