/* Shared event and monitor styles. */
:root { font: 14px Arial, Helvetica, sans-serif; color: #071c32; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; border-top: 5px solid #344032; }
[hidden] { display: none !important; }
.event-header { width: min(800px, calc(100% - 40px)); margin: 0 auto; }
.banner { display: block; width: 100%; height: auto; }
.registration { width: min(660px, calc(100% - 40px)); margin: 20px auto 0; }
h1 { margin: 0 0 9px; font-size: 29px; font-weight: 400; }
.registration h1 { text-align: center; }
h2 { margin: 28px 0 20px; font-size: 23px; font-weight: 400; }
p { line-height: 1.5; }
.intro { margin: 0 0 30px; text-align: center; }
.required-note { font-size: 12px; color: #63758a; }
b { color: #d42c38; font-weight: 400; }
label:not(.check) { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
input:not([type="checkbox"]), select {
  width: 100%; min-width: 0; height: 38px; padding: 8px 10px; border: 1px solid #d3d7db;
  border-radius: 4px; background: #fff; color: inherit; font: inherit;
}
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible, .table-wrap:focus-visible {
  outline: 2px solid #008ac2; outline-offset: 3px;
}
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.consents { margin-top: 30px; font-size: 13px; line-height: 1.5; }
.consents p { margin: 26px 0 9px; }
.check { display: flex; align-items: flex-start; gap: 9px; margin: 10px 0 20px; cursor: pointer; }
.check input { flex-shrink: 0; margin: 3px 0 0; accent-color: #0079bd; }
a { color: #0078c7; text-decoration: underline; }
button {
  display: inline-block; min-width: 110px; padding: 12px 27px; border: 0; border-radius: 25px;
  background: #071c32; color: #fff; font: inherit; cursor: pointer;
}
button:hover { background: #123b5e; }
button:disabled { opacity: .6; cursor: default; }
.secondary { color: #071c32; background: #edf2f6; }
.secondary:hover { background: #dfe8ee; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 34px 0 40px; }
.trap { position: absolute; left: -9999px; }
.error { padding: 13px 15px; background: #fff0f0; color: #a61b29; }
.status { line-height: 1.5; overflow-wrap: anywhere; }
.status:empty { display: none; }
#review, #confirmation { outline: none; }
#review h2 { text-align: center; }
#review-details > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid #e4e9ee; }
dt { color: #52667b; }
dd { margin: 0; overflow-wrap: anywhere; }
#confirmation { padding: 35px 0; text-align: center; }
.success-icon { color: #16815a; font-size: 36px; }
footer { margin: 40px auto 18px; padding: 0 20px; color: #687c91; text-align: center; font-size: 10px; }
footer img { display: block; width: 150px; height: auto; margin: 0 auto 26px; }
footer nav, footer p { line-height: 1.8; }

/* Organizer login and authenticated monitor. */
.monitor-page { min-height: 100vh; background: #f6f8fb; }
.monitor { width: min(1440px, calc(100% - 64px)); margin: 30px auto 50px; }
.monitor-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 26px; }
.small-logo { display: block; width: 110px; height: auto; margin-bottom: 18px; }
.eyebrow { font-size: 11px; letter-spacing: .1em; color: #52667b; }
.card { padding: 26px; border: 1px solid #dfe6ed; border-radius: 9px; background: #fff; }
.login-card { max-width: 440px; margin: 35px 0; }
.login-card h2 { margin-top: 0; }
.login-card p { color: #52667b; margin-bottom: 24px; }
.stats { display: flex; gap: 20px; margin: 28px 0; }
.stats .card { flex: 1; max-width: 330px; }
.stats span { display: block; color: #52667b; }
.stats strong { display: block; margin-top: 14px; font-size: 34px; font-weight: 400; }
.toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin: 25px 0; }
.toolbar label { flex: 1; min-width: 180px; margin: 0; }
.toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar button { padding: 11px 19px; }
.muted { color: #63758a; font-size: 12px; line-height: 1.6; }
.table-wrap { max-width: 100%; overflow: auto; border: 1px solid #dfe6ed; border-radius: 6px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
td, th { padding: 15px 13px; text-align: left; border-bottom: 1px solid #e4e9ee; }
th { white-space: nowrap; background: #edf2f7; font-weight: 600; }
td { min-width: 130px; max-width: 340px; overflow-wrap: anywhere; vertical-align: top; }
td:nth-child(2) { min-width: 180px; }
tbody tr:hover { background: #f8fbfd; }
.setup { width: min(500px, calc(100% - 32px)); margin: 35px auto; }
.setup h1 { font-size: 26px; }
@media (max-width: 600px) {
  .event-header, .registration { width: calc(100% - 32px); }
  h1 { font-size: 25px; }
  .columns { grid-template-columns: 1fr; gap: 0; }
  #review-details > div { grid-template-columns: 1fr; gap: 5px; }
  .monitor { width: calc(100% - 32px); margin-top: 22px; }
  .monitor-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .stats { gap: 12px; }
  .stats .card { padding: 18px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar label { min-width: 0; }
}
