/* Shared registration form styles */
.reg-wrap { max-width: 760px; margin: 0 auto; padding: 80px 24px 120px; }

/* Conference switcher */
.conf-switcher { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 28px; }
.conf-switch-item { display: flex; flex-direction: column; padding: 12px 14px; background: #111; border: 1px solid #222; border-radius: 8px; text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.conf-switch-item:hover { border-color: var(--accent); background: rgba(57,255,20,0.04); }
.conf-switch-item.current { border-color: var(--accent); background: rgba(57,255,20,0.06); pointer-events: none; }
.conf-switch-state { font-family: 'Orbitron', sans-serif; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.conf-switch-item.current .conf-switch-state { color: var(--accent); }
.conf-switch-city { font-weight: 700; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 2px; }
.conf-switch-item.current .conf-switch-city { color: #fff; }
.conf-switch-date { font-family: 'Orbitron', sans-serif; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.06em; color: rgba(255,255,255,0.3); }
.conf-switch-item.current .conf-switch-date { color: var(--accent); }
@media (max-width: 540px) {
  .conf-switcher { grid-template-columns: repeat(2, 1fr); }
}

.event-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 40px;
}
.event-card .state-pill {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.event-card h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.1; margin-bottom: 10px; }
.event-card .event-meta { color: rgba(255,255,255,0.55); font-size: 0.95rem; line-height: 1.7; }
.event-card .event-meta strong { color: #fff; }

.reg-type-toggle {
  display: flex;
  gap: 0;
  border: 1px solid #333;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 36px;
}
.reg-type-btn {
  flex: 1;
  padding: 14px;
  background: #111;
  color: rgba(255,255,255,0.5);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.reg-type-btn.active { background: var(--accent); color: #000; }
.reg-type-btn:first-child { border-right: 1px solid #333; }

.reg-form { display: none; }
.reg-form.active { display: block; }

.form-section-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #222;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-grid.full { grid-template-columns: 1fr; }
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 7px;
}
.form-label span { color: rgba(255,255,255,0.35); font-family: 'DM Sans', sans-serif; text-transform: none; letter-spacing: 0; font-size: 0.75rem; font-weight: 400; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #111;
  border: 1px solid #2a2a2a;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 13px 15px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  box-sizing: border-box;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); }
.form-textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2339FF14' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-select option { background: #111; }

/* Attendee rows (groups) */
.attendee-list { margin-bottom: 12px; }
.attendee-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}
.attendee-row input { margin-bottom: 0; }
.remove-btn {
  background: none;
  border: 1px solid #333;
  color: rgba(255,255,255,0.4);
  border-radius: 6px;
  width: 36px;
  height: 42px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.remove-btn:hover { border-color: #ff4444; color: #ff4444; }
.add-attendee-btn {
  background: none;
  border: 1px dashed #333;
  color: var(--accent);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  margin-bottom: 8px;
}
.add-attendee-btn:hover { border-color: var(--accent); background: rgba(57,255,20,0.04); }

.submit-btn {
  width: 100%;
  background: var(--accent);
  color: #000;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 24px;
}
.submit-btn:hover { background: #55ff33; }
.submit-btn:active { transform: scale(0.99); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.success-state {
  display: none;
  text-align: center;
  padding: 60px 24px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: rgba(57,255,20,0.04);
}
.success-state h2 { font-size: 2rem; font-weight: 900; margin-bottom: 12px; }
.success-state p { color: rgba(255,255,255,0.55); line-height: 1.7; }

.error-msg { display: none; color: #ff4444; font-size: 0.85rem; margin-top: 12px; text-align: center; }

@media (max-width: 540px) {
  .form-grid { grid-template-columns: 1fr; }
  .attendee-row { grid-template-columns: 1fr auto; }
  .attendee-row input:last-of-type { display: none; }
  .reg-wrap { padding: 60px 16px 80px; }
  .event-card { padding: 20px 20px; }
  .event-card h1 { font-size: 1.8rem; }
  .reg-type-btn { font-size: 0.6rem; padding: 12px 10px; }
  .submit-btn { padding: 16px; font-size: 0.7rem; }
  .conf-switcher { gap: 6px; }
  .conf-switch-item { padding: 10px 10px; }
  .conf-switch-city { font-size: 0.78rem; }
  .success-state { padding: 40px 16px; }
  .success-state h2 { font-size: 1.5rem; }
}

/* Local info sections */
.local-info { margin-top: 48px; border-top: 1px solid #222; padding-top: 40px; }
.local-section { margin-bottom: 36px; }
.local-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #222;
}
.local-item { margin-bottom: 14px; }
.local-item-name { font-weight: 700; color: #fff; font-size: 0.95rem; margin-bottom: 2px; }
.local-item-addr { color: rgba(255,255,255,0.45); font-size: 0.85rem; }
.local-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--accent);
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.local-link:hover { text-decoration: underline; }
.local-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.local-list li {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid #1a1a1a;
  padding-left: 16px;
  position: relative;
}
.local-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.local-list li a { color: var(--accent); }
