/* Portal layout, drawn in the same hand-sketched style as the PLO website (theme.css). */

a,
div,
p,
span,
li,
td,
th,
label {
  font-size: 1.2rem;
}
h1 {
  font-size: 3.2rem;
  text-align: center;
  margin: 20px 0;
}
h2 {
  text-align: center;
  margin: 35px 0 15px;
}
main {
  padding-bottom: 40px;
}

.navbar {
  margin: 10px 0 20px;
  border-width: 2px;
  border-style: solid;
  border-color: #333;
  border-radius: 25px 25px 55px 5px/5px 55px 25px 25px;
}
.navbar-brand img {
  height: 36px;
  margin-right: 6px;
}

.card {
  margin-bottom: 25px;
}
.lead-center {
  text-align: center;
}
.small-note,
.small-note a {
  font-size: 1rem;
  color: #555;
}

form.lookup {
  max-width: 420px;
  margin: 0 auto 20px;
}

table.details {
  max-width: 640px;
  margin: 0 auto 25px;
}
table.details th {
  width: 40%;
  background: #f7f7f7;
}
table.details tr.total td,
table.details tr.total th {
  font-weight: 700;
  background: #faf884;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.switch-card.is-open {
  border-color: #28a745;
  background: #eaffea;
}
.switch-card.is-closed {
  background: #fff8e1;
}
.switch-state {
  font-weight: 700;
}
.upload-errors {
  max-height: 320px;
  overflow-y: auto;
}
.upload-errors li {
  font-size: 1rem;
}
.one-ticket {
  margin: 10px 0;
}
.danger-zone {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 2px dashed #ddd;
}
.danger-zone label {
  font-size: 1rem;
  display: block;
}

.portal-footer {
  border-top: 2px solid #333;
  border-radius: 255px 25px 0 25px/25px 225px 25px 0;
  padding: 20px 10px 30px;
  text-align: center;
}

/* "Please write to us" box on the sign-in page */
.notice-box {
  max-width: 760px;
  margin: 30px auto 10px;
  padding: 14px 22px;
  border: 2px solid #333;
  border-radius: 255px 25px 225px 25px/25px 225px 25px 255px;
}
.notice-box p,
.notice-box li,
.notice-box a,
.notice-box em,
.notice-box strong {
  font-size: 1.1rem;
}
.notice-box ol {
  margin-bottom: 0;
  padding-left: 1.4rem;
}
.notice-box li + li {
  margin-top: 0.4rem;
}

/* Hint under the PLO Registration ID field */
.field-hint {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  color: #555;
}

/* Sign-in page: what each group of students gets after signing in */
.signin-cases {
  max-width: 640px;
  margin: 0 auto 18px;
  font-size: 1.05rem;
}
.signin-cases ul {
  margin-bottom: 0;
  padding-left: 1.4rem;
}
.notice-box ol li + li {
  margin-top: 0.4rem;
}

/* Student page: choosing a centre, one option per centre with its venue */
.centre-choice {
  max-width: 760px;
  margin: 0 auto;
}
.centre-options legend {
  font-size: 1.1rem;
}
.centre-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 8px;
  padding: 8px 12px;
  border: 1px solid #bbb;
  border-radius: 6px;
  cursor: pointer;
}
.centre-choice [type="radio"],
.centre-choice [type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 5px 6px 0 0;
  vertical-align: top;
}
/* The theme draws these offset for its own padded labels; here they sit in their own 18px box. */
.centre-choice [type="radio"]:before,
.centre-choice [type="checkbox"]:before {
  left: 0;
  top: 0;
}
.centre-choice [type="checkbox"]:checked:after {
  left: 4px;
  top: 8px;
}
.centre-option:has(input:checked) {
  border: 2px solid #333;
  background: #fff8d6;
}
.centre-venue {
  font-size: 0.95rem;
  color: #555;
}
