    /* General body styling */
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f9f9f9;
      line-height: 1.4;
    }
  
    /* Default styling for form sections */
    .form-section {
      display: none;
    }
  
    /* Display active form section */
    .form-section.active {
      display: block;
    }
  
    /* Form container styling */
    form {
      max-width: 800px;
      margin: 20px auto;
      padding: 20px;
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 5px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
  
    /* Headings styling */
    h2,
    h3 {
      color: #333;
    }
  
    /* Styling for labels */
    label {
      display: block;
      margin-top: 15px;
      font-weight: bold;
      color: #555;
    }
  
    /* Inputs, selects, and textareas styling */
  /*  input,
   /* select,
   /* textarea {
   /*  width: 100%;
   /*   padding: 10px;
    /*  margin-top: 5px;
   /*   border: 1px solid #ccc;
  /*    border-radius: 4px;
   /*   box-sizing: border-box;
  /*  }
  
  /* Apply the width only to text inputs, selects, and textareas */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Checkbox-specific styles */
input[type="checkbox"] {
  width: auto; /* Default width for checkboxes */
  margin: 0; /* Remove any additional margins */
  vertical-align: middle; /* Align checkbox with the label text */
}
  
  
  
  
  
    /* Navigation buttons container */
    .form-navigation {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
    }
  
    /* General button styling */
    button {
      background-color: #007bff;
      color: white;
      padding: 10px;
      border: none;
      border-radius: 4px;
      font-size: 16px;
      cursor: pointer;
    }
  
    /* Hover effect for general buttons */
    button:hover {
      background-color: #0056b3;
    }
  
    /* Styling for back buttons */
    .button-back {
      background-color: #6c757d;
    }
  
    /* Hover effect for back buttons */
    .button-back:hover {
      background-color: #5a6268;
    }
  
    /* Hide elements with the hidden class */
    .hidden {
      display: none;
    }
  
  /* Styling for radio button containers */
    .radio-container {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
    }
  
    /* Radio button styling */
    .radio-container input[type="radio"] {
      margin-right: 8px;
    }
  
   /* Styling for checkbox containers */
    .checkbox-container {
      display: flex;
      align-items: center;
      /*margin-top: 15px;*/
      gap: 8px;
    }
  
    /* Checkbox input alignment */
    .checkbox-container input[type="checkbox"] {
      /*margin-right: 8px;
      margin-top: 3px;*/
      margin: 0;
      vertical-align: middle;
    }
  
    /* Styling for checkbox labels */
    .checkbox-container label {
      margin: 0;
      font-size: 14px;
      color: #333;
    } 
  
    /* Styling for inline form containers */
    .inline-container {
      display: flex;
      gap: 20px;
    }
  
    /* Ensure children of inline containers take equal space */
    .inline-container > div {
      flex: 1;
    }
  
    /* Styling for textareas */
    textarea {
      width: 100%;
      resize: vertical;
    }
  
    /* Styling for horizontal rules */
    hr {
      border: 1;
      border-top: 1px solid #ccc;
      margin: 30px 0;
    }
  
    /* Styling for waiver sections */
    .waiver-section {
      margin-bottom: 20px;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 5px;
      background: #f8f8f8;
    }
  
    /* Waiver section heading styling */
    .waiver-section h4 {
      color: #007bff;
    }
  
    /* Dropdown styling */
    select {
      appearance: none; /* Remove default browser styles */
      background-color: #fff;
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
      width: 100%;
      margin-top: 5px;
    }
  
    /* Focus styling for dropdowns */
    select:focus {
      border-color: #007bff;
      outline: none;
    }
  
    /* Styling for emergency contact container */
    #new-contact-container {
      margin-top: 20px;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 5px;
      background: #f9f9f9;
    }
  
    /* Highlight for autofilled fields */
    .autofilled {
      background-color: #e7f3ff; /* Light blue for indication */
    }
    
/* Waiver Container Styling */
#waiver-container {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.waiver-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.waiver-tab {
  background-color: #e9ecef;
  border: 1px solid #ccc;
  color: #333;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.waiver-tab.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.waiver-panel {
  display: none;
}

.waiver-panel.active {
  display: block;
}

/* Individual Waiver Content Styling */
.waiver-content {
  margin-bottom: 20px;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Waiver Headings */
.waiver-content h4 {
  font-size: 18px;
  color: #007bff;
  margin-bottom: 10px;
  text-align: center;
  text-transform: capitalize;
  line-height: 1.2; /* Adjust line height for compact headings */
}

/* Waiver Paragraphs */
.waiver-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px; /* Provide consistent spacing between paragraphs */
  text-align: justify; /* Maintain clean alignment for readability */
}

/* Checkbox and Input Fields */
.checkbox-container {
  margin-top: 15px;
  display: flex;
  align-items: center;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 10px;
}

.checkbox-container label {
  font-size: 14px;
  color: #333;
  font-weight: normal;
}

.waiver-content label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #333;
}

.waiver-content input[type="text"],
.waiver-content input[type="date"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.health-report-card {
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
  background-color: #f9fbff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.health-report-card label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.health-report-card input[type="file"] {
  width: 100%;
}

.health-report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.health-report-name {
  flex: 1;
  font-weight: bold;
  color: #2c3e50;
}

.health-report-actions {
  flex: 1;
  min-width: 220px;
}

.health-report-status {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #666;
}

.health-report-status.has-file {
  color: #1b7f3b;
}

.policy-accordion {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  align-items: start;
}

@media (min-width: 900px) {
  .policy-accordion {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.policy-card {
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  background: #E6EDFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  color: #000000;
}

.policy-card summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: bold;
  list-style: none;
  position: relative;
  padding-right: 36px;
}

.policy-card summary::-webkit-details-marker {
  display: none;
}

.policy-card summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 18px;
}

.policy-card[open] summary::after {
  content: "−";
}

.policy-card[open] summary {
  border-bottom: 1px solid #eee;
}

.policy-content {
  padding: 12px 16px 16px;
  background: #fff;
  border-radius: 0 0 10px 10px;
}

.policy-content ul {
  margin: 0;
  padding-left: 18px;
}

.policy-content li {
  margin-bottom: 6px;
}

.policies-header {
  text-align: center;
}

.policies-footer {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #555;
}

.review-summary {
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.review-summary h4 {
  margin-top: 0;
}

.review-summary ul {
  margin: 0;
  padding-left: 18px;
}

.review-links {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.review-toggle {
  background-color: #e9ecef;
  color: #333;
  border: 1px solid #ccc;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.review-detail {
  margin-top: 12px;
  padding: 12px;
  background: #f8f9fb;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.week-container {
  border: 1px solid #ccc;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
}
.week-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.week-tab {
  background-color: #e9ecef;
  border: 1px solid #ccc;
  color: #333;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.week-tab.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

#camper-dropdown {
  margin-bottom: 12px;
}

.week-panel {
  display: none;
}

.week-panel.active {
  display: block;
}

.week-mode {
  margin-bottom: 12px;
}

.week-mode-note {
  font-size: 12px;
  color: #555;
  margin-top: 6px;
}

.day-grid {
  display: grid;
  gap: 10px;
}

.week-container:not(.per-day-enabled) .day-row {
  grid-template-columns: 80px 1fr;
}

.week-container:not(.per-day-enabled) .day-type-buttons,
.week-container:not(.per-day-enabled) .day-type-label {
  display: none;
}

.day-row {
  display: grid;
  grid-template-columns: 80px 220px 1fr;
  gap: 10px;
  align-items: center;
}

.day-row:not(.header) {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 8px;
  background-color: #fff;
}

.day-label {
  font-weight: bold;
}

.day-row.header {
  background-color: #f6f6f6;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 8px;
}

.day-row.header .day-label,
.day-row.header .day-type-label,
.day-row.header .day-addons-label {
  font-weight: bold;
  color: #555;
}

.day-addons-note {
  display: block;
  font-size: 12px;
  color: #666;
  font-weight: normal;
  margin-top: 2px;
}

.day-addons-note.secondary {
  margin-top: 4px;
  color: #4a4a4a;
}

.day-type-buttons,
.day-addons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.day-addons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.day-addons .addon-toggle {
  width: 100%;
  text-align: center;
}

.day-choice-btn {
  padding: 6px 12px;
  background-color: #f0f0f0;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.day-choice-btn.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.day-choice-btn:disabled,
.day-toggle:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.day-toggle-container {
  margin-top: 10px;
}
/* Default Button Style for Selection page */
.day-toggle {
  display: inline-block;
  margin: 5px;
  padding: 5px 10px;
  background-color: #f0f0f0;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}
/* Hover state */
.day-toggle:hover {
  background-color: #e0e0e0; /* Slightly darker gray */
  color: #000; /* Darker text */
}
/* Active state (selected button) */
.day-toggle.active {
  background-color: #007bff;
  color: white;
}

.choice-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.day-choice {
  position: relative;
}

.day-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.day-choice span {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f0f0f0;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.day-choice span:hover {
  background-color: #e0e0e0;
}

.day-choice input[type="radio"]:checked + span {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}
.time-selection {
  margin-top: 15px;
}
.pricing-summary {
  margin-top: 15px;
}
.pricing-summary strong {
  font-size: 1.2em;
}

#selection-summary {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f9f9f9;
}

.summary-columns {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.summary-column {
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  padding: 12px;
}

.summary-column h4 {
  margin: 0 0 10px 0;
  color: #007bff;
}

.summary-row {
  border-top: 1px solid #eee;
  padding-top: 8px;
  margin-top: 8px;
}

.summary-row:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.summary-subtotal {
  margin-top: 12px;
  font-weight: bold;
}

  .pickup-person-entry > div {
    flex: 1;
  }

  .pickup-person-entry input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }

  .pickup-person-entry label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
  }

  #add-pickup-person {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
  }

  #add-pickup-person:hover {
    background-color: #218838;
  }

  .remove-pickup-person {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
  }

  .pickup-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    background: #fff;
    margin-bottom: 10px;
  }

  .pickup-card strong {
    display: block;
    margin-bottom: 4px;
  }

  .pickup-card-actions {
    margin-top: 8px;
  }

  .pickup-card-actions button {
    background-color: #6c757d;
  }

  .pickup-card-actions button:hover {
    background-color: #5a6268;
  }

  .pickup-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
  }

  .pickup-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
  }
  
  input[readonly] {
  background-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
}

.parent-entry.locked select {
  background-color: #e9ecef;
  color: #6c757d;
  pointer-events: none;
}

.parent-entry.collapsed > :not(.parent-card) {
  display: none;
}

.emergency-entry.collapsed > :not(.emergency-card) {
  display: none;
}

.parent-card,
.emergency-card {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f8f8f8;
}

.parent-card strong,
.emergency-card strong {
  display: block;
  margin-bottom: 6px;
}

.parent-card-actions,
.emergency-card-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.parent-card-actions button,
.emergency-card-actions button {
  background-color: #6c757d;
}

.parent-card-actions button:hover,
.emergency-card-actions button:hover {
  background-color: #5a6268;
}

.parent-entry,
.emergency-entry {
  position: relative;
}

.remove-parent-inline {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 1px solid #ccc;
  color: #333;
  font-size: 16px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
}

.remove-parent-inline:hover {
  background-color: #f1f1f1;
}

.remove-emergency-inline {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 1px solid #ccc;
  color: #333;
  font-size: 16px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
}

.remove-emergency-inline:hover {
  background-color: #f1f1f1;
}

.camper-section {
  position: relative;
}

.camper-section.collapsed > :not(.camper-card) {
  display: none;
}

.remove-camper-inline {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 1px solid #ccc;
  color: #333;
  font-size: 16px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
}

.remove-camper-inline:hover {
  background-color: #f1f1f1;
}

.camper-card {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f8f8f8;
}

.camper-card strong {
  display: block;
  margin-bottom: 6px;
}

.camper-card-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.camper-card-actions button {
  background-color: #6c757d;
}

.camper-card-actions button:hover {
  background-color: #5a6268;
}

.spaced-top {
  margin-top: 12px;
}
