/* Itna UI Pro - Light */
:root{
  --bg:#f6f8fc;
  --panel: rgba(255,255,255,.88);
  --panel2: rgba(255,255,255,.96);
  --border: rgba(15,23,42,.12);
  --text: rgba(15,23,42,.92);
  --muted: rgba(15,23,42,.62);
  --primary:#2563eb;
  --accent:#16a34a;
  --warn:#f59e0b;
  --danger:#ef4444;
  --shadow: 0 16px 50px rgba(2,6,23,.08);
  --radius:16px;
  --radius2: 12px;
  --ring: 0 0 0 .25rem rgba(37,99,235,.18);
}
html,body{height:100%}
body{
  color:var(--text);
  background:
    radial-gradient(900px 500px at 10% 20%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(700px 450px at 85% 10%, rgba(34,197,94,.08), transparent 55%),
    var(--bg);
}
a{color:rgba(15,23,42,.9)}
a:hover{color:#0f172a}
.container{max-width:1180px}
.muted{color:var(--muted)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}
.cardx{
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
  box-shadow:var(--shadow);
}
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(246,248,252,.78);
  border-bottom: 1px solid var(--border);
}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.2px}
.brand-badge{
  width:34px;height:34px;border-radius:12px;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  box-shadow: 0 12px 30px rgba(37,99,235,.18);
}
.btn{border-radius: var(--radius2)!important}
.btn-primary{
  background:linear-gradient(135deg, var(--primary), #60a5fa)!important;
  border:none!important;
}
.btn-outline-secondary{
  background:transparent!important;
  border:1px solid var(--border)!important;
  color:var(--text)!important;
}
.btn-outline-secondary:hover{background:rgba(15,23,42,.06)!important}
.form-control,.form-select{
  border-radius: var(--radius2)!important;
  border:1px solid var(--border)!important;
  background: rgba(255,255,255,.96)!important;
  color: var(--text)!important;
}
.form-control:focus,.form-select:focus{box-shadow:var(--ring)!important;border-color:rgba(37,99,235,.45)!important}
.table{color:var(--text)!important}
.table td,.table th{border-color:rgba(15,23,42,.10)!important}
.table thead th{color:rgba(15,23,42,.72)!important;border-bottom:1px solid var(--border)!important}
.badge{border-radius:999px!important;padding:.45em .7em!important;border:1px solid var(--border);background:rgba(15,23,42,.05)}
.sidebar{
  position:sticky; top:74px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.90));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.sidebar a{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;border-radius:12px;
  text-decoration:none;color:var(--muted);
}
.sidebar a:hover{background:rgba(15,23,42,.05);color:var(--text)}
.sidebar a.active{background:rgba(37,99,235,.12);color:var(--text);border:1px solid rgba(37,99,235,.18)}

/* UI Fix: outline primary readable */
.btn-outline-primary{
  color: var(--text) !important;
  border: 1px solid rgba(37,99,235,.35) !important;
  background: rgba(37,99,235,.06) !important;
}
.btn-outline-primary:hover{ background: rgba(37,99,235,.10) !important; }

/* UI Fix v1.8.2: topbar theme button */
#themeToggleBtn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  padding:8px 12px !important;
  line-height:1 !important;
  color: var(--text) !important;
  background: rgba(15,23,42,.04) !important;
  border: 1px solid var(--border) !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}
#themeToggleBtn:hover{ background: rgba(15,23,42,.07) !important; }

