/* BERKAH · KIT-19 — Theme: Copper (distinct per modul) */
:root{
  --bg:#0b0f14;
  --card:#0f1722;
  --card2:#0c141f;
  --border:rgba(255,255,255,.10);
  --text:#e7eef7;
  --muted:rgba(231,238,247,.72);
  --c1:#ffb547; /* amber */
  --c2:#ff6a3d; /* copper */
  --c3:#7a3cff; /* accent */
  --ok:#39d98a;
  --warn:#ffcc00;
  --bad:#ff4d6d;
}

*{box-sizing:border-box}
html,body{height:100%}
body.bk-body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(255,181,71,.22), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(255,106,61,.20), transparent 55%),
    radial-gradient(900px 500px at 60% 110%, rgba(122,60,255,.16), transparent 60%),
    linear-gradient(180deg, #070b10 0%, #0b0f14 55%, #070b10 100%);
}

.muted{color:var(--muted)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;}
.num{text-align:right}
.center{text-align:center}
.bk-mt{margin-top:16px}
.bk-mt-sm{margin-top:12px}

/* Topbar */
.bk-topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.72);
  border-bottom: 1px solid var(--border);
}
.bk-topbar__inner{
  max-width:1200px; margin:0 auto;
  padding:14px 16px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.bk-brand{display:flex; align-items:center; gap:12px}
.bk-brand__logo{
  width:40px; height:40px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
  background: linear-gradient(135deg, rgba(255,181,71,1), rgba(255,106,61,1));
  box-shadow: 0 10px 30px rgba(255,106,61,.20);
}
.bk-brand__title{font-weight:800; letter-spacing:.3px}
.bk-brand__tag{font-size:12px; color:var(--muted)}

.bk-user{display:flex; align-items:center; gap:10px}
.bk-user__chip{
  padding:8px 10px; border-radius:14px;
  border:1px solid var(--border);
  background: rgba(15,23,34,.65);
}
.bk-user__name{font-weight:700; font-size:13px}
.bk-user__sub{font-size:12px; color:var(--muted)}

.bk-nav{border-top:1px solid rgba(255,255,255,.06)}
.bk-nav__inner{
  max-width:1200px; margin:0 auto;
  padding:10px 12px;
  display:flex; gap:8px; flex-wrap:wrap;
}
.bk-nav__item{
  text-decoration:none; color:var(--muted);
  padding:8px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(15,23,34,.40);
  font-weight:650; font-size:13px;
}
.bk-nav__item:hover{color:var(--text); border-color:rgba(255,181,71,.38)}
.bk-nav__item.is-active{
  color:#1a1108;
  border-color: rgba(255,181,71,.75);
  background: linear-gradient(135deg, rgba(255,181,71,1), rgba(255,106,61,1));
}

/* Main */
.bk-main{max-width:1200px; margin:0 auto; padding:16px}
.bk-footer{
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(11,15,20,.55);
}
.bk-footer__inner{
  max-width:1200px; margin:0 auto;
  padding:16px;
  display:flex; justify-content:space-between; gap:10px;
  font-size:12px; color:var(--muted);
  flex-wrap:wrap;
}

.bk-panel, .bk-card, .bk-note{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(15,23,34,.55);
  border-radius:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.bk-panel__head{
  padding:14px 14px 8px 14px;
  display:flex; align-items:flex-end; justify-content:space-between; gap:10px;
}
.bk-panel__title{font-weight:800}
.bk-panel__hint{font-size:12px; color:var(--muted)}
.bk-panel__body{padding:12px 14px 14px 14px}

.bk-card__head{
  padding:14px 14px 10px 14px;
  display:flex; align-items:flex-end; justify-content:space-between; gap:12px;
}
.bk-card__title{font-weight:850}
.bk-card__sub{font-size:12px; color:var(--muted)}
.bk-card__body{padding:14px}
.bk-card__foot{padding:12px 14px; border-top:1px solid rgba(255,255,255,.08); display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap}

.bk-card--kpi .bk-card__label{font-size:12px; color:var(--muted); font-weight:650}
.bk-card--kpi .bk-card__value{font-size:22px; font-weight:900; margin-top:6px}
.bk-card--kpi .bk-card__hint{font-size:12px; color:rgba(255,255,255,.62); margin-top:2px}

.bk-grid{display:grid; gap:12px}
.bk-grid--2{grid-template-columns:repeat(2, minmax(0,1fr))}
.bk-grid--3{grid-template-columns:repeat(3, minmax(0,1fr))}
.bk-grid--4{grid-template-columns:repeat(4, minmax(0,1fr))}
@media (max-width: 960px){
  .bk-grid--4{grid-template-columns:repeat(2, minmax(0,1fr))}
  .bk-grid--3{grid-template-columns:repeat(2, minmax(0,1fr))}
}
@media (max-width: 640px){
  .bk-topbar__inner{flex-direction:column; align-items:stretch}
  .bk-user{justify-content:space-between}
  .bk-grid--2,.bk-grid--3,.bk-grid--4{grid-template-columns:repeat(1, minmax(0,1fr))}
}

/* Forms */
.bk-field label{display:block; font-size:12px; color:var(--muted); margin:0 0 6px 2px; font-weight:650}
.bk-input{
  width:100%;
  padding:11px 12px;
  border-radius:14px;
  border: 2px solid rgba(255,255,255,.10);
  background: rgba(12,20,31,.65);
  color: var(--text);
  outline:none;
}
.bk-input:focus{border-color: rgba(255,181,71,.55); box-shadow: 0 0 0 4px rgba(255,181,71,.12)}
.bk-input.num{text-align:right; font-variant-numeric: tabular-nums}
.bk-hr{height:1px; background:rgba(255,255,255,.08); margin:14px 0}

/* Buttons */
.bk-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(15,23,34,.55);
  color: var(--text);
  text-decoration:none;
  font-weight:750;
  cursor:pointer;
}
.bk-btn:hover{border-color: rgba(255,181,71,.38); transform: translateY(-1px)}
.bk-btn--block{width:100%}
.bk-btn--primary{
  border-color: rgba(255,181,71,.55);
  background: linear-gradient(135deg, rgba(255,181,71,1), rgba(255,106,61,1));
  color:#1a1108;
  box-shadow: 0 10px 28px rgba(255,106,61,.20);
}
.bk-btn--secondary{
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.bk-btn--ghost{
  background: transparent;
}
.bk-btn--danger{
  border-color: rgba(255,77,109,.38);
  background: rgba(255,77,109,.12);
}
.bk-btn--ok{
  border-color: rgba(57,217,138,.38);
  background: rgba(57,217,138,.12);
  color: var(--text);
}

/* Chips/Badges */
.bk-chiprow{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.bk-chip{
  padding:7px 10px; border-radius:999px;
  border:1px solid rgba(255,181,71,.22);
  background: rgba(255,181,71,.08);
  color: rgba(255,255,255,.88);
  font-size:12px; font-weight:700;
}
.bk-badge{
  display:inline-flex; align-items:center; justify-content:center;
  padding:6px 10px; border-radius:999px;
  font-weight:850; font-size:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.bk-badge--kritis{border-color: rgba(255,77,109,.55); background: rgba(255,77,109,.12)}
.bk-badge--review{border-color: rgba(255,204,0,.55); background: rgba(255,204,0,.10)}
.bk-badge--wajar{border-color: rgba(57,217,138,.55); background: rgba(57,217,138,.10)}
.bk-badge--soft{border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.06)}

/* Table */
.bk-tablewrap{overflow:auto; border-top:1px solid rgba(255,255,255,.06)}
.bk-table{width:100%; border-collapse:separate; border-spacing:0}
.bk-table thead th{
  position:sticky; top:0;
  background: linear-gradient(135deg, rgba(255,181,71,.85), rgba(255,106,61,.85));
  color:#1a1108;
  padding:10px 10px;
  font-size:12px;
  text-align:left;
  border-bottom:1px solid rgba(0,0,0,.12);
  white-space:nowrap;
}
.bk-table tbody td{
  padding:10px 10px;
  border-bottom:1px solid rgba(255,255,255,.07);
  border-right:1px solid rgba(255,255,255,.05);
  font-size:13px;
  vertical-align:top;
  white-space:nowrap;
}
.bk-table tbody tr:hover td{background: rgba(255,255,255,.03)}
.bk-table tbody td:last-child{border-right:none}
.bk-table--edit .bk-input{padding:9px 10px; border-radius:12px; border-width:2px}

/* Toolbar/Title */
.bk-toolbar{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap}
.bk-title{font-size:18px; font-weight:900}
.bk-subtitle{font-size:12px; color:var(--muted)}
.bk-pill{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  font-size:12px;
}

/* Notes */
.bk-note{padding:14px}
.bk-note__title{font-weight:900; margin-bottom:8px}
.bk-note__list{margin:0; padding-left:18px; color:rgba(255,255,255,.86)}
.bk-note__list li{margin:6px 0}

/* Inline form */
.bk-inline{display:flex; gap:8px; align-items:center; flex-wrap:wrap}

/* Section head */
.bk-sectionhead{display:flex; justify-content:space-between; align-items:flex-end; gap:10px; flex-wrap:wrap}
.bk-sectionhead__title{font-weight:900}
.bk-sectionhead__sub{font-size:12px; color:var(--muted); margin-top:2px}

/* Summary */
.bk-summary{display:grid; grid-template-columns: 1fr 2fr; gap:12px}
@media (max-width: 760px){ .bk-summary{grid-template-columns:1fr} }
.bk-summary__item{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(12,20,31,.55);
  border-radius:16px;
  padding:12px;
}
.bk-summary__label{font-size:12px; color:var(--muted); font-weight:750}
.bk-summary__value{margin-top:6px; font-weight:950; font-size:16px}

/* Alerts */
.bk-alert{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  padding:12px 14px;
  display:flex; justify-content:space-between; align-items:flex-start; gap:10px; flex-wrap:wrap;
  margin-bottom:12px;
}
.bk-alert__title{font-weight:950; letter-spacing:.4px}
.bk-alert__msg{color:rgba(255,255,255,.86)}
.bk-alert__time{color:var(--muted); font-size:12px}
.bk-alert--success{border-color: rgba(57,217,138,.35); background: rgba(57,217,138,.10)}
.bk-alert--danger{border-color: rgba(255,77,109,.35); background: rgba(255,77,109,.10)}
.bk-alert--warning{border-color: rgba(255,204,0,.35); background: rgba(255,204,0,.10)}

/* Login */
.bk-login{
  min-height:100vh;
  display:flex; align-items:center; justify-content:center;
  padding:18px;
}
.bk-login__card{
  width:min(460px, 100%);
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(15,23,34,.65);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  padding:18px;
}
.bk-login__brand{display:flex; gap:12px; align-items:center; margin-bottom:10px}
.bk-login__title{font-weight:950}
.bk-login__sub{font-size:12px; color:var(--muted)}
.bk-login__form{display:grid; gap:12px; margin-top:12px}
.bk-login__hint{font-size:12px; color:var(--muted); text-align:center}
.bk-tagcloud{display:flex; gap:8px; flex-wrap:wrap}
.bk-tag{
  padding:8px 10px; border-radius:999px;
  border:1px solid rgba(255,181,71,.22);
  background: rgba(255,181,71,.08);
  font-size:12px; font-weight:800;
}

/* Small hover transforms */
@media (prefers-reduced-motion: reduce){
  .bk-btn:hover{transform:none}
}
