/* WatuKopesha custom utility layer (plain CSS — works with Tailwind CDN). */
:root {
  --wf-navy:  #0f3a6d;
  --wf-green: #3aa435;
  --wf-gold:  #f5c21e;
}
html, body {
  -webkit-font-smoothing: antialiased;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ----- Forms ----- */
.wf-form input, .wf-form select, .wf-form textarea,
input.wf-form, select.wf-form, textarea.wf-form {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  padding: 8px 12px;
  font-size: 14px;
  background: #fff;
  color: #0f172a;
  transition: border-color .15s, box-shadow .15s;
}
.wf-form input:focus, .wf-form select:focus, .wf-form textarea:focus,
input.wf-form:focus, select.wf-form:focus, textarea.wf-form:focus {
  outline: none;
  border-color: var(--wf-navy);
  box-shadow: 0 0 0 3px rgba(15,58,109,0.12);
}
.wf-label {
  display: block; font-size: 13px; font-weight: 500;
  color: #334155; margin-bottom: 4px;
}

/* ----- Cards ----- */
.wf-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  padding: 16px;
}
@media (min-width: 640px) {
  .wf-card { padding: 24px; }
}

/* ----- Buttons ----- */
.wf-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 6px; padding: 8px 16px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .1s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.wf-btn:active { transform: translateY(1px); }
.wf-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wf-navy); color: #fff;
  border-radius: 6px; padding: 8px 16px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background-color .15s, transform .1s;
  border: 1px solid var(--wf-navy);
  white-space: nowrap;
}
.wf-btn-primary:hover { background: #154478; }
.wf-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #e2e8f0; color: #1e293b;
  border-radius: 6px; padding: 8px 16px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background-color .15s;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}
.wf-btn-secondary:hover { background: #cbd5e1; }
.wf-btn-danger {
  display: inline-flex; align-items: center; gap: 8px;
  background: #e11d48; color: #fff;
  border-radius: 6px; padding: 8px 16px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background-color .15s;
  border: 1px solid #e11d48;
  white-space: nowrap;
}
.wf-btn-danger:hover { background: #be123c; }

/* ----- Chips / pills ----- */
.wf-chip, .wf-chip-ok, .wf-chip-warn, .wf-chip-danger, .wf-chip-muted {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 9999px;
  font-size: 11px; font-weight: 500;
  white-space: nowrap; line-height: 1.4;
}
.wf-chip-ok     { background: #d1fae5; color: #065f46; }
.wf-chip-warn   { background: #fef3c7; color: #92400e; }
.wf-chip-danger { background: #ffe4e6; color: #9f1239; }
.wf-chip-muted  { background: #f1f5f9; color: #334155; }

/* ----- Tables ----- */
.wf-table { min-width: 100%; font-size: 14px; border-collapse: collapse; }
.wf-table th {
  text-align: left;
  font-weight: 500; color: #64748b;
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 11px;
}
.wf-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.wf-table tr:hover td { background: #f8fafc; }

/* ----- KPIs ----- */
.wf-kpi {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
@media (min-width: 640px) { .wf-kpi { padding: 20px; } }
.wf-kpi-value { font-size: 24px; font-weight: 600; color: #0f172a; line-height: 1.2; }
.wf-kpi-label { font-size: 11px; text-transform: uppercase;
                letter-spacing: 0.05em; color: #64748b; font-weight: 500; }

/* ----- Print ----- */
@media print {
  .no-print { display: none !important; }
  body { background: #fff !important; }
}
