/* Public class registration form — extracted from register.html so the styles
   travel via <link rel=stylesheet> in the document head. Inline <style> blocks
   inside template extra_head silently lost styles on hx-boost navigation. */
.cp-page .reg-form { display: flex; flex-direction: column; gap: 14px; }
.cp-page .reg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .cp-page .reg-row { grid-template-columns: 1fr; } }
.cp-page .reg-field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text3);
    margin-bottom: 5px;
}
.cp-page .reg-field input[type=text],
.cp-page .reg-field input[type=email],
.cp-page .reg-field input[type=tel],
.cp-page .reg-field textarea,
.cp-page .reg-field select {
    width: 100%;
    padding: 9px 11px;
    background: var(--hub-input-bg);
    border: 1px solid var(--hub-input-border);
    border-radius: 6px;
    color: var(--text);
    font-family: var(--font);
    font-size: 13px;
}
.cp-page .reg-field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23eeb44b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}
.cp-page .reg-field select option { background: var(--hub-input-bg); color: var(--text); }
.cp-page .reg-field input:focus,
.cp-page .reg-field textarea:focus,
.cp-page .reg-field select:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--hub-input-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23eeb44b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.cp-page .reg-field textarea { min-height: 70px; resize: vertical; }
.cp-page .reg-errors {
    color: var(--red);
    font-size: 11px;
    margin-top: 4px;
    list-style: none;
    padding: 0;
}
.cp-page .reg-help { color: var(--text3); font-size: 11px; margin-top: 4px; }
.cp-page .reg-waiver {
    margin-top: 6px;
    padding: 14px 16px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r);
}
.cp-page .reg-waiver h3 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-text);
    margin-bottom: 8px;
}
.cp-page .reg-waiver-text {
    font-size: 12px;
    color: var(--text);
    line-height: 1.6;
    max-height: 200px;
    overflow: auto;
    white-space: pre-wrap;
    padding: 10px 12px;
    background: var(--bg4);
    border-radius: 6px;
    margin-bottom: 10px;
}
.cp-page .reg-check {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12px;
    color: var(--text);
    cursor: pointer;
}
.cp-page .reg-check input { margin-top: 3px; accent-color: var(--gold); }
.cp-page .reg-summary {
    padding: 14px 16px;
    background: rgba(238, 180, 75, 0.06);
    border: 1px solid rgba(238, 180, 75, 0.18);
    border-radius: var(--r);
    font-size: 13px;
    color: var(--text);
}
.cp-page .reg-summary .total {
    font-size: 20px;
    font-weight: 900;
    color: var(--gold-text);
    font-family: var(--heading);
}
.cp-page .reg-was {
    text-decoration: line-through;
    color: var(--text3);
    font-weight: 400;
    font-size: 14px;
    margin-right: 2px;
}
.cp-page .reg-sale-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-text);
    margin-top: 2px;
}
.cp-page .reg-sale-note {
    font-size: 12px;
    color: var(--text3);
    padding: 8px 12px;
    border: 1px solid var(--steel-dim, #1a4568);
    border-radius: 8px;
}
.cp-page .reg-error-block {
    padding: 10px 12px;
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.25);
    border-radius: 6px;
    color: var(--red);
    font-size: 12px;
}

/* Multi-run "Choose your dates" picker — uses the same input treatment as
   .reg-field controls so it inherits the dark/light theme. (Previously inline-
   styled against an undefined --surface token, which fell back to a white box
   with near-invisible light text on the dark theme.) */
.cp-page .reg-run-picker { margin-top: 12px; }
.cp-page .reg-run-picker label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}
.cp-page .reg-run-picker select {
    width: 100%;
    padding: 9px 11px;
    background: var(--hub-input-bg);
    border: 1px solid var(--hub-input-border);
    border-radius: 6px;
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23eeb44b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}
.cp-page .reg-run-picker select option { background: var(--hub-input-bg); color: var(--text); }
.cp-page .reg-run-picker select:focus {
    outline: none;
    border-color: var(--gold);
}
