/* forbolu — base: reset, color variables (inspired by the classic 2007 palette), typography, forms */
:root {
  --fb-blue-dark: #086989;
  --fb-blue: #17728f;
  --fb-blue-mid: #4399cc;
  --fb-blue-light: #e6f1f3;
  --fb-blue-lighter: #d1e6e9;
  --fb-border: #b4d2db;
  --fb-orange: #ff4400;
  --fb-text-default: #555555;
  --fb-muted: #888888;
  --fb-even: #f5f5f5;
  --fb-ok: #2b8902;
  --fb-err: #c62828;
  --fb-page-bg: #ffffff;
  --fb-radius: 3px;
  --fb-sans: Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 13px/1.45 var(--fb-sans);
  color: var(--fb-text-default);
  background: var(--fb-page-bg);
}
h1, h2, h3, h4 { margin: 0; font-size: 100%; }
p { margin: 0 0 .6em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video, iframe, svg { max-width: 100%; }
img { vertical-align: bottom; border: 0; }
pre, code { overflow-wrap: anywhere; }
a { color: var(--fb-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--fb-orange); outline-offset: 2px;
}
hr { border: 0; border-top: 1px solid var(--fb-blue-lighter); margin: 12px 0; }
small, .small { font-size: 11px; }
.muted { color: var(--fb-muted); }
.strong, .q { font-weight: bold; }
.orange { color: var(--fb-orange); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.right { text-align: right; }
.mt { margin-top: 10px; } .mb { margin-bottom: 10px; } .mt0 { margin-top: 0; }
.flex { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.hidden { display: none !important; }
.prewrap { white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }

/* ---------- Form ---------- */
label { display: block; font-weight: bold; color: var(--fb-blue); margin: 10px 0 3px; }
label.inline { display: inline-flex; align-items: center; gap: 5px; font-weight: normal; color: inherit; margin: 4px 12px 4px 0; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=date], input[type=search], input[type=url],
input[type=number], select, textarea {
  width: 100%; font: inherit; color: #333; padding: 6px 8px;
  border: 1px solid #b9c7cc; border-radius: var(--fb-radius); background: #fff;
}
input[type=color] { width: 44px; height: 30px; padding: 1px; border: 1px solid #b9c7cc; border-radius: var(--fb-radius); background: #fff; vertical-align: middle; }
textarea { min-height: 90px; resize: vertical; }
textarea.code { font: 12px/1.5 Menlo, Consolas, monospace; min-height: 320px; tab-size: 2; }
input:focus, select:focus, textarea:focus { border-color: var(--fb-blue-mid); box-shadow: 0 0 0 2px rgba(67,153,204,.2); outline: none; }
.help { font-size: 11px; color: var(--fb-muted); margin-top: 3px; }
.field-error, .errors li { color: var(--fb-err); font-size: 12px; margin-top: 3px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 14px; }
.form-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.counter { font-size: 11px; color: var(--fb-muted); text-align: right; }
.hp { position: absolute !important; left: -9999px !important; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  font: bold 12px var(--fb-sans); line-height: 1; padding: 7px 12px; cursor: pointer;
  color: #fff; background: linear-gradient(#5aa8d6, #2f86b8); border: 1px solid #1f6f9c;
  border-radius: var(--fb-radius); text-decoration: none; white-space: nowrap;
}
.btn:hover { background: linear-gradient(#4b9bcb, #24749f); text-decoration: none; }
.btn:disabled, .btn[aria-disabled=true] { opacity: .6; cursor: default; }
.btn-orange { background: linear-gradient(#ff7a3d, #ff4400); border-color: #d63a00; }
.btn-orange:hover { background: linear-gradient(#ff6a26, #e63d00); }
.btn-light { color: var(--fb-blue); background: var(--fb-blue-lighter); border-color: var(--fb-border); }
.btn-light:hover { background: #c2dde2; }
.btn-danger { background: linear-gradient(#e35d5d, #c62828); border-color: #a11f1f; }
.btn-sm { padding: 4px 8px; font-size: 11px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--fb-blue); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: var(--fb-err); }
form.inline { display: inline; }
