/* Account screens: same liquid-glass look as the app (static/glass.css). */
:root {
  --panel: rgba(28, 38, 52, .30); --edge: rgba(255, 255, 255, .20); --hi: rgba(255, 255, 255, .32);
  --text: #f2f6fa; --muted: #a7b6c6; --accent: #5ac8fa; --ok: #3fb950; --bad: #f85149; --warn: #d29922;
}
* { box-sizing: border-box; }
html { background: #0c1320; min-height: 100%; }
html, body { margin: 0; }
body { min-height: 100vh; }
body {
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--text);
  background:
    radial-gradient(1100px 700px at 12% -10%, rgba(64, 140, 255, .55), transparent 60%),
    radial-gradient(900px 650px at 95% 10%, rgba(170, 90, 255, .42), transparent 62%),
    radial-gradient(1000px 800px at 60% 115%, rgba(0, 200, 170, .38), transparent 60%),
    linear-gradient(160deg, #0b1424, #101a2c 45%, #0c1320);
  background-attachment: fixed; -webkit-font-smoothing: antialiased;
  padding: max(24px, env(safe-area-inset-top)) 16px 32px;
}
main { max-width: 460px; margin: 0 auto; }
main.wide { max-width: 980px; }
.brand { font-weight: 700; font-size: 18px; margin: 8px 6px 14px; letter-spacing: .2px; }
.glass, .card, .tabs, .btn, input, select {
  background: var(--panel); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  border: 1px solid var(--edge); box-shadow: inset 0 1px 0 var(--hi), 0 10px 30px rgba(0, 0, 0, .28);
}
.glass { border-radius: 22px; padding: 22px; }
h1 { font-size: 24px; margin: 0 0 4px; }
.sub { color: var(--muted); margin: 0 0 14px; }
a { color: var(--accent); }
label { display: block; font-weight: 600; margin: 14px 0 6px; }
label .opt { color: var(--muted); font-weight: 400; }
input, select { width: 100%; font: inherit; color: var(--text); border-radius: 14px; padding: 11px 13px; box-shadow: inset 0 1px 0 var(--hi); }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
input::placeholder { color: #8796a6; }
select option { color: #111; }
.hint { color: var(--muted); font-size: 14px; margin-top: 4px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 16px 0; }
label.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; padding: 0; accent-color: var(--accent); }
label.check.sm { margin: 6px 0; font-size: 14px; }
.btn { display: inline-block; font: inherit; color: var(--text); border-radius: 999px; padding: 10px 18px; cursor: pointer; text-decoration: none; transition: transform .12s; }
.btn:hover { background: rgba(255, 255, 255, .14); }
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(180deg, rgba(120, 215, 255, .92), rgba(60, 170, 240, .92)); color: #00253a; font-weight: 700; border-color: rgba(255, 255, 255, .55); }
form > .btn.primary { width: 100%; margin-top: 18px; padding: 12px; }
.btn.danger { background: rgba(248, 81, 73, .30); }
form.inline { margin-top: 10px; }
.msg { border-radius: 14px; padding: 10px 13px; margin: 12px 0; background: rgba(90, 200, 250, .16); border: 1px solid rgba(90, 200, 250, .4); }
.msg.ok { background: rgba(63, 185, 80, .18); border-color: rgba(63, 185, 80, .5); }
.msg.bad { background: rgba(248, 81, 73, .18); border-color: rgba(248, 81, 73, .55); }
.alt { margin: 16px 0 0; color: var(--muted); text-align: center; }
.foot { text-align: center; color: var(--muted); font-size: 14px; }
ul { padding-left: 20px; }
code, .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; }
/* admin */
.tabs { display: flex; flex-wrap: wrap; gap: 2px; border-radius: 999px; padding: 4px; margin: 14px 0; }
.tabs a { color: var(--muted); text-decoration: none; padding: 7px 15px; border-radius: 999px; }
.tabs a.on { background: rgba(255, 255, 255, .22); color: #fff; }
.tabs a:last-child { margin-left: auto; }
.card { border-radius: 18px; padding: 14px 16px; margin: 10px 0; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill { font-size: 13px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.s-approved { background: rgba(63, 185, 80, .30); } .s-pending { background: rgba(210, 153, 34, .32); }
.s-denied, .s-revoked { background: rgba(248, 81, 73, .30); } .s-unverified { background: rgba(255, 255, 255, .12); }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 3px 12px; margin: 10px 0; font-size: 15px; }
.kv > span:nth-child(odd) { color: var(--muted); }
.acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
form.act { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
form.act input { padding: 8px 11px; }
.acts .btn { padding: 8px 15px; }
details summary { cursor: pointer; color: var(--muted); margin: 6px 0; }
details.del { width: 100%; }
form.search { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
form.search input { flex: 1 1 220px; width: auto; } form.search select { width: auto; }
form.codeform { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; align-items: end; margin-top: 8px; }
form.codeform label { margin: 0; font-weight: 400; font-size: 14px; color: var(--muted); }
form.codeform input { margin-top: 4px; }
table.log { width: 100%; border-collapse: collapse; font-size: 14px; }
table.log th, table.log td { text-align: left; padding: 6px 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); vertical-align: top; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv > span:nth-child(odd) { margin-top: 6px; } }
@media (prefers-reduced-transparency: reduce) { .glass, .card, .tabs, .btn, input, select { background: #18222e; backdrop-filter: none; -webkit-backdrop-filter: none; } }
