/* Heftchen-Drucklayout für Basketball-Abzeichen */

/* Druckstile für Heftchen-Format */
@media print {
  body * {
    visibility: hidden;
  }
  
  .print-booklet,
  .print-booklet * {
    visibility: visible;
  }
  
  .print-booklet {
    display: block !important;
  }
  
  .print-booklet {
    display: block !important;
    width: 210mm;
    height: 297mm;
    margin: 0;
    padding: 0;
    position: relative;
    page-break-before: always;
    page-break-after: always;
  }
  
  .booklet-page {
    width: 105mm;
    height: 148.5mm;
    box-sizing: border-box;
    padding: 8mm;
    border: 1px solid #ccc;
    position: absolute;
    page-break-inside: avoid;
  }
  
  /* Anordnung für Heftchen-Faltung: 2x2 Grid */
  .front-page {
    top: 0;
    left: 0;
    transform: rotate(180deg);
  }
  
  .stage-page:nth-of-type(2) {
    bottom: 0;
    left: 0;
  }
  
  .stage-page:nth-of-type(3) {
    bottom: 0;
    right: 0;
  }
  
  .stage-page:nth-of-type(4) {
    top: 0;
    right: 0;
    transform: rotate(180deg);
  }
  
  .page-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .page-content h1 {
    font-size: 18pt;
    margin-bottom: 8mm;
    text-align: center;
    color: #2c3e50;
  }
  
  .page-content h2 {
    font-size: 14pt;
    margin-bottom: 6mm;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 2mm;
  }
  
  .intro-content {
    font-size: 10pt;
    line-height: 1.4;
    margin-bottom: 8mm;
    text-align: justify;
  }
  
  .intro-content p {
    margin: 2mm 0;
  }
  
  .stage-1-content,
  .stage-2-content,
  .stage-3-content {
    font-size: 9pt;
    line-height: 1.3;
    flex-grow: 1;
  }
  
  .stage-1-content p,
  .stage-2-content p,
  .stage-3-content p {
    margin: 2mm 0;
  }
  
  .stage-1-content ul,
  .stage-2-content ul,
  .stage-3-content ul {
    margin: 3mm 0;
    padding-left: 4mm;
  }
  
  .stage-1-content li,
  .stage-2-content li,
  .stage-3-content li {
    margin-bottom: 2mm;
    position: relative;
    list-style: none;
  }
  
  .stage-1-content li::before,
  .stage-2-content li::before,
  .stage-3-content li::before {
    content: '☐';
    position: absolute;
    left: -6mm;
    color: #3498db;
  }
  
  .stage-1-content li.checked::before,
  .stage-2-content li.checked::before,
  .stage-3-content li.checked::before {
    content: '☑';
    color: #27ae60;
  }
  
  .trainer-field {
    margin-top: 6mm;
    font-size: 9pt;
    border-top: 1px solid #bdc3c7;
    padding-top: 3mm;
  }
  
  .trainer-field p {
    margin: 2mm 0;
  }
  
  .signature-fields {
    margin-top: 8mm;
    font-size: 10pt;
    border-top: 1px solid #bdc3c7;
    padding-top: 3mm;
  }
  
  .signature-fields p {
    margin: 3mm 0;
  }
  
  /* Ausfüllbare Felder im Druck */
  input[type="text"] {
    border: none;
    border-bottom: 1px solid #000;
    background: transparent;
    font-size: inherit;
    width: 40mm;
    display: inline-block;
  }
  
  /* Checkboxen für Listenpunkte */
  .checked {
    text-decoration: line-through;
    color: #7f8c8d;
  }
  
  /* Falzlinien für Orientierung */
  .booklet-page::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
    z-index: -1;
  }
  
  .booklet-page::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #ddd;
    z-index: -1;
  }
  

}

/* Normale Anzeige - verstecke Heftchen */
.print-booklet {
  display: none;
}

/* Checkboxen für Listenpunkte in der normalen Anzeige */
.badge-content ul li {
  list-style: none;
  position: relative;
  padding-left: 20px;
}

.badge-content ul li::before {
  content: '☐';
  position: absolute;
  left: 0;
  color: #3498db;
  cursor: pointer;
}

.badge-content ul li.checked::before {
  content: '☑';
  color: #27ae60;
}

/* Print-Button Styling */
.print-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 20px;
}

.print-btn:hover {
  background: #229954;
} 