:root {
  --navy: #0b1b2b; --navy-2: #12283d; --teal: #12b3a6; --teal-d: #0d8f85;
  --ink: #142033; --muted: #5d6b7c; --line: #e3e8ee; --bg: #f4f6f9; --card: #fff;
  --ok: #1a9c5b; --warn: #d98a00; --bad: #d23c3c; --pill: #eef2f6;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--teal-d); text-decoration: none; }
a:hover { text-decoration: underline; }
header.top { background: var(--navy); color: #fff; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.top .brand { font-weight: 700; letter-spacing: .3px; }
header.top .brand span { color: var(--teal); }
header.top nav a { color: #cfd8e3; margin-left: 18px; font-size: 14px; }
header.top nav a.active, header.top nav a:hover { color: #fff; text-decoration: none; }
main { max-width: 1080px; margin: 0 auto; padding: 24px 20px 60px; }
h1 { font-size: 24px; margin: 0 0 4px; }
h2 { font-size: 17px; margin: 28px 0 10px; }
.sub { color: var(--muted); margin: 0 0 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px 18px; }
@media (max-width: 700px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
input[type=text], input[type=email], input[type=date], input[type=time], input[type=number], input[type=password], input[type=url], select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #c9d2dc; border-radius: 8px; font: inherit; background: #fff; color: var(--ink);
}
textarea { min-height: 90px; resize: vertical; }
.field { margin-bottom: 4px; }
.field.missing input, .field.missing select { border-color: var(--bad); background: #fff6f6; }
.hint { font-size: 12px; color: var(--muted); margin-top: 3px; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 9px; border: 0; background: var(--teal); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--teal-d); text-decoration: none; }
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid #c9d2dc; }
.btn.secondary:hover { background: var(--pill); }
.btn.danger { background: var(--bad); }
.btn.sm { padding: 5px 10px; font-size: 13px; border-radius: 7px; }
.btn.big { padding: 14px 26px; font-size: 16px; }
.flash { padding: 10px 14px; border-radius: 9px; margin-bottom: 14px; }
.flash.ok { background: #e6f7ef; color: #14613a; }
.flash.error { background: #fdecec; color: #8b1d1d; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--pill); color: var(--muted); }
.pill.ok { background: #e6f7ef; color: var(--ok); }
.pill.warn { background: #fff4e0; color: var(--warn); }
.pill.bad { background: #fdecec; color: var(--bad); }
.pill.info { background: #e6f2ff; color: #1d5fb3; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
tr:hover td { background: #fafbfd; }
.row-actions form { display: inline; }
.inline { display: inline; }
.stack > * + * { margin-top: 10px; }
.right { text-align: right; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; white-space: pre-wrap; background: #f7f9fb; padding: 10px; border-radius: 8px; border: 1px solid var(--line); }

/* DJ cards (client) */
.dj { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; transition: border-color .15s, transform .15s; }
.dj:hover { transform: translateY(-2px); }
.dj.selected { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18,179,166,.18); }
.dj.hidden { display: none; }
.dj .photo { aspect-ratio: 1 / 1; background: #dfe5ec center/cover no-repeat; display: flex; align-items: center; justify-content: center; color: #9aa7b5; font-size: 40px; font-weight: 700; }
.dj .body { padding: 12px 14px 14px; }
.dj .name { font-weight: 700; font-size: 16px; }
.dj .rate { color: var(--teal-d); font-weight: 700; margin-top: 2px; }
.dj .meta { color: var(--muted); font-size: 12px; margin-top: 4px; }
.dj .tick { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid #c9d2dc; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.dj.selected .tick { background: var(--teal); border-color: var(--teal); }
.dj input { position: absolute; opacity: 0; pointer-events: none; }
.dj .link { position: absolute; left: 10px; top: 10px; background: rgba(11,27,43,.75); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 999px; }
/* times line up as a column instead of jagging between 6:00pm and 11:45pm */
select.time, select.time option { font-variant-numeric: tabular-nums; }
select.time optgroup { font-weight: 700; color: var(--muted); }
select.time option { font-weight: 400; color: var(--ink); }
.tabs { display: flex; gap: 6px; margin: 0 0 10px; }
.tab { padding: 8px 16px; border-radius: 999px; border: 1px solid #c9d2dc; background: #fff; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.picks-bar { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 0; margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.login { max-width: 380px; margin: 80px auto; }
.dj-thumb { width: 44px; height: 44px; border-radius: 8px; background: #dfe5ec center/cover; display: inline-block; vertical-align: middle; margin-right: 8px; }
