/* =========================================================
   AB HOCKEY TRAINING — Event Espresso Registration Page Styling
   Fixes: bland grey background, low-contrast text, small fonts
   ========================================================= */

/* ---- Page background & container ---- */
.espresso-page,
#espresso-events-container,
.ee-single-page-checkout-container,
#reg-page-step-div,
.reg-page-step-div {
  background-color: #f4f6f9 !important;
}

.spco-main-content,
.reg-step-content,
#spco-main-ul,
.checkout,
.ee-single-page-checkout-container {
  background-color: #ffffff !important;
  border-radius: 10px !important;
  padding: 40px !important;
  max-width: 900px !important;
  margin: 30px auto !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
}

/* ---- Main headings (REGISTER / Registration Checkout) ---- */
.entry-title,
h1.entry-title,
.spco-main-content h1,
.reg-page-step-div h1 {
  font-family: 'Anton', sans-serif !important;
  color: #0b1f3a !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  font-size: 2.2rem !important;
  margin-bottom: 20px !important;
}

/* ---- Steps bar (Attendee Information / Payment Options) ---- */
.spco-steps-div,
.spco-steps-ul,
.spco-step-title {
  font-family: 'Archivo', sans-serif !important;
  color: #0b1f3a !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}

.spco-active-step,
.spco-step-title.spco-active-step {
  color: #c8102e !important;
  border-bottom: 3px solid #c8102e !important;
}

/* ---- Ticket / event summary table ---- */
.spco-cart-table,
table.spco-cart-table {
  background-color: #ffffff !important;
  color: #1a1a1a !important;
  font-family: 'Archivo', sans-serif !important;
  font-size: 1rem !important;
}

.spco-cart-table th {
  background-color: #0b1f3a !important;
  color: #ffffff !important;
  font-family: 'Archivo', sans-serif !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  padding: 10px !important;
}

.spco-cart-table td {
  padding: 12px 10px !important;
  border-bottom: 1px solid #e2e5ea !important;
}

/* ---- Section headers (e.g. "Off-ice Movement Prep") ---- */
.spco-ticket-datetimes-h4,
.event-title,
h3.event-title,
.spco-main-content h2,
.spco-main-content h3 {
  font-family: 'Anton', sans-serif !important;
  color: #0b1f3a !important;
  font-size: 1.6rem !important;
  margin-top: 30px !important;
}

/* ---- Field labels (First Name, Email, etc.) ---- */
.spco-personal-info-dv label,
.reg-page-step-div label,
.ee-reg-qstn-lbl,
label.ee-reg-qstn-lbl {
  font-family: 'Archivo', sans-serif !important;
  color: #0b1f3a !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  margin-bottom: 6px !important;
  display: inline-block !important;
}

/* ---- Text inputs, dropdowns ---- */
.spco-personal-info-dv input[type="text"],
.spco-personal-info-dv input[type="email"],
.reg-page-step-div input[type="text"],
.reg-page-step-div input[type="email"],
.reg-page-step-div input[type="number"],
.reg-page-step-div select {
  background-color: #ffffff !important;
  color: #1a1a1a !important;
  border: 1px solid #b8c1cf !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  font-size: 1rem !important;
  width: 100% !important;
}

.spco-personal-info-dv input:focus,
.reg-page-step-div input:focus,
.reg-page-step-div select:focus {
  border-color: #0b1f3a !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(11, 31, 58, 0.2) !important;
}

/* ---- Question group titles (Photo/Video Consent, Waiver Form) ---- */
.ee-question-group-title,
.ee-question-group h4,
.reg-page-step-div h4 {
  font-family: 'Archivo', sans-serif !important;
  color: #0b1f3a !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  margin-top: 25px !important;
}

/* ---- Checkbox/radio option text — THE MAIN CONTRAST FIX ---- */
.ee-checkbox-option-dv label,
.ee-radio-option-dv label,
.reg-page-step-div input[type="checkbox"] + label,
.reg-page-step-div input[type="radio"] + label,
.reg-page-step-div .ee-question-group label {
  color: #1a1a1a !important;
  opacity: 1 !important;
  font-family: 'Archivo', sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

.reg-page-step-div input[type="checkbox"],
.reg-page-step-div input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  margin-right: 8px !important;
  accent-color: #0b1f3a !important;
}

/* ---- Buttons ---- */
.spco-go-to-step-btn,
.reg-page-step-div input[type="submit"],
.reg-page-step-div button {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: 6px !important;
  padding: 14px 28px !important;
  font-size: 0.95rem !important;
  transition: all 0.2s ease !important;
}

.spco-return-to-cart-btn {
  background-color: #ffffff !important;
  color: #0b1f3a !important;
  border: 2px solid #0b1f3a !important;
}

.spco-return-to-cart-btn:hover {
  background-color: #0b1f3a !important;
  color: #ffffff !important;
}

.spco-next-step-btn,
input[value="Proceed to Payment Options"] {
  background-color: #c8102e !important;
  color: #ffffff !important;
  border: none !important;
}

.spco-next-step-btn:hover,
input[value="Proceed to Payment Options"]:hover {
  background-color: #9c0c23 !important;
}

/* ---- Footer note ("Online event registration powered by...") ---- */
.spco-main-content .powered-by-dv,
.reg-page-step-div .powered-by-dv {
  color: #6b7280 !important;
  font-size: 0.8rem !important;
  margin-top: 30px !important;
}


/* =========================================================
   AB HOCKEY TRAINING — Event Espresso Registration Page
   CORRECTED using real class names from DevTools inspection
   ========================================================= */

/* ---- Page background & container (real ID confirmed via inspector) ---- */
#ee-single-page-checkout-dv {
  background-color: #ffffff !important;
  border-radius: 10px !important;
  padding: 40px !important;
  max-width: 900px !important;
  margin: 30px auto !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
}

/* ---- Question titles (e.g. "Waiver Form", "Photo / Video Consent") ---- */
.ee-reg-qstn.ee-required-label,
label.ee-reg-qstn {
  font-family: 'Archivo', sans-serif !important;
  color: #0b1f3a !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  display: block !important;
  margin-top: 25px !important;
  margin-bottom: 10px !important;
}

/* ---- "Yes -" / "No -" labels next to each checkbox/radio ---- */
.ee-checkbox-label-after,
.ee-radio-label-after {
  color: #0b1f3a !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

/* ---- THE MAIN FIX: the long waiver/description text ---- */
.ee-question-option-desc {
  color: #1a1a1a !important;
  opacity: 1 !important;
  font-family: 'Archivo', sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}

/* ---- Checkbox/radio input sizing ---- */
.ee-checkbox-multi-input-dv input[type="checkbox"],
.ee-checkbox-multi-input-dv input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  margin-right: 8px !important;
  accent-color: #0b1f3a !important;
}

/* ---- Question row spacing ---- */
.ee-reg-qstn-input-dv {
  margin-bottom: 15px !important;
}


/* =========================================================
   AB HOCKEY TRAINING — Holiday Camp Jersey fields
   Side-by-side layout with shared "Holiday Camp Jersey Request" heading
   ========================================================= */

/* ---- Give the pair room for the heading above ---- */
#ee_reg_qstn-65-13-input-dv {
  margin-top: 45px !important;
  position: relative !important;
}

/* ---- Side-by-side layout (float, in case parent is a flex column) ---- */
#ee_reg_qstn-65-13-input-dv,
#ee_reg_qstn-65-14-input-dv {
  float: left !important;
  width: 48% !important;
}

#ee_reg_qstn-65-13-input-dv {
  margin-right: 4% !important;
}

#ee_reg_qstn-65-14-input-dv::after {
  content: "";
  display: block;
  clear: both;
}

/* ---- Shared heading, positioned above the Jersey Size column ---- */
#ee_reg_qstn-65-13-input-dv::before {
  content: "Holiday Camp Jersey Info";
  position: absolute;
  top: -32px;
  left: 0;
  white-space: nowrap;
  font-family: 'Archivo', sans-serif !important;
  color: #0b1f3a !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
}

/* ---- Tone down the individual field labels since the heading covers it ---- */
#ee_reg_qstn-65-13-lbl,
#ee_reg_qstn-65-14-lbl {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  color: #4a5568 !important;
  margin-top: 0 !important;
  margin-bottom: 5px !important;
  height: 20px !important;
  line-height: 20px !important;
  white-space: nowrap !important;
  overflow: visible !important;
  display: block !important;
}

/* ---- Dropdowns fill their column ---- */
#ee_reg_qstn-65-13,
#ee_reg_qstn-65-14 {
  width: 100% !important;
}

/* ---- Stack on mobile instead of squeezing side by side ---- */
@media (max-width: 600px) {
  #ee_reg_qstn-65-13-input-dv,
  #ee_reg_qstn-65-14-input-dv {
    display: block !important;
    width: 100% !important;
    margin-right: 0 !important;
  }

  #ee_reg_qstn-65-13-input-dv::before {
    position: static;
    display: block;
    margin-bottom: 10px;
  }
}

/* =========================================================
   AB HOCKEY TRAINING — Hide redundant headings on Checkout
   Removes "Off-ice Movement Prep" style event title repeat
   and "Attendee 1 (...)" legend, since the ticket table above
   already shows this info.
   ========================================================= */

.big-event-title-hdr,
.spco-attendee-lgnd {
  display: none !important;
}

/* =========================================================
   AB HOCKEY TRAINING — Tighten spacing between form fields
   on Registration Checkout
   ========================================================= */

.ee-reg-qstn-input-dv {
  margin-bottom: 8px !important;
}

.ee-reg-form-attendee-dv .ee-reg-qstn + .ee-reg-qstn,
.ee-reg-form-attendee-dv .ee-reg-qstn-input-dv + .ee-reg-qstn-input-dv {
  padding-top: 0 !important;
}

label.ee-reg-qstn {
  margin-bottom: 4px !important;
}

/* Reserved space for "This field is required" error text, even when hidden */
.ee-required-text {
  margin: 0 !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
}

.espresso-my-events-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.espresso-my-events-table-scroll table {
    min-width: 900px;
}