/* Chordality shared theme */

:root {
  --ink: #f2f5f7;
  --ink-soft: #b8ccd6;
  --bg: #080e1f;
  --panel: rgba(255, 255, 255, 0.045);
  --shadow: rgba(0, 0, 0, 0.5);
  --deep: rgb(9, 17, 37);
  --bright: rgb(255, 84, 50);
  --plasma: rgb(248, 45, 255);
  --border: rgba(255, 255, 255, 0.08);
  --success: #4ade9a;
  --warning: rgb(250, 190, 80);
}

@font-face {
  font-family: "Bitcount";
  src: url("BitcountPropSingle-VariableFont_CRSV,ELSH,ELXP,slnt,wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Dot";
  src: url("DotGothic16-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
}

/* ── Logo pill ─────────────────────────────────────────────────────────────── */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--deep);
  border-radius: 999px;
  box-shadow: 0 10px 30px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: block;
}

.logo span {
  font-family: "Bitcount", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 520;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--bright);
}

.back-link {
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}

/* ── Panel / card ──────────────────────────────────────────────────────────── */

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px var(--shadow);
  border-radius: 28px;
  padding: 28px 24px 34px;
}

/* ── Pill badge ────────────────────────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 84, 50, 0.15);
  color: var(--bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(120deg, var(--bright), var(--plasma));
  color: white;
  box-shadow: 0 12px 24px rgba(255, 84, 50, 0.35);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 84, 50, 0.4);
}

.button-primary:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

/* ── Forms ─────────────────────────────────────────────────────────────────── */

label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

textarea { min-height: 180px; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(255, 84, 50, 0.25);
  border-color: rgba(255, 84, 50, 0.5);
}

select option { background: #0f1a2e; color: var(--ink); }

/* ── Footer ────────────────────────────────────────────────────────────────── */

footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-soft);
  gap: 12px;
  flex-wrap: wrap;
}

footer a { color: inherit; }
