.syrup-camp-registration { max-width: 1100px; margin: 0 auto; font-family: inherit; }
.syrup-camp-offers { margin-bottom: 1.5rem; }
.syrup-camp-offers .syrup-offers-heading { margin-top: 0; }
.syrup-offers-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding: 4px 0;
  border-bottom: 1px solid #e5e7eb;
}
.syrup-offers-tab {
  appearance: none;
  cursor: pointer;
  margin: 0;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  color: #475467;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px 10px 0 0;
  border-bottom: none;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.syrup-offers-tab:hover {
  background: #f1f5f9;
  color: #344054;
}
.syrup-offers-tab.is-active {
  color: #1d4ed8;
  background: #fff;
  border-color: #93c5fd;
  position: relative;
  z-index: 1;
  margin-bottom: -1px;
  padding-bottom: 9px;
}
.syrup-offers-tab:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.syrup-offers-panel--hidden {
  display: none;
}
.syrup-matrix-option--readonly {
  cursor: default;
  background: #fafafa;
}
.syrup-matrix-option--readonly:hover {
  background: #fafafa;
  border-color: #e5e7eb;
}
.syrup-matrix-option--readonly:focus-within {
  outline: none;
}
.syrup-option--orphan-readonly {
  margin-bottom: 6px;
}
.syrup-option--orphan-readonly:last-child {
  margin-bottom: 0;
}
.syrup-muted { color: #667085; }
.syrup-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 22px; margin: 18px 0; box-shadow: 0 8px 24px rgba(15, 23, 42, .04); }
.syrup-card h3 { margin-top: 0; margin-bottom: 0.875rem; }
.syrup-section-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.syrup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.syrup-grid label, .syrup-card label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: #344054; }

/* Text fields only — do not restyle radio/checkbox (keeps theme / UA default size) */
.syrup-camp-registration input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.syrup-camp-registration select,
.syrup-camp-registration textarea {
	border: 1px solid #d0d5dd;
	border-radius: 10px;
	padding: 11px 12px;
	font: inherit;
	max-width: 100%;
	/* Preserve user casing; override theme text-transform: capitalize etc. */
	text-transform: none;
	font-variant: normal;
}

.syrup-student { border: 1px dashed #cbd5e1; border-radius: 12px; padding: 18px; margin-top: 16px; background: #f8fafc; }
.syrup-program { margin: 18px 0; }
.syrup-program h4 { margin-bottom: 10px; }
.syrup-options { display: grid; gap: 10px; }
.syrup-options--compact { gap: 4px; }
.syrup-option { display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; cursor: pointer; }
.syrup-option small { display: block; color: #667085; font-weight: 400; margin-top: 3px; text-transform: capitalize; }
.syrup-option b { white-space: nowrap; }
/* Terms row: horizontal row aligned to start; text wrapped in .syrup-check-text avoids flex fragmentation */
.syrup-camp-registration label.syrup-check {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 10px !important;
	margin: 0 0 14px !important;
	width: 100%;
	max-width: 100%;
	font-weight: 600;
	line-height: 1.45;
	color: #344054;
}

.syrup-camp-registration label.syrup-check > input[type="checkbox"] {
	flex-shrink: 0;
	margin: 4px 0 0 !important;
	width: auto;
	height: auto;
}

.syrup-camp-registration label.syrup-check .syrup-check-text {
	flex: 1 1 0%;
	min-width: 0;
	font-weight: 400;
}
.syrup-camp-registration label.syrup-check .syrup-check-text a {
	font-weight: 600;
	color: #1d4ed8;
	word-break: break-word;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: color 0.12s ease, background-color 0.12s ease;
}
.syrup-camp-registration label.syrup-check .syrup-check-text a:hover {
	color: #1e3a8a;
	text-decoration-color: currentColor;
	background-color: rgba(37, 99, 235, 0.08);
	border-radius: 4px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	padding: 1px 3px;
	margin: 0 -3px;
}
.syrup-camp-registration label.syrup-check .syrup-check-text a:focus-visible {
	color: #1e40af;
	outline: 2px solid #2563eb;
	outline-offset: 2px;
	border-radius: 4px;
	background-color: rgba(37, 99, 235, 0.1);
}
.syrup-message { margin: 16px 0; font-weight: 700; }
.syrup-message.error { color: #b42318; }

.syrup-students-area { margin-top: 10px; display: flex; flex-direction: column; gap: 0; }
.syrup-students-area > .syrup-student { margin-top: 0; }
.syrup-students-area > .syrup-student + .syrup-student { margin-top: 14px; }
.syrup-add-student-block { margin-top: 14px; width: 100%; }
.syrup-btn-add-student,
.syrup-camp-registration .syrup-btn-continue-pay {
  appearance: none;
  cursor: pointer;
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 12px 16px;
  line-height: 1.35;
  font: inherit;
  font-weight: 600;
  color: #1d4ed8;
  background: linear-gradient(to bottom, #eff6ff, #dbeafe);
  border: 1px solid #93c5fd;
  border-radius: 12px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.syrup-btn-add-student:hover,
.syrup-camp-registration .syrup-btn-continue-pay:hover {
  background: linear-gradient(to bottom, #dbeafe, #bfdbfe);
  border-color: #3b82f6;
}
.syrup-btn-add-student:focus-visible,
.syrup-camp-registration .syrup-btn-continue-pay:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.syrup-camp-registration .syrup-btn-continue-pay {
  margin-top: 10px;
}
.syrup-heading-camp { font-size: 0.9rem; font-weight: 600; color: #475467; margin: 8px 0 4px; }
.syrup-grade-hint { margin: 0; font-size: 0.875rem; line-height: 1.4; }
.syrup-camp-selection { margin-top: 0; }
.syrup-camp-selection .syrup-muted { margin: 0; }
.syrup-camp-matrix-wrap { margin-top: 4px; }
.syrup-camp-matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
.syrup-camp-matrix { width: 100%; min-width: 360px; border-collapse: separate; border-spacing: 0; font-size: 0.8125rem; }
.syrup-camp-matrix th,
.syrup-camp-matrix td { border-bottom: 1px solid #f2f4f7; border-right: 1px solid #f2f4f7; padding: 0; vertical-align: top; }
.syrup-camp-matrix td { padding: 10px 12px; }
.syrup-camp-matrix thead th { background: #f8fafc; font-weight: 600; color: #475467; text-align: left; padding: 6px 8px; position: sticky; top: 0; z-index: 2; line-height: 1.25; }
.syrup-camp-matrix thead th:not(.syrup-matrix-corner) { max-width: 7.5rem; white-space: normal; font-size: 0.7rem; }
.syrup-camp-matrix .syrup-matrix-corner { position: sticky; left: 0; top: 0; z-index: 4; min-width: 5.5rem; max-width: 6.5rem; text-align: left; border-right: 1px solid #e5e7eb; }
.syrup-camp-matrix .syrup-matrix-rowhead { background: #f8fafc; font-weight: 600; color: #475467; text-align: left; padding: 8px 10px; position: sticky; left: 0; z-index: 2; width: 1%; font-size: 0.7rem; line-height: 1.3; min-width: 11rem; max-width: 15rem; white-space: normal; border-right: 1px solid #e5e7eb; }
.syrup-camp-matrix tbody tr:last-child th,
.syrup-camp-matrix tbody tr:last-child td { border-bottom: none; }
.syrup-camp-matrix thead th:last-child { border-right: none; }
.syrup-camp-matrix td:last-child { border-right: none; }
.syrup-matrix-cell { min-width: 8.5rem; max-width: 18rem; background: #fff; text-align: left; }
.syrup-matrix-empty { display: block; text-align: left; color: #d0d5dd; padding: 8px 4px; font-size: 0.75rem; }
/* Camp tile selection: no visible checkbox — selected state = filled background */
.syrup-card label.syrup-matrix-option,
.syrup-card label.syrup-option.syrup-option--compact {
  display: block !important;
  flex-direction: unset !important;
  gap: unset !important;
  font-weight: inherit;
}
.syrup-camp-selection .syrup-matrix-option input.syrup-matrix-slot,
.syrup-matrix-orphans .syrup-option--compact input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.syrup-matrix-option {
  position: relative;
  display: block !important;
  margin: 0 0 6px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  color: #344054;
  line-height: 1.35;
  font-size: 0.75rem;
  background: #f9fafb;
  text-align: left;
  transition: background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.syrup-matrix-option:hover {
  background: #f3f4f6;
  border-color: #d0d5dd;
}
.syrup-matrix-option:focus-within {
  outline: 2px solid #84caff;
  outline-offset: 1px;
}
.syrup-matrix-option:has(input.syrup-matrix-slot:checked) {
  background: #e8efff;
  border-color: #3b6fdb;
  box-shadow: inset 0 0 0 1px rgba(59, 111, 219, 0.2);
}
.syrup-matrix-option:last-child { margin-bottom: 0; }
.syrup-matrix-option-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  width: 100%;
}
.syrup-matrix-option-title {
  display: block;
  width: 100%;
  min-width: 0;
  font-weight: 500;
  text-align: left;
  line-height: 1.3;
}
.syrup-matrix-option-level {
  display: block;
  width: 100%;
  color: #667085;
  font-size: 0.7rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.3;
}
.syrup-matrix-option-hours {
  display: block;
  width: 100%;
  color: #475467;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: left;
  line-height: 1.3;
}
.syrup-matrix-option-price {
  display: block;
  width: 100%;
  font-weight: 600;
  color: #101828;
  font-size: 0.72rem;
  text-align: left;
  line-height: 1.3;
}
.syrup-matrix-orphans { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #e5e7eb; }
.syrup-matrix-orphans .syrup-heading-camp { margin-top: 0; }
.syrup-option--compact {
  position: relative;
  display: block !important;
  margin: 0 0 6px;
  padding: 10px 12px !important;
  text-align: left;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.syrup-option--compact:hover {
  background: #f3f4f6;
  border-color: #d0d5dd;
}
.syrup-option--compact:focus-within {
  outline: 2px solid #84caff;
  outline-offset: 1px;
}
.syrup-option--compact:has(input[type="checkbox"]:checked) {
  background: #e8efff;
  border-color: #3b6fdb;
  box-shadow: inset 0 0 0 1px rgba(59, 111, 219, 0.2);
}
.syrup-option--compact .syrup-matrix-option-stack {
  width: 100%;
}
.syrup-option--compact:last-of-type { margin-bottom: 0; }

@media (max-width: 760px) {
  .syrup-grid { grid-template-columns: 1fr; }
  .syrup-option { grid-template-columns: auto 1fr; }
  .syrup-option b { grid-column: 2; }
  .syrup-matrix-rowhead { font-size: 0.7rem; }
  .syrup-camp-matrix thead th { font-size: 0.7rem; }
  .syrup-matrix-option { font-size: 0.7rem; }
  .syrup-matrix-option-price { font-size: 0.68rem; }
}
