:root {
  --bg: #0f172a;
  --panel: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #6366f1;
}
* { box-sizing: border-box; font-family: Arial, sans-serif; }
body { margin: 0; background: var(--bg); color: var(--text); }
.topbar { display:flex; align-items:center; justify-content:space-between; padding:10px 16px; background:#0b1020; border-bottom:1px solid #1f2937; position:sticky; top:0; }
.brand { font-weight:700; letter-spacing:0.5px; }
.menu { display:flex; gap:8px; }
.btn { background: var(--accent); color:white; padding:8px 12px; border-radius:6px; text-decoration:none; border:none; cursor:pointer; }
.btn.secondary { background:#16a34a; }
.link-btn { background:#16a34a; color:white; border:none; padding:6px 10px; border-radius:6px; cursor:pointer; }
.link-btn.danger { background:#7f1d1d; }
.icon-btn { padding:6px; display:inline-flex; align-items:center; justify-content:center; line-height:0; }
.icon-btn svg { width:16px; height:16px; }
/* Hover effects for icon-only buttons */
.link-btn:hover { background:#15803d; }
.link-btn.danger:hover { background:#991b1b; }
.icon-btn { transition: background 0.2s ease, transform 0.2s ease; }
.icon-btn:hover { transform: scale(1.08); }
.icon-btn svg { transition: transform 0.2s ease; }
.icon-btn:hover svg { transform: scale(1.02); }
.container { padding:16px; }
.panels { display:grid; grid-template-columns: 2fr 1fr; gap:16px; }
.panel { background: var(--panel); border:1px solid #1f2937; border-radius:8px; padding:16px; }
.panel h2 { margin-top:0; }
.tbl { width:100%; border-collapse: collapse; }
.tbl th, .tbl td { border-bottom:1px solid #1f2937; padding:8px; text-align:left; }
.provider-badge { display:inline-block; padding:4px 8px; border-radius:999px; color:white; font-size:12px; }
.provider-dot { display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:8px; }
.pending-list { list-style:none; padding:0; margin:0; }
.pending-list li { padding:6px 0; border-bottom:1px dashed #1f2937; }
.provider-select .provider-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap:12px; }
.provider-card { border:2px solid; border-radius:8px; padding:12px; cursor:pointer; background:#0b1324; }
.provider-card .logo { height:60px; border-radius:6px; margin-bottom:8px; }
.provider-card .name { text-align:center; font-weight:600; }
.modal { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background: rgba(0,0,0,0.6); }
.modal.hidden { display:none; }
.modal-content { background: var(--panel); border:1px solid #1f2937; border-radius:8px; padding:16px; min-width:280px; }
.modal-actions { display:flex; gap:8px; justify-content:flex-end; }
.form { display:grid; gap:12px; }
.split { display:grid; grid-template-columns: 1fr 1fr; gap:12px; align-items:flex-start; }
.grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap:12px; }
.form label { display:flex; flex-direction:column; gap:6px; font-size:14px; }
.form input, .form select, .form textarea { background:#0b1324; border:1px solid #1f2937; color:var(--text); border-radius:6px; padding:8px; }
.checkbox { align-items:center; flex-direction:row !important; gap:8px !important; }
.actions { display:flex; gap:8px; }
.alert { background:#7f1d1d; color:#fecaca; padding:8px; border-radius:6px; }
.pad { padding:16px; }
/* Muted helper */
.muted { color: var(--muted); }