/* AlgoHand customer portal — on top of the site styles */
body.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.authbox { width: 100%; max-width: 440px; background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.tabs { display: flex; gap: 6px; background: var(--bg3); border-radius: 10px; padding: 4px; margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; background: transparent; color: var(--ink2); font: inherit; font-weight: 600; padding: 8px; border-radius: 8px; cursor: pointer; }
.tabs button.on { background: var(--bg2); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
[hidden] { display: none !important; }
.lead label.check { display: flex !important; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink2); line-height: 1.45; text-transform: none; letter-spacing: 0; font-weight: 400; }
.lead label.check input { width: auto !important; flex: 0 0 auto; margin: 3px 0 0; }
.dash section { padding: 28px 0; }
.rowhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.vps { padding: 18px 20px; }
.vps .head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.vps .head h3 { font-size: 18px; margin: 0; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink3); }
.status.online::before { background: var(--ok); } .status.offline::before { background: var(--bad); } .status.degraded::before { background: var(--warn); }
.vps .meta { color: var(--ink3); font-size: 13px; margin-top: 4px; }
.acct { border-top: 1px solid var(--line); padding: 12px 0 4px; margin-top: 12px; }
.acct .line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.acct .line b { font-weight: 650; }
.acct .nums { font-family: "IBM Plex Mono", monospace; font-size: 13.5px; color: var(--ink2); }
.ea { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--ink2); padding: 3px 0; }
.ea .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 7px; }
.ea .dot.paused { background: var(--warn); } .ea .dot.unknown, .ea .dot.error { background: var(--bad); }
.cmd { white-space: pre-wrap; word-break: break-all; font-size: 12.5px; }
.steps-inline { color: var(--ink2); font-size: 14px; padding-left: 20px; margin: 10px 0; }
.steps-inline li { margin: 4px 0; }
.keyrow { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; align-items: center; }
.keyrow:first-child { border-top: 0; }
.keyrow .muted { font-size: 13px; }
.kill { background: none; border: 1px solid var(--line); color: var(--ink2); border-radius: 8px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.kill:hover { border-color: var(--bad); color: var(--bad); }
.empty { color: var(--ink2); }
footer .legal a { display: inline; margin: 0; }
/* the dashboard header keeps its buttons in one row on phones (the site's nav collapses behind a toggle) */
.top nav.main { display: flex !important; position: static; flex-direction: row; align-items: center; gap: 12px; padding: 0; border: 0; background: none; }
.top nav.main .btn { white-space: nowrap; }
@media (max-width: 720px) {
  .top .wrap { height: auto; min-height: 56px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
  .top nav.main { gap: 8px; }
  .top nav.main #who { display: none; }
}
