.enrollment-wizard {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.player-select {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-top: 0.5rem;
}

.grade-note {
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.5rem;
}

.waiver-checkbox {
  display: block;
  margin: 1rem 0;
  font-size: 1rem;
  color: #333;
}

.waiver-checkbox input[type="checkbox"] {
  margin-right: 0.5rem;
}

.shirt-size-section select {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.submit-section {
  text-align: center;
  margin-top: 2rem;
}

.program-header-box {
  background-color: #f5f5f5;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.program-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.program-description {
  font-size: 1rem;
  color: #444;
}

.program-details-box {
  background-color: #f5f5f5;
  padding: 1rem 1.25rem;
  border-radius: 6px;
}

/* New two-column layout */
.enrollment-columns {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 0.75rem 1.5rem;
  margin-top: 0.5rem;
}

.enrollment-columns p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.enrollment-block {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 1.5rem; /* space between cards */
}

.program-header-box-with-image {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.program-image-wrapper {
  flex-shrink: 0;
  width: 160px;
}

.program-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.program-header-box {
  background-color: #f5f5f5;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  flex-grow: 1;
}

.program-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.program-description {
  font-size: 1rem;
  color: #444;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
}
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}
.waiver-text {
  margin-top: 1rem;
  max-height: 300px;
  overflow-y: auto;
}

.form-error-message {
  color: #c00;
  font-weight: bold;
  margin-top: 6px;
}

.waiver-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.waiver-actions .btn {
   min-height: 48px; /* ✅ Forces consistent vertical size */
   min-width: 220px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .program-header-box-with-image {
    flex-direction: column;
    align-items: center;
  }

  .program-image-wrapper {
    width: 100%;
    max-width: 300px;
  }

  .waiver-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .waiver-actions .btn {
    width: 100%;
  }
}

/* 🔹 Shared layout for top row */
.emergency-contact-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 🔹 Consistent column sizing */
.emergency-contact-row .form-row,
.form-row.emergency-contact-relationship {
  flex: 1 1 300px;
  max-width: 300px;
  min-width: 250px;
}

/* 🔹 Input and select styling */
.form-row input,
.form-row select {
  width: 100%;
  box-sizing: border-box;
}
