/* Auction Planning Checklist - PDF-matching layout */

.auction-checklist-doc .auction-checklist {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

/* Season label visibility - Spring: Jan 1 - June 30, Fall: July 1 - Dec 31 */
.season-spring .season-label.season-fall,
.season-fall .season-label.season-spring {
  display: none;
}

.season-spring .season-label.season-spring,
.season-fall .season-label.season-fall {
  display: inline;
  font-weight: 500;
}

/* Branding - owl + SchoolAuction.net */
.checklist-branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.checklist-branding .checklist-owly {
  width: 67px;
  height: auto;
  flex-shrink: 0;
}

.checklist-branding .checklist-logotype {
  height: 22px;
  width: auto;
}

/* Hero / Header image - 3x3 flower grid */
.checklist-hero {
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.checklist-hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.season-spring .checklist-hero .season-fall,
.season-fall .checklist-hero .season-spring {
  display: none;
}

.season-spring .checklist-hero .season-spring,
.season-fall .checklist-hero .season-fall {
  display: block;
}

/* Cover / Title block */
.checklist-cover {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e0e0e0;
}

.checklist-title {
  /* font-size: 1.75rem; */
  line-height: 1.3;
  margin-bottom: 0.75rem;
  text-align: center;
}

.checklist-title-accent {
  display: block;
  font-size: 2rem;
  color: #EE2862;
  margin-top: 0.25rem;
}

.checklist-intro {
  color: #333;
  margin-bottom: 1rem;
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.checklist-interactive-prompt {
  font-style: italic;
  color: #EE2862;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1rem;
}

.checklist-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  text-align: center;
}

.checklist-downloads .checklist-pdf {
  display: inline-block;
}

.season-spring .checklist-downloads .season-fall,
.season-fall .checklist-downloads .season-spring {
  display: none;
}

/* Document header */
.checklist-header {
  margin-bottom: 0rem;
}

.checklist-doc-title {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  padding: 0;
  margin: 0;
  text-align: center;
}

.checklist-customize {
  font-size: 0.9rem;
  color: #666;
}

/* Section structure */
.checklist-sections {
  /* margin-bottom: 2.5rem; */
}

.checklist-section {
  margin-bottom: 2.5rem;
  padding: 0;
}

.checklist-section h3 {
  /* font-size: 1.5rem; */
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
}

.checklist-section h4 {
  /* font-size: 1rem; */
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: #555;
  border-bottom: 1px solid #ddd;
}

/* Task rows - checkbox left, text, role */
.checklist-task {
  margin-bottom: 1rem;
}

.checklist-task label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  /* font-size: 1rem; */
  line-height: 1.5;
}

.checklist-task input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: #1745A3;
}

.checklist-task label:has(input:checked) {
  color: #555;
  text-decoration: line-through;
}

.task-tip {
  margin: 0.5rem 0 0 1.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  background: #f8f9fa;
  border-left: 3px solid #1745A3;
  color: #555;
}

.task-tip::before {
  content: "TIP: ";
  font-weight: 600;
  color: #1745A3;
}

/* Role badges - task owner labels (colors match PDF) */
.task-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 0 1.75rem;
}

.role-badge {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  color: #fff;
  border-radius: 15px;
  white-space: nowrap;
}

.role-auction-chair { background: #336699; }
.role-auction-co-chair { background: #389FB2; }
.role-theme-decorations { background: #8B5A9E; }
.role-procurement-team { background: #B73D73; }
.role-procurement-chair { background: #B73D73; }
.role-ticket-sales { background: #70B84D; }
.role-front-desk { background: #F59230; }
.role-co-chair { background: #5A7FA6; }

.task-sublist {
  margin: 0.5rem 0 0 1.75rem;
  padding-left: 1.25rem;
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.task-sublist li {
  margin-bottom: 0.25rem;
}

.task-sublist-checkboxes {
  list-style: none;
  padding-left: 0;
}

.task-sublist-checkboxes li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.task-sublist-checkboxes li label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
}

.task-sublist-checkboxes input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: #1745A3;
}

.task-sublist-checkboxes li label:has(input:checked) {
  color: #555;
  text-decoration: line-through;
}

/* Role group - role badge appears once before its tasks */
.role-group {
  margin-bottom: 1rem;
}

.role-group .task-roles {
  margin: 0 0 0.5rem 0;
}

.role-group .checklist-task {
  margin-bottom: 0.75rem;
}

.role-group .checklist-task:last-child {
  margin-bottom: 0;
}

/* Footer */
.checklist-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid #e0e0e0;
}

.checklist-closing {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.season-spring .closing-highlight {
  color: #EE2862;
}

.season-fall .closing-highlight {
  color: #b85c1a;
}

.checklist-credit {
  font-size: 1rem;
  color: #888;
}

.checklist-credit a {
  color: #1745A3;
  text-decoration: underline;
}

.checklist-credit a:hover {
  color: #006CAD;
}

/* Seasonal theme accents */
.season-spring .checklist-cover,
.season-spring .checklist-header .checklist-doc-title {
  color: #1745A3;
}

.season-spring .task-tip {
  border-left-color: #2d7a4a;
}

.season-spring .task-tip::before {
  color: #2d7a4a;
}

.season-fall .checklist-cover,
.season-fall .checklist-header .checklist-doc-title {
  color: #b85c1a;
}

.season-fall .task-tip {
  border-left-color: #b85c1a;
}

.season-fall .task-tip::before {
  color: #b85c1a;
}

.season-fall .checklist-task input[type="checkbox"] {
  accent-color: #b85c1a;
}

/* Print-friendly */
@media print {
  .checklist-downloads,
  .sidebar,
  .auction-checklist-doc .auction-checklist label:has(input:not(:checked)) {
    /* Keep structure for print */
  }

  .auction-checklist {
    max-width: none;
  }

  .checklist-task label:has(input:checked) {
    text-decoration: line-through;
  }
}
