:root{
  --bg:#f4f6fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --border:rgba(148,163,184,.35);
  --shadow:0 10px 25px rgba(2,6,23,.08);
  --shadow2:0 6px 16px rgba(2,6,23,.08);
  --ring:rgba(37,99,235,.35);
}

/* Card */
.ui-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:0 6px 18px rgba(2,6,23,.05);
}

.ui-card:hover{
  box-shadow:0 10px 25px rgba(2,6,23,.08);
}

/* Tables */
.ui-table-wrap{
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  overflow:auto;
}

.ui-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:13px;
}

.ui-table thead th{
  position:sticky;
  top:0;
  z-index:1;
  background:rgba(241,245,249,.9);
  color:#0f172a;
  font-weight:600;
  border-bottom:1px solid var(--border);
  padding:10px 12px;
  text-align:left;
}

.ui-table tbody td{
  padding:10px 12px;
  border-bottom:1px solid rgba(148,163,184,.22);
  color:var(--text);
}

.ui-table tbody tr:hover td{
  background:rgba(59,130,246,.06);
}

/* Buttons */
.ui-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 12px;
  border-radius:12px;
  border:1px solid transparent;
  font-weight:600;
  cursor:pointer;
  user-select:none;
  transition:transform .08s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.ui-btn:active{ transform:translateY(1px); }

.ui-btn-primary{
  background:#1d4ed8;
  color:#fff;
  box-shadow:0 10px 20px rgba(29,78,216,.18);
}
.ui-btn-primary:hover{ background:#1e40af; box-shadow:0 14px 28px rgba(29,78,216,.25); }

.ui-btn-danger{
  background:#dc2626;
  color:#fff;
  box-shadow:0 10px 20px rgba(220,38,38,.18);
}
.ui-btn-danger:hover{ background:#b91c1c; box-shadow:0 14px 28px rgba(220,38,38,.25); }

.ui-btn-muted{
  background:#f1f5f9;
  color:#0f172a;
  border-color:rgba(148,163,184,.4);
}
.ui-btn-muted:hover{ background:#e2e8f0; }

.ui-btn-amber{
  background:#f59e0b;
  color:#fff;
  box-shadow:0 10px 20px rgba(245,158,11,.18);
}
.ui-btn-amber:hover{ background:#d97706; box-shadow:0 14px 28px rgba(245,158,11,.25); }

/* Inputs */
.ui-input,
.ui-select{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(148,163,184,.55);
  padding:10px 12px;
  outline:none;
  transition:box-shadow .15s ease, border-color .15s ease;
  background:#fff;
}

.ui-input:focus,
.ui-select:focus{
  border-color:rgba(37,99,235,.65);
  box-shadow:0 0 0 4px var(--ring);
}

