  .progress-bar {
  width: 100%;
  height: 10px;
  background: #e6e6e6;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, #0074cc, #4b0082);
  border-radius: 999px;
}

  h2 {
      font-size: 1.75rem;
      margin-bottom: 1.75rem;
      text-align: center;
    }

.checklist-page-wrapper {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

    .checklist-tab-container {
      width: 100%;
      margin: 0 auto;
    }

    .checklist-tab-list {
      display: flex;
      justify-content: center;
      margin-bottom: 2rem;
    }

    .checklist-tab-item {
      flex: 1;
      text-align: center;
      background-color: #d9d9d9;
      color: #003366;
      padding: 1rem;
      font-weight: bold;
      cursor: pointer;
      border: none;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    .checklist-tab-item.active {
      background-color: #003366;
      color: white;
    }

    .checklist-tab-content {
      display: none;
    }

    .checklist-tab-content.active {
      display: block;
    }

    #optional-title {
      font-size: 1.2rem;
      font-weight: bold;
      margin: 2rem 0 1rem;
      text-align: center;
    }

    .checklist-accordion-section {
      border: 1px solid #ccc;
      border-radius: 8px;
      margin-bottom: 1rem;
      margin-left: 0.5rem;
      overflow: hidden;
    }

    .checklist-accordion-header {
  background-color: #f5f5f5;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

    .checklist-label {
  margin-left: 0.75rem;
  cursor: pointer;
}

    .checklist-accordion-content {
      display: block;
      padding: 1rem 1rem 1rem 3rem;
        line-height: 1.7;
      background-color: #ffffff;
      border-top: 1px solid #ddd;
      position: relative;
    }

    .checklist-accordion-content::before {
      content: "";
      position: absolute;
      top: 0.5rem;
      left: 23px;
      bottom: 0.5rem;
      width: 1px;
      background-color: #ccc;
    }

    input[type="checkbox"].checklist-input {
   appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
   min-width: 20px !important;  
  min-height: 20px !important;
  border: 2px solid #003366;
  background-color: white;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
}


input[type="checkbox"].checklist-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #007bff;
}

input[type="checkbox"].checklist-input:checked {
  background-color: #003366;
}

input[type="checkbox"].checklist-input:checked::after {
  content: "✓";
  color: white;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: -2px;
  left: 2.5px;
   line-height: 20px;
}

    .checklist-accordion-section.completed .checklist-label {
      text-decoration: line-through;
      color: #888;
    }

    .checklist-accordion-section.optional .checklist-accordion-header {
      background-color: #F8ECD7;
    }

    a.column_button {
      margin: 0.5rem 0.5rem 0 0;
      padding: 0.5rem 1rem;
      background-color: #006DE0;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      font-size: 0.95rem;
      transition: background-color 0.3s ease;
    }

    a.column_button:after {
    	border: 0;
    	color:white;
 }
 
    a.column_button:hover {
      background-color: #0055a5;
    }

    .checklist-sticky-progress {
      position: sticky;
      top: 0;
      z-index: 999;
      background-color: white;
      padding: 0.25rem 0;
      width: 100%;
    }

    .checklist-progress-wrapper {
      width: 65%;
      margin: 0 auto;
      text-align: center;
      padding-bottom: 3rem;
      position: relative;
    }

    .checklist-progress-label {
      position: absolute;
      top: 16px;
      left: 0;
      font-weight: bold;
      font-size: 0.9rem;
      color: #003366;
    }

    .checklist-progress-bar {
      position: relative;
      height: 8px;
      background-color: #e6e6e6;
      border-radius: 999px;
      overflow: visible;
    }

    .checklist-progress-fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(to right, #0074cc, #4b0082);
      transition: width 0.5s ease-in-out;
      border-radius: 999px;
    }

    .checklist-progress-percent {
      position: absolute;
      top: 16px;
      right: 0;
      font-size: 0.75rem;
      color: #333;
      font-weight: bold;
    }
    
    
    
   @media (max-width: 600px) {
  h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

.checklist-accordion-section {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

  .checklist-tab-item {
    font-size: 0.95rem;
    padding: 0.6rem;
  }

  .checklist-accordion-header {
    padding: 0.75rem;
    font-size: 1rem;
    flex-wrap: wrap;
    cursor: pointer;
  }

  .checklist-accordion-content {
    padding: 0.75rem 1rem 1rem 2rem;
  }
  
  .checklist-accordion-content::before {
  left: 16px;
}

.checklist-progress-wrapper {
  width: 100%;
  max-width: 90%; 
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

a.column_button {
  display: inline-block;
  max-width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}

  .checklist-progress-label,
  .checklist-progress-percent {
    font-size: 0.75rem;
  }
  
    .checklist-progress-label {
    left: 1rem; /* or match padding of progress bar */
  }
  

}