/* Registration + organiser pages */
.form-page { padding: 48px 0 72px; }
.wrap.narrow { max-width: 720px; }
.form-page h1 { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.15; margin: 0 0 8px; }
.form-page h2 { font-size: 1.5rem; margin-top: 40px; }
.form-page h4 { margin: 14px 0 4px; font-size: 15px; }
.lead-dark { font-size: 1.1rem; color: var(--muted); margin-bottom: 24px; }

.testmode { background: #ffd27a; color: #4a3500; text-align: center; font-weight: 600; font-size: 14px; padding: 8px 16px; }
.notice { background: #fff7e6; border: 1px solid #f3d9a4; border-radius: 12px; padding: 14px 18px; margin: 16px 0; word-break: break-word; }
.errors { background: #fdecee; border: 1px solid #f1b8c1; color: var(--red-dark); border-radius: 12px; padding: 14px 18px; margin: 16px 0; }
.errors ul { margin: 6px 0 0; padding-left: 20px; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 20px; }
.how > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 15px; }
.step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; margin-right: 8px; }
.availability { margin: 0 0 20px; }

.reg-form fieldset { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 22px; margin: 0 0 18px; }
.reg-form legend { font-weight: 700; font-size: 1.05rem; padding: 0 6px; }
.reg-form label { display: block; font-weight: 500; margin: 0 0 14px; }
.reg-form input[type=text], .reg-form input[type=number], .reg-form input[type=email], .reg-form input[type=tel], .reg-form input[type=password], .reg-form select, .reg-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; font-size: 16px;
  border: 1px solid #cfc5c0; border-radius: 10px; background: #fff; color: var(--ink);
}
.reg-form select { text-overflow: ellipsis; }
.reg-form input:focus, .reg-form select:focus, .reg-form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.opt { color: var(--muted); font-weight: 400; }
.hint { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.center { text-align: center; }

.ticket { display: grid !important; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; margin-bottom: 10px !important; }
.ticket:hover { border-color: #d9a3ad; }
.ticket:has(input:checked) { border-color: var(--red); background: #fdf3f5; box-shadow: 0 0 0 1px var(--red); }
.ticket input { width: 18px; height: 18px; accent-color: var(--red); }
.t-price { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.2rem; text-align: right; }
.t-price em { display: block; font-family: "Inter", sans-serif; font-style: normal; font-size: 12px; font-weight: 600; color: var(--red-dark); text-transform: uppercase; letter-spacing: .06em; }
.ticket.is-full .t-label { color: var(--muted); }

.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.consent { background: #fdf3f5; border-radius: 10px; padding: 12px; }

.btn-block { width: 100%; justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 17px; padding: 15px; }

.success-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 30px; margin-bottom: 14px; }
.summary ul, ul.plain { list-style: none; padding: 0; margin: 0; }
.summary li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.summary li:last-child { border-bottom: 0; }
.card.summary { margin: 0 0 18px; }

/* organiser */
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 20px 0; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; color: var(--muted); font-size: 14px; }
.stat span { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.8rem; font-weight: 700; color: var(--ink); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #faf6f3; font-weight: 600; }
td.small { font-size: 13px; color: var(--muted); }
td.acts { white-space: nowrap; }
form.inline { display: inline; }
.mini { display: inline-block; font: inherit; font-size: 13px; font-weight: 600; padding: 6px 10px; margin: 2px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; }
.mini:hover { border-color: var(--red); color: var(--red); }
.mini.danger { background: var(--red); border-color: var(--red); color: #fff; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #fdecee; color: var(--red-dark); }

@media (max-width: 640px) {
  .how { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .reg-form fieldset { padding: 16px; }
}
.linkbox { width: 260px; font: inherit; font-size: 12px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; margin: 2px; }
.guest-code { background: #fdf3f5; border: 1px solid #f1c7cf; border-radius: 12px; padding: 14px; margin-top: 4px !important; }
.guest-code .hint { display: block; font-weight: 400; }
.reg-form [hidden] { display: none !important; }
.t-code { font-family: "Inter", sans-serif; font-size: 13px; font-weight: 600; color: var(--red-dark); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.mini.armed { background: #ffd27a; border-color: #e0a92e; color: #4a3500; }
.confirm-note { display: block; white-space: normal; font-size: 12px; color: var(--red-dark); max-width: 260px; margin: 2px; }
