/* Harztor Kurkarten Buchung v1.7.0 (Struktur-Refactoring) */
.htsb-form { display:block; max-width:960px; margin:0 auto; }
.htsb-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:12px; margin-bottom:12px; }
.htsb-grid.full { grid-template-columns: 1fr; }
.htsb-grid label { display:flex; flex-direction:column; gap:6px; }
.htsb-grid label span { font-weight:600; font-size:.95rem; }
.htsb-names-wrap { display:block; margin:6px 0 12px 0; }
.htsb-names-wrap .row { display:grid; grid-template-columns: 2fr 1fr 1fr; gap:10px; margin-bottom:8px; align-items:center; }
.htsb-names-wrap .row .flag { display:flex; gap:10px; align-items:center; }
.htsb-names-wrap .row .flag label { display:flex; flex-direction:row; align-items:center; gap:6px; margin:0; }
.htsb-total-box { background:#f6f6f6; border-radius:8px; padding:10px; display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.htsb-total { font-weight:700; }
.htsb-button { margin-top: .5rem; padding: .7rem 1rem; border: 0; border-radius: 8px; background: #2e7d32; color: #fff; cursor: pointer; }
.htsb-button:hover { opacity: .9; }
.htsb-button:disabled { background: #999; cursor: not-allowed; }

/* Responsive */
@media (max-width: 640px){
  .htsb-grid { grid-template-columns: 1fr; }
  .htsb-names-wrap .row { grid-template-columns: 1fr; }
  .htsb-names-wrap .row .flag { justify-content:flex-start; }
}

/* Verify messages */
.htsb-verify { padding:12px; border-radius:8px; margin:10px 0; font-weight:600; }
.htsb-valid { background:#e4f7e8; color:#145c2e; }
.htsb-invalid { background:#ffecec; color:#8b1f1f; }

/* Stile für abweichende Rechnungsdaten (v1.6.3) */
.htsb-billing-toggle {
    margin-top: 1rem;
    padding: 10px;
    background: #f6f6f6;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}
.htsb-billing-toggle label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
}
.htsb-billing-toggle label input[type="checkbox"] {
    width: auto;
}
.htsb-billing-details {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
}
.htsb-billing-details .htsb-grid {
    margin-bottom: 0;
}

/* PDF-Stile (A7 Kurkarte & A6 Parkausweis) wurden in
   /includes/class-htsb-pdf.php verschoben
   und sind nicht mehr Teil dieser CSS-Datei.
*/