:root{
  --font-pixel: "PressStart2P", monospace;
  --bg:#f4f4f4;
  --ink:#111;
  --card:#fff;
  --muted:#6b7280;
  --primary:#eb2846;
  --primary-dark:#d62828;
  --border:#e6e6e6;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  padding:20px;
  background:var(--bg);
  color:var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.card{
  max-width: 820px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

h1{
  margin: .2rem 0 1rem;
  font-family: var(--font-pixel);
  font-size: 36px;
  line-height: 1.2;
  text-align: center;
}

.help{
  color: var(--muted);
  margin: 0 0 16px 0;
  text-align: center;
}

label{
  display:block;
  margin-bottom: 14px;
  font-size: 14px;
}
input, textarea, select{
  display:block;
  width:100%;
  padding:10px 12px;
  margin-top:6px;
  border:1px solid #d1d5db;
  border-radius:10px;
  font-size:14px;
  font-family: inherit;
}
textarea{ min-height: 96px; resize: vertical; }

.group{
  border: 1px dashed #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 10px 0 14px;
}
.group > legend{
  font-weight: 700;
  font-size: 13px;
  color: #374151;
  padding: 0 6px;
}

.actions{
  display:flex;
  gap:12px;
  justify-content:center;
  margin-top: 18px;
}

.btn{
  font-family: var(--font-pixel);
  font-size: 14px;
  line-height: 1;
  letter-spacing: .3px;
  border: none;
  border-radius: 10px;
  padding: 14px 18px;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
  user-select: none;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover{ filter: brightness(.95); }
.btn-primary:active{ background: var(--primary-dark); }

.btn-secondary{
  background: #6b7280;
  color: #fff;
}
.btn-secondary:hover{ filter: brightness(.95); }

.seller{
  margin-top: 16px;
  font-size: 13.5px;
  color: #374151;
}


/* Stopka – podstawa prawna / polityka zwrotów */
.legal {
  margin-top: 28px;
  padding: 18px 20px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #374151;
}

.legal h2 {
  font-size: 16px;
  margin: 0 0 14px 0;
  font-weight: 700;
  text-align: center;
  font-family: var(--font-pixel);
  color: var(--primary);
}

.legal h3 {
  font-size: 14px;
  margin: 18px 0 6px;
  font-weight: 700;
  color: #111827;
}

.legal p {
  margin: 0 0 12px;
}

.legal b {
  color: #111;
}


/* Linki ogólne */
a {
  color: #d32f2f;                 /* czerwony, pasuje do retro */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover,
a:focus {
  color: #9a1b1b;                 /* ciemniejszy czerwony przy najechaniu */
  text-decoration: underline;
  text-decoration-color: #9a1b1b;
}

/* Linki wewnątrz sekcji prawnych (legal) */
.legal a {
  color: #2563eb;                 /* niebieski – czytelny dla dokumentów */
  font-weight: 500;
}

.legal a:hover,
.legal a:focus {
  color: #1e3a8a;                 /* ciemniejszy niebieski na hover */
  text-decoration: underline;
}
