/* AM14 design system — the management system (sign-in, dashboard, setup, players, cards, website). Same tokens as the
   public site (am14.css): navy, neon green, glass panels, glowing borders. Loaded after the base styles. */
:root {
  --am-bg: #03060c; --am-green: #7cff2b; --am-cyan: #19d3ff; --am-red: #ff2e4d; --am-purple: #a64bff; --am-ink: #04120a;
  --am-glass: rgba(12, 20, 34, .66); --am-line: rgba(160,190,230,.14);
  --brand: var(--am-green); --brand-2: #4fd61a; --accent: var(--am-cyan); --ok: var(--am-green);
  --bg: var(--am-bg); --panel: #0a1322; --panel-2: #0e1a2e; --line: #22324a; --line-2: #18263a; --muted: #94a3b8;
}
body { background: radial-gradient(110% 50% at 90% 0%, rgba(25,211,255,.12), transparent 55%), radial-gradient(80% 40% at 0% 0%, rgba(124,255,43,.08), transparent 60%), var(--am-bg) fixed !important; }
h1, h2, .modal header h2 { font-family: "Exo 2", "Segoe UI", system-ui, sans-serif; font-weight: 800; }
h1 { font-style: italic; text-transform: uppercase; letter-spacing: .2px; }

/* header with the angled neon line */
.topbar { background: linear-gradient(180deg, rgba(3,6,12,.95), rgba(3,6,12,.8)); border-bottom: 0; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--am-green) 0%, var(--am-green) 50%, rgba(124,255,43,.3) 64%, transparent); box-shadow: 0 0 12px var(--am-green); }
.brand .logo { box-shadow: 0 0 0 2px rgba(255,255,255,.12), 0 0 16px rgba(124,255,43,.3); color: var(--am-green); }
.brand .nm b { font-family: "Exo 2", sans-serif; font-style: italic; font-weight: 900; }

/* menu pills */
.nav { background: rgba(8,14,26,.75); border-color: var(--am-line); border-radius: 18px; }
.nav a { background: rgba(255,255,255,.03); border-color: #22324a; }
.nav a:hover, .nav a.on { background: rgba(124,255,43,.12); border-color: var(--am-green); color: #fff; box-shadow: 0 0 14px rgba(124,255,43,.25); }

/* glass panels */
.card { background: var(--am-glass); border: 1.4px solid var(--am-line); border-radius: 20px; backdrop-filter: blur(10px); }
.card.flat { background: rgba(8,14,26,.7); }
.tile { background: var(--am-glass); border: 1.4px solid rgba(124,255,43,.25); border-radius: 18px; box-shadow: inset 0 0 18px rgba(124,255,43,.05); }
.tile b { font-family: "Exo 2", sans-serif; color: var(--am-green); }
a.tile:hover { border-color: var(--am-green); box-shadow: 0 0 18px rgba(124,255,43,.25); }
.hub a { background: var(--am-glass); border: 1.4px solid var(--am-line); border-radius: 20px; }
.hub a:hover { background: rgba(124,255,43,.1); border-color: var(--am-green); box-shadow: 0 0 18px rgba(124,255,43,.25); }
.modal { background: linear-gradient(180deg, #0a1322, #070d18); border: 1.4px solid rgba(124,255,43,.3); border-radius: 22px; box-shadow: 0 0 40px rgba(124,255,43,.12), 0 30px 80px rgba(0,0,0,.6); }

/* buttons, fields, tables, badges */
button.primary, .btn.primary { background: var(--am-green); border-color: var(--am-green); color: var(--am-ink); box-shadow: 0 0 16px rgba(124,255,43,.3); }
button.primary:hover, .btn.primary:hover { filter: brightness(1.08); }
button.ok, .btn.ok { background: rgba(124,255,43,.15); border-color: var(--am-green); color: var(--am-green); }
button, .btn { border-radius: 12px; }
input, select, textarea { background: rgba(3,8,16,.85); border-color: #22324a; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(124,255,43,.45); border-color: var(--am-green); }
input[type=checkbox], input[type=radio] { accent-color: var(--am-green); }
.tbl { border-color: #1d2c42; border-radius: 14px; } th { background: rgba(10,18,32,.9); border-bottom-color: #22324a; }
.badge.ok { border-color: var(--am-green); color: var(--am-green); } .badge.info { border-color: var(--am-cyan); color: var(--am-cyan); }
.badge.live { background: var(--am-red); border-color: var(--am-red); }
.tabsBar a.on { background: var(--am-green); border-color: var(--am-green); color: var(--am-ink); }
.toast { background: #0b2310; border-color: var(--am-green); } .toast.bad { background: #2a0a12; border-color: var(--am-red); }

/* sign-in */
.loginBox { border-color: rgba(124,255,43,.35); box-shadow: 0 0 30px rgba(124,255,43,.12); }
.loginBox .lgLogo { box-shadow: 0 0 0 3px var(--am-green), 0 0 20px rgba(124,255,43,.4); }

/* Settings like a phone: groups of rows (icon · name · current value · ›); each row opens its own page */
.setHome h1 { margin-bottom: 14px; }
.setGroup { margin-bottom: 18px; }
.setGroupT { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin: 0 6px 8px; }
.setList { border: 1.4px solid var(--am-line); border-radius: 20px; overflow: hidden; background: var(--am-glass); backdrop-filter: blur(10px); }
.setRow { display: flex; align-items: center; gap: 14px; padding: 13px 14px; text-decoration: none; color: #eef3f8; min-height: 64px; }
.setRow + .setRow { border-top: 1px solid rgba(160,190,230,.09); }
.setRow:hover, .setRow:active { background: rgba(124,255,43,.06); }
.setIco { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; flex: none;
  background: color-mix(in srgb, var(--c) 16%, transparent); border: 1.4px solid color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 0 12px color-mix(in srgb, var(--c) 22%, transparent); }
.setTxt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.setTxt b { font-size: 15.5px; font-weight: 700; }
.setTxt small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.setGo { color: var(--muted); font-size: 26px; line-height: 1; flex: none; }
.setPage h1 { margin: 8px 0 14px; }
.setBack { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--am-green); font-weight: 800; font-size: 16px; padding: 6px 2px; }
.setBack:hover { text-decoration: underline; }

.pilotItem { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--am-line); border-radius: 12px; margin: 0; }
.pilotItem span:nth-child(2) { flex: 1; }
.trainRow { display: grid; grid-template-columns: 100px auto 1fr; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--am-line); border-radius: 12px; background: rgba(8,14,26,.6); }
@media (max-width: 520px) { .trainRow { grid-template-columns: 1fr auto; } .trainRow .muted { grid-column: 1 / -1; } }

/* the printed ID card keeps the academy's own card colour (Setup); only the screen around it changes */

/* step 2 (27 Nov): document scans, approval rows */
.docPick { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.docPrev img { height: 56px; max-width: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--am-line); display: block; }
.kidRow { display: grid; grid-template-columns: 1fr minmax(180px, 300px); gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--am-line); border-radius: 12px; }
@media (max-width: 560px) { .kidRow { grid-template-columns: 1fr; } }
.catChips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .catChips a { text-decoration: none; }
/* step 5 attendance (27 Nov) */
.attRow { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: start; padding: 12px 14px; border-radius: 14px; }
.attKid { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--am-line); border-radius: 12px; }
.attKid.on { border-color: rgba(124,255,43,.6); background: rgba(124,255,43,.06); } .attKid.off { border-color: rgba(255,46,77,.45); opacity: .8; }
.attName { min-width: 0; } .attName b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) { .attKid { grid-template-columns: auto 1fr; } .attKid > .row { grid-column: 1 / -1; justify-content: flex-end; } }
.bigNum { font-size: 28px; font-weight: 800; width: 120px; text-align: center; }
.faceGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.faceItem { border: 1px solid var(--am-line); border-radius: 12px; padding: 8px; display: grid; gap: 6px; } .faceItem.ok { border-color: rgba(124,255,43,.6); }
.faceItem img, .qtPhoto { width: 100%; max-width: 160px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.attHist { display: grid; gap: 6px; font-size: 14px; }
/* tournaments (27 Nov) */
.tourCard { display: block; text-decoration: none; color: inherit; }
.teamDot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; border: 1px solid rgba(255,255,255,.4); }
.shirt { min-width: 28px; text-align: center; padding: 2px 6px; border: 1px solid var(--am-line); border-radius: 8px; cursor: pointer; }
.tMatch { display: grid; grid-template-columns: 160px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--am-line); }
.tTeams { display: flex; gap: 10px; align-items: center; justify-content: center; } .tScore { font-weight: 800; font-size: 18px; min-width: 56px; text-align: center; }
@media (max-width: 640px) { .tMatch { grid-template-columns: 1fr; } .tTeams { justify-content: flex-start; } }
.pickList { max-height: 50vh; overflow: auto; display: grid; gap: 4px; margin-top: 8px; } .pickRow { padding: 4px 6px; border-radius: 8px; } .pickRow:hover { background: rgba(255,255,255,.05); }
.pickRow .av { width: 28px; height: 28px; font-size: 11px; }
/* the printed team list: white paper */
.teamPrint { background: #fff; color: #111; padding: 18px; border-radius: 8px; }
.teamPrint h1, .teamPrint h2 { color: #111; margin: 0 0 4px; } .tpHead { display: flex; gap: 16px; align-items: center; margin: 12px 0 16px; } .tpHead img { height: 72px; }
.tpTable { width: 100%; border-collapse: collapse; } .tpTable th, .tpTable td { border: 1px solid #999; padding: 4px 6px; text-align: start; font-size: 13px; color: #111; }
.tpTable img { width: 44px; height: 58px; object-fit: cover; display: block; }
@media print { body.printMode { background: #fff !important; } body.printMode .noPrint, body.printMode .badgePilot { display: none !important; } .teamPrint { padding: 0; } }.teamPrint .tpTable th { background: #eee !important; color: #111 !important; } .teamPrint .noPrint a.btn { color: #111; border-color: #999; background: #f4f4f4; }