/* Register flow — denim intro + form pages */
.register-page {
  min-height: 100svh;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  letter-spacing: normal;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(22, 66, 191, 0.55), transparent 70%),
    linear-gradient(180deg, var(--color-cobalt-deep) 0%, var(--color-cobalt-ink) 55%, #06102e 100%);
}

.register-page,
.register-page button,
.register-page input,
.register-page textarea,
.register-page select,
.register-page .btn,
.register-page a {
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

.register-page .btn {
  letter-spacing: 0.02em;
  text-transform: none;
}

.register-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  width: min(100%, 40rem);
  margin: 0 auto;
  padding: 1.15rem 1.25rem 0.5rem;
}

.register-back {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.register-back:hover {
  color: var(--color-yellow);
}

.register-step {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(215, 224, 255, 0.65);
}

.register-intro {
  width: min(100%, 40rem);
  margin: 0 auto;
  padding: 0.75rem 1.25rem 3.5rem;
  display: grid;
  gap: 1.5rem;
}

.register-poster {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 235, 9, 0.08);
  animation: register-rise 0.7s ease both;
}

.register-poster img {
  width: 100%;
  height: auto;
}

.register-copy {
  display: grid;
  gap: 1rem;
  animation: register-rise 0.7s ease 0.12s both;
}

.register-lead {
  margin: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--color-yellow);
}

.register-copy p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.register-cue {
  color: var(--color-white) !important;
  font-weight: 600;
}

.register-next {
  justify-self: center;
  min-width: 10rem;
  margin-top: 0.5rem;
}

@keyframes register-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .register-poster,
  .register-copy {
    animation: none;
  }
}

/* Form step shell (next page) */
.register-form-shell {
  width: min(100%, 28rem);
  margin: 0 auto;
  padding: 1rem 1.25rem 3.5rem;
  animation: register-rise 0.55s ease both;
}

.register-form-shell h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  letter-spacing: 0.01em;
  text-transform: none;
}

.register-form-shell .section-copy {
  margin: 0 0 1.5rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.people-primary-name {
  color: var(--color-yellow);
  font-weight: 700;
}

.people-tip {
  margin: -0.65rem 0 1.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-white);
  border: 1px solid rgba(255, 235, 9, 0.35);
  background: rgba(255, 235, 9, 0.1);
}

.people-tip[hidden] {
  display: none;
}

.info-form {
  display: grid;
  gap: 1rem;
}

.info-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.info-form input,
.info-form select {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: none;
}

.info-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.info-form select option {
  color: var(--color-ink);
}

.info-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.55rem;
}

.info-fieldset legend {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.info-name-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 520px) {
  .info-name-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field-caption {
  display: inline;
}

.req {
  color: var(--color-orange);
  margin-left: 0.15em;
}

.info-radio > legend {
  display: inline-block;
  color: var(--color-yellow);
  animation: register-more-pulse 1.4s ease-in-out 2;
}

@keyframes register-more-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    text-shadow: none;
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
    text-shadow: 0 0 14px rgba(255, 235, 9, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .info-radio > legend {
    animation: none;
  }
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.radio-option {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 0.55rem !important;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.85rem !important;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-transform: uppercase;
}

.radio-option input {
  width: auto;
  min-height: auto;
  margin: 0;
  accent-color: var(--color-yellow);
}

.radio-option:has(input:checked) {
  border-color: var(--color-yellow);
  box-shadow: inset 0 0 0 1px var(--color-yellow);
  background: rgba(255, 235, 9, 0.08);
}

.additional-count-field {
  margin-top: 0.35rem;
}

.additional-count-field[hidden] {
  display: none !important;
}

.additional-count-field input[type="number"] {
  max-width: 8rem;
}

#people-fields {
  display: grid;
  gap: 1.25rem;
}

.person-block {
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.person-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.person-block legend {
  color: var(--color-yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.form-actions .btn {
  min-width: 7.5rem;
}

.error {
  color: var(--color-error);
  font-size: 0.85rem;
  margin: 0;
}

.receipt-dialog {
  width: min(calc(100% - 2rem), 26rem);
  max-height: min(90svh, 40rem);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 235, 9, 0.4);
  background: linear-gradient(
    180deg,
    rgba(14, 36, 98, 0.98) 0%,
    rgba(6, 16, 46, 0.98) 100%
  );
  color: var(--color-white);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  overflow: auto;
}

.receipt-dialog::backdrop {
  background: rgba(3, 8, 24, 0.72);
  backdrop-filter: blur(4px);
}

.receipt-dialog__card {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem 1.2rem 1.35rem;
}

.receipt-screenshot-cue {
  margin: 0;
  padding: 0.75rem 0.9rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #1a1400;
  background: var(--color-yellow);
  border: 2px solid var(--color-orange);
  box-shadow: 0 0 0 1px rgba(255, 159, 84, 0.35);
}

.receipt-screenshot-cue strong {
  display: inline;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.receipt-dialog__card h2 {
  margin: 0.15rem 0 0;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  text-transform: none;
  text-align: center;
}

.receipt-dialog__copy {
  margin: 0;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.receipt-dialog__meta {
  margin: 0;
  padding: 0.7rem 0.85rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.receipt-attendees {
  display: grid;
  gap: 0.45rem;
}

.receipt-attendees h3 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-yellow);
}

.receipt-attendees ol {
  margin: 0;
  padding: 0.55rem 0.75rem 0.55rem 1.7rem;
  border: 1px solid rgba(255, 235, 9, 0.22);
  background: rgba(255, 235, 9, 0.06);
}

.receipt-attendees li {
  margin: 0.35rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--color-white);
}

.receipt-attendees .receipt-person-code {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-orange);
}

.receipt-dialog__home {
  justify-self: center;
  min-width: 10rem;
  margin-top: 0.25rem;
}

.receipt-dialog__event {
  margin: 0.15rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}

.register-form-shell--wide {
  width: min(100%, 36rem);
}

.manual-total {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--color-yellow);
}

.manual-block {
  margin: 0 0 1.35rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.manual-block h2 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.manual-block p {
  margin: 0 0 0.75rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.manual-bpi {
  margin: 0 0 1.5rem;
  text-align: center;
}

.manual-bpi img {
  width: min(100%, 22rem);
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #fff;
}

.manual-bpi figcaption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--color-muted);
}

.manual-steps {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.manual-steps li + li {
  margin-top: 0.35rem;
}

.manual-account {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 31, 92, 0.35);
}

.manual-account li {
  display: grid;
  gap: 0.15rem;
}

.manual-account span {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--color-muted);
}

.manual-account strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.manual-warning,
.manual-verify-note {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-muted);
  border: 1px solid rgba(255, 235, 9, 0.28);
  background: rgba(255, 235, 9, 0.06);
}

.manual-verify-note {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.info-form textarea {
  width: 100%;
  min-height: 6rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: none;
  resize: vertical;
}

.proof-upload {
  display: grid;
  gap: 0.45rem;
}

.proof-label {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.proof-drop {
  position: relative;
  display: grid !important;
  place-items: center;
  min-height: 7rem;
  padding: 1rem;
  border: 1px dashed rgba(255, 235, 9, 0.55);
  background: rgba(255, 235, 9, 0.06);
  text-align: center;
  cursor: pointer;
  font-size: 0.9rem !important;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--color-yellow);
}

.proof-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.proof-hint {
  margin: 0;
  font-size: 0.72rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}
