/* Shared by the activation page and the admin page. Same look as the app's License window. */
:root { color-scheme: light; --blue:#1a56a0; --navy:#1a3a6a; --ink:#1a2a3a; --line:#d0d7e2; --red:#c0392b; --green:#1a7a3c; --amber:#b9770e; }
* { box-sizing: border-box; }
body { margin:0; font-family: Arial, Helvetica, sans-serif; background:#eef2f8; color:var(--ink); font-size:15px; line-height:1.45; }
header.top { background: linear-gradient(135deg,var(--navy) 0%,var(--blue) 100%); color:#fff; padding:18px 24px; }
header.top h1 { margin:0; font-size:20px; }
header.top p { margin:4px 0 0; font-size:14px; opacity:.92; }
main { padding:20px 24px 40px; max-width:820px; margin:0 auto; }
main.wide { max-width:1180px; }
.card { background:#fff; border:1px solid var(--line); border-radius:8px; padding:16px 18px; margin-bottom:16px; }
.card h2 { font-size:16px; margin:0 0 8px; }
.card h3 { font-size:14px; margin:14px 0 6px; }
ol.steps { margin:6px 0 12px; padding-left:20px; } ol.steps li { margin-bottom:4px; }
label { display:block; font-weight:bold; font-size:12px; text-transform:uppercase; letter-spacing:.6px; color:var(--blue); margin:10px 0 5px; }
label.plain { text-transform:none; letter-spacing:0; font-weight:normal; color:var(--ink); font-size:14px; display:flex; gap:8px; align-items:center; margin:6px 0; }
textarea, input[type=text], input[type=password], input[type=email], input[type=number], input[type=date], input[type=search], select {
  width:100%; font-size:14px; padding:9px 10px; border:2px solid #d0ddf0; border-radius:6px; background:#fff; color:var(--ink); font-family:inherit; }
textarea, input.mono, .mono { font-family:'Courier New', Consolas, monospace; }
textarea { min-height:84px; resize:vertical; }
textarea.key { min-height:96px; font-size:12px; background:#f6f9fd; }
textarea:focus, input:focus, select:focus { outline:3px solid var(--blue); outline-offset:1px; border-color:var(--blue); }
.row { display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; align-items:center; }
.grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:0 14px; }
button, a.btn { padding:9px 16px; border-radius:6px; font-size:14px; font-weight:bold; cursor:pointer; border:2px solid var(--blue); background:var(--blue); color:#fff; font-family:inherit; text-decoration:none; display:inline-block; }
button.secondary, a.btn.secondary { background:#fff; color:var(--blue); }
button.danger { background:#fff; color:var(--red); border-color:var(--red); }
button.small { padding:4px 9px; font-size:12px; border-width:1px; }
button:disabled { opacity:.5; cursor:default; }
button:focus-visible, a:focus-visible { outline:3px solid #f39c12; outline-offset:2px; }
.muted { color:#5a6b7d; font-size:13px; }
.msg { margin-top:10px; font-size:14px; min-height:1.2em; }
.msg.err, .err { color:var(--red); } .msg.ok, .ok { color:var(--green); }
.result { border:1px solid var(--line); border-left:5px solid var(--green); border-radius:6px; padding:10px 12px; margin-top:12px; background:#fff; }
.result.bad { border-left-color:var(--red); }
.result .head { font-weight:bold; display:flex; gap:10px; flex-wrap:wrap; align-items:baseline; }
.result .facts { font-size:13px; color:#42566b; margin:4px 0 8px; }
.notice { background:#fff8e6; border:1px solid #f0d58a; border-radius:6px; padding:10px 12px; margin-bottom:14px; font-size:14px; }
.notice.bad { background:#fdecea; border-color:#f1b0a8; }
.hidden { display:none !important; }
a { color:var(--blue); }
code { background:#f0f4fb; padding:1px 5px; border-radius:4px; border:1px solid #d0ddf0; font-size:13px; }
table { border-collapse:collapse; width:100%; font-size:13px; }
th, td { text-align:left; padding:7px 8px; border-bottom:1px solid #e3e8f0; vertical-align:top; }
th { font-size:11px; text-transform:uppercase; letter-spacing:.5px; color:#567; white-space:nowrap; }
tr.clickable { cursor:pointer; } tr.clickable:hover { background:#f4f8fd; }
tr.dim td { color:#8a97a6; }
.tablewrap { overflow-x:auto; }
.pill { display:inline-block; padding:1px 8px; border-radius:10px; font-size:11px; font-weight:bold; background:#e8eef7; color:#345; white-space:nowrap; }
.pill.active { background:#dff3e6; color:var(--green); } .pill.unused { background:#e8eef7; } .pill.released { background:#fff1d6; color:var(--amber); }
.pill.revoked, .pill.expired { background:#fde3e0; color:var(--red); }
.tabs { display:flex; gap:6px; margin-bottom:14px; flex-wrap:wrap; }
.tabs button { background:#fff; color:var(--blue); } .tabs button.on { background:var(--blue); color:#fff; }
.spread { display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; align-items:center; }
.checks { display:flex; flex-wrap:wrap; gap:4px 16px; }
footer.foot { max-width:820px; margin:0 auto; padding:0 24px 30px; font-size:12px; color:#5a6b7d; }
@media (max-width:560px){ main { padding:14px 12px 30px; } header.top { padding:14px 12px; } }
.row > input, .row > select { width:auto; flex:1 1 200px; }
.row > input.qty { flex:0 0 90px; }
.row > input[type=file] { border:none; padding:0; flex:1 1 240px; }
.row > label.plain { margin:0; }
td .row { margin-top:0; }
