/* ── live.hothunthub.com styles ─────────────────────────────────────
   Dark HHH theme. Mobile-first (buyers arrive from the TikTok bio). */

:root {
  --bg:     #0a0a0c;
  --bg2:    #141418;
  --bg3:    #1c1c22;
  --red:    #e8253a;
  --gold:   #f5a623;
  --green:  #34c759;
  --text:   #f5f5f7;
  --muted:  #a0a0a8;
  --sub:    #c7c7cf;
  --border: #2a2a30;
  --border2:#3a3a44;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 40px;
}

.glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(232,37,58,.14), transparent 70%),
    radial-gradient(50% 40% at 100% 100%, rgba(245,166,35,.08), transparent 70%);
}

.topbar {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.linkbtn {
  background: none; border: none; color: var(--muted);
  font-family: inherit; font-size: 14px; cursor: pointer; padding: 6px 4px;
}
.linkbtn:hover { color: var(--text); }

.card {
  position: relative; z-index: 1;
  width: 100%; max-width: 440px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.card.wide { max-width: 560px; }
.card.hero { text-align: center; }


.brand-logo { display: block; height: 52px; width: auto; max-width: 86%; margin: 0 0 18px; }
.hero .brand-logo { margin-left: auto; margin-right: auto; height: 64px; }

/* brand */
.brand {
  font-family: "Oswald", sans-serif;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; font-size: 26px;
  margin-bottom: 18px;
}
.brand .flame { margin-right: 6px; }
.brand-word { color: var(--text); }
.brand-word.red { color: var(--red); font-style: italic; }
.hero .brand { font-size: 30px; }

.eyebrow {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase; letter-spacing: 2px;
  font-size: 12px; color: var(--gold); font-weight: 600;
  margin-bottom: 6px;
}

h1 { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 30px; line-height: 1.1; margin: 4px 0 12px; }
h2 { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 24px; margin: 2px 0 10px; }

.sub { color: var(--sub); font-size: 15px; line-height: 1.5; margin: 0 0 20px; }
.sub.small { font-size: 14px; margin-bottom: 16px; }
.fineprint { color: var(--muted); font-size: 12.5px; margin: 14px 0 0; }

/* buttons */
.btn {
  width: 100%; border: none; border-radius: 12px;
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 1px;
  font-size: 16px; font-weight: 600; padding: 14px 18px; cursor: pointer;
  transition: transform .05s ease, filter .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-primary { background: linear-gradient(135deg, var(--red), #c41d30); color: #fff; }
.btn-primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn-ghost { background: var(--bg3); color: var(--text); border: 1px solid var(--border2); }
.btn.small { width: auto; font-size: 13px; padding: 8px 14px; letter-spacing: .5px; }

/* tabs */
.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tab {
  flex: 1; background: var(--bg3); border: 1px solid var(--border);
  color: var(--muted); border-radius: 10px; padding: 10px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600;
}
.tab.active { color: var(--text); border-color: var(--red); background: #20141a; }

/* fields */
.field { display: block; margin-bottom: 14px; }
.field-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field-label .opt { color: var(--border2); font-weight: 400; }
.input {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--border2); border-radius: 10px;
  padding: 12px 13px; font-family: inherit; font-size: 15px;
}
.input:focus { outline: none; border-color: var(--red); }
select.input { appearance: none; -webkit-appearance: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.tt-wrap { display: flex; align-items: center; }
.tt-at {
  background: var(--bg3); border: 1px solid var(--border2); border-right: none;
  border-radius: 10px 0 0 10px; padding: 12px 11px; color: var(--muted); font-size: 15px;
}
.tt-input { border-radius: 0 10px 10px 0; }

/* alerts */
.alert { border-radius: 10px; padding: 11px 13px; font-size: 14px; margin: 4px 0 14px; }
.alert.err { background: #2a1416; border: 1px solid #5a2026; color: #ff8a92; }
.alert.ok  { background: #12231a; border: 1px solid #1f5a36; color: #8af0ad; }
.alert.ok.soft { background: #1a1810; border-color: #4a3a18; color: var(--gold); }

/* badges */
.badge {
  display: inline-block; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.badge-ok    { background: #12231a; color: #8af0ad; border: 1px solid #1f5a36; }
.badge-warn  { background: #1f1a10; color: var(--gold); border: 1px solid #4a3a18; }
.badge-muted { background: var(--bg3); color: var(--muted); border: 1px solid var(--border); }

/* dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.rates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0 6px; }
.rate-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px 10px; text-align: center; }
.rate-name { font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; color: var(--sub); }
.rate-hint { font-size: 11px; color: var(--muted); margin: 3px 0 8px; min-height: 28px; }
.rate-price { font-family: "Oswald", sans-serif; font-size: 24px; font-weight: 700; color: var(--gold); }
.rate-carrier { font-size: 11px; color: var(--muted); margin-top: 3px; }

.addr-box { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-top: 16px; }
.addr-title { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.addr-line { font-size: 14px; line-height: 1.5; }
.addr-line.muted { color: var(--muted); margin-top: 4px; }

.rate-note {
  background: #1a1810; border: 1px solid #4a3a18; color: var(--gold);
  border-radius: 10px; padding: 11px 13px; font-size: 13.5px; line-height: 1.45;
  margin: 14px 0 4px;
}
.rate-note b { color: #ffce7a; }

/* admin */
.admin-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.admin-row { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.admin-row-head {
  width: 100%; display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto auto; gap: 8px; align-items: center;
  background: none; border: none; color: var(--text); cursor: pointer;
  padding: 12px 14px; font-family: inherit; text-align: left;
}
.ar-tt { font-weight: 600; color: var(--gold); font-size: 14px; }
.ar-name { font-size: 13px; color: var(--sub); }
.ar-loc { font-size: 13px; color: var(--muted); }
.ar-status { font-size: 13px; color: var(--muted); justify-self: end; }
.ar-status.ok { color: #8af0ad; }
.ar-status.warn { color: var(--gold); }
.ar-chev { color: var(--muted); justify-self: end; }
.admin-detail { padding: 0 14px 14px; border-top: 1px solid var(--border); }
.ad-grid { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--sub); margin: 12px 0; }
.ad-grid b { color: var(--muted); font-weight: 600; }

.footnote { position: relative; z-index: 1; color: var(--border2); font-size: 12px; margin-top: 26px; }

@media (max-width: 480px) {
  .rates { grid-template-columns: 1fr; }
  .rate-hint { min-height: 0; }
  .admin-row-head { grid-template-columns: 1fr auto; row-gap: 4px; }
  .ar-name, .ar-loc { grid-column: 1; }
}
