/* Moving Checklist Styles */
#moving-checklist-app {
  max-width: 900px;
  margin: 40px auto;
  font-family: 'Albert Sans', sans-serif;
}

.checklist-hero-button a {
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.checklist-hero-button a:hover {
  background-color: #113C3D !important;
  border-color: #113C3D !important;
}

.checklist-category {
  background: #fff;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 1.5rem;
}

.checklist-category h2 {
  margin-top: 0;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 0.5rem;
  font-size: 1.25rem;
}

.checklist-items {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.checklist-item {
  padding:8px 0;
}

.checklist-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #103c3d;
  cursor: pointer;
}

.checklist-item span {
  flex: 1;
  transition: color 0.2s, text-decoration 0.2s;
}

.checklist-item label {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  cursor: pointer;
}

.checklist-item.completed span {
  text-decoration: line-through;
  color: #888;
}

.checklist-item.completed .checklist-text { text-decoration:line-through; color:#888; }
.checklist-item .checklist-text .title { margin-top: -3px; font-size: 20px; }
.checklist-item .checklist-text .description p:first-child { margin-top: 0; }
.checklist-item .checklist-text .description p:last-child { margin-bottom: 0; }


.progress-wrap {
  margin-bottom: 20px;
  text-align: right;
  max-width: 300px;
  margin-left: 0;
}

.progress-bar {
  background: #e6e6e6;
  border-radius: 200px;
  overflow: hidden;
  height: 10px;
  position: relative;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #238f90, #2aa9aa);
  border-radius: 200px;
  transition: width 0.4s ease-in-out;
}

.progress-text {
  margin-top: 10px;
  font-size: 14px;
  color: #fff;
}

.entry-content.wp-block-post-content a {
  text-decoration: none;
}

.checklist-controls { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:16px; }
.checklist-category-filter select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.checklist-controls {
  flex-wrap: wrap;
}


.checklist-filters { display:flex; gap:8px; }
.filter-btn { padding:8px 12px; border-radius:8px; border:1px solid #ddd; background:#fff; cursor:pointer; }
.filter-btn.active { background:#103c3d; color:#fff; border-color:transparent; }
.checklist-progress-inline { margin-bottom: 5px; }

.checklist-section { border-radius:10px; margin-bottom:12px; border:1px solid #eee; overflow:hidden; }
.section-toggle { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; margin:0; cursor:pointer; background:#fafafa; font-size: 24px;}
.section-body { padding:12px 16px; }
.toggle-icon { background:none; border:0; font-size:16px; cursor: pointer; transition: transform 0.4s; }
.toggle-icon.expanded { transform: rotate(180deg); }

/* Print styles */
@media print {
  #wpadminbar,
  footer,
  div#mega-menu-wrap-max_mega_menu_1,
  header.wp-block-template-part .wp-block-buttons {
    display: none !important;
  }

  header.wp-block-template-part .wp-block-group.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-e757fba5.wp-block-group-is-layout-flex {
    justify-content: center;
  }

  .entry-content .wp-block-cover img {
    display: none;
  }

  .entry-content .wp-block-cover .wp-block-cover__inner-container .wp-block-heading,  .entry-content .wp-block-cover .wp-block-cover__inner-container p.has-light-color-color.has-text-color {
    color: black !important;
  }

  .entry-content .wp-block-cover .wp-block-cover__inner-container .wp-block-column:nth-child(2) {
    display: none;
  }
}

@media screen and (max-width: 1280px) {
    #moving-checklist-app {
        max-width: 100%;
        margin: 20px 16px;
    }

    .checklist-item {
        padding: 5px 0;
    }

    .entry-content .wp-block-cover .wp-block-cover__inner-container .progress-wrap {
        margin-left: 0 !important;
        text-align: left;
    }
    
    .entry-content .wp-block-cover .wp-block-cover__inner-container .wp-block-buttons {
        align-items: flex-start;
        gap: 10px;
    }
}




