/* gd-link.css — minimal theme to match the Voting site look */
:root{
  --bg: #131315;          /* dark background */
  --panel: #1E1E1F;       /* card background */
  --text: #e5e7eb;        /* primary text */
  --muted: #9ca3af;       /* secondary text */
  --border: #0E0E0E;      /* panel border */
  --brand-red: #C32A3E;   /* adjust to exact voting red if needed */
  --brand-red-hover: #7F222C;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: radial-gradient(900px 420px at 10% -10%, rgba(201,48,44,.10), transparent 40%),
              radial-gradient(900px 480px at 110% 0%, rgba(255,255,255,.06), transparent 40%),
              var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

a{color: var(--text); text-decoration: none}
a:hover{opacity:.9}

.gd-container{max-width: 980px; margin: 24px auto; padding: 0 16px}

.gd-top{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gd-brand{display:flex; align-items:center; gap:10px;}
.gd-brand img{height:38px; width:auto; display:block}
.gd-brand strong{letter-spacing:.2px}

.gd-card{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.0)), var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

h1,h2,h3{margin: 0 0 10px}
.muted{color: var(--muted)}

.code{background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace}

.row{margin: 14px 0}

.input{
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #131315;
  color: var(--text);
}

.actions{display:flex; gap:12px; flex-wrap:wrap; margin-top: 10px}

.btn{
  display:inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--brand-red);
  color: #fff;
  transition: filter .15s ease, transform .04s ease, background .15s ease;
}
.btn:hover{background: var(--brand-red-hover)}
.btn.secondary{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn.secondary:hover{filter: brightness(1.1)}

.note{font-size: 14px; color: var(--muted); margin-top: 8px}
.ok{color:#10b981} .err{color:#ef4444}
