
/* Horster 3D prototype v0.2 */
.h3d-wrap {
    max-width: 1100px;
    margin: 20px auto;
    color: #ffffff !important;
}

.h3d-wrap .h3d-title,
.h3d-wrap .h3d-section-title,
.h3d-wrap .h3d-intro,
.h3d-wrap .h3d-label,
.h3d-wrap > h2,
.h3d-wrap > h3,
.h3d-form > h3,
.h3d-form > p,
.h3d-form > label {
    color: #ffffff !important;
}

.h3d-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
}

.h3d-form label {
    display:block;
    font-weight:600;
    color:#ffffff !important;
}

.h3d-label {
    display:block;
    margin-bottom:6px;
    color:#ffffff !important;
    font-weight:700;
}

.h3d-form input[type=text],
.h3d-form input[type=email],
.h3d-form input[type=tel],
.h3d-form select {
    width:100%;
    padding:11px 12px;
    margin-top:5px;
    box-sizing:border-box;
    color:#111111 !important;
    background:#ffffff !important;
    border:1px solid #cfcfcf;
    border-radius:4px;
}

.h3d-form input[type=text]::placeholder {
    color:#666666 !important;
}

.h3d-lanes {
    display:grid;
    gap:14px;
}

.h3d-lane {
    border:1px solid #d7d7d7;
    border-radius:8px;
    overflow:hidden;
    background:#ffffff;
    color:#1f2937 !important;
}

.h3d-lane * {
    color:#1f2937 !important;
}

.h3d-lane-head {
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:12px 14px;
    background:#f3f3f3;
}

.h3d-days {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    padding:14px;
}

.h3d-days ul {
    margin:8px 0 0 18px;
}

.h3d-empty {
    margin-top:8px;
    opacity:.7;
}

.h3d-form input[type="checkbox"] + *,
.h3d-form input[type="radio"] + * {
    color: inherit;
}

.h3d-button {
    padding:12px 18px;
    font-size:16px;
    cursor:pointer;
    border-radius:5px;
}

.h3d-success {
    padding:12px 16px;
    margin:16px 0;
    border:1px solid #7bbf7b;
    background:#f0fff0;
    color:#1f2937 !important;
}

@media (max-width: 700px) {
    .h3d-days {
        grid-template-columns:1fr;
    }
}


/* v0.3: status en duidelijke baankeuze */
.h3d-choice {
    display:flex;
    align-items:center;
    gap:12px;
}

.h3d-choice label,
.h3d-choice label span {
    color:#1f2937 !important;
    font-weight:700;
}

.h3d-lane-status {
    font-weight:700;
    color:#8a1c1c !important;
}

.h3d-lane.h3d-unavailable {
    opacity:.72;
}

.h3d-lane.h3d-unavailable .h3d-lane-head {
    background:#ececec;
}

.h3d-lane.h3d-full {
    border-width:2px;
}

.h3d-lane.h3d-full .h3d-lane-status {
    text-transform:uppercase;
}


/* v0.4 tijdelijke reserveringen */
.h3d-temp-label {
    font-size: 0.9em;
    font-weight: 700;
    margin-left: 6px;
    color: #8a5a00 !important;
}

.h3d-reserved-person {
    position: relative;
}

.h3d-public-note {
    color: #ffffff !important;
}


/* v0.5 klok-icoon en legenda */
.h3d-clock {
    display:inline-block;
    margin-left:6px;
    font-size:1.05em;
    vertical-align:baseline;
}

.h3d-legend {
    display:inline-block;
    margin:8px 0 14px;
    padding:8px 10px;
    border-radius:6px;
    background:rgba(255,255,255,.12);
    color:#ffffff !important;
    font-weight:600;
}

.h3d-lane .h3d-legend {
    color:#1f2937 !important;
}


/* v0.7: alleen klokje tonen bij tijdelijke reservering */
.h3d-clock {
    margin-left: 7px;
    font-size: 1.05em;
}

.h3d-paid-label {
    display:inline-block;
    margin-left:7px;
    font-weight:700;
    color:#1c6b2a !important;
}

/* v1.1 exportknoppen */
.h3d-export-buttons .button {
    margin-right: 8px;
    margin-bottom: 8px;
}

/* v1.4 */
.h3d-form input[type=date] { width:100%; padding:11px 12px; margin-top:5px; box-sizing:border-box; color:#111!important; background:#fff!important; border:1px solid #cfcfcf; border-radius:4px; }
.h3d-form input[readonly] { background:#f2f2f2!important; }


/* v1.5 startpakket en prijsberekening */
.h3d-price-panel,
.h3d-option-card,
.h3d-total-box {
    background:#ffffff;
    color:#1f2937 !important;
    border-radius:8px;
    padding:14px 16px;
    margin:12px 0;
}
.h3d-price-panel * ,
.h3d-option-card * ,
.h3d-total-box * {
    color:#1f2937 !important;
}
.h3d-option-card {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}
.h3d-token-stepper {
    display:flex;
    align-items:center;
    gap:6px;
}
.h3d-token-stepper button {
    min-width:40px;
    min-height:40px;
    font-size:22px;
    cursor:pointer;
}
.h3d-token-stepper input {
    width:70px !important;
    text-align:center;
    margin:0 !important;
}
.h3d-extra-line {
    margin:12px 0;
}
.h3d-total-box {
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:1.2em;
    border:2px solid #d7d7d7;
}
.h3d-total-box strong {
    font-size:1.25em;
}
.h3d-total-note {
    font-size:.92em;
}
@media (max-width:700px){
    .h3d-option-card { align-items:flex-start; flex-direction:column; }
}

/* v2.0 */
#h3d-discipline-note{display:block;margin-top:5px;opacity:.85}


/* v2.1 wedstrijdenoverzicht */
.ach-competitions { margin: 28px auto; }
.ach-competition-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:18px;
}
.ach-competition-card {
    background:#fff;
    color:#172033 !important;
    border-radius:10px;
    padding:20px;
    box-shadow:0 2px 8px rgba(0,0,0,.10);
}
.ach-competition-card * { color:#172033 !important; }
.ach-competition-card .h3d-button { color:#fff !important; display:inline-block; text-decoration:none; }
.ach-selected-competition {
    margin:0 0 18px;
    padding:10px 12px;
    border-radius:7px;
    background:rgba(255,255,255,.12);
    color:#fff !important;
}


/* v2.1.2 - duidelijke inschrijfknop op wedstrijdkaarten */
.ach-competition-card .ach-register-button,
.ach-competition-card a.ach-register-button,
.ach-register-button {
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:12px 24px !important;
    margin-top:8px;
    border:0 !important;
    border-radius:999px !important;
    background:#e64b4b !important;
    color:#ffffff !important;
    font-weight:700 !important;
    line-height:1.2;
    text-decoration:none !important;
    box-shadow:none !important;
    cursor:pointer;
}
.ach-competition-card .ach-register-button:hover,
.ach-competition-card .ach-register-button:focus {
    background:#cf3f3f !important;
    color:#ffffff !important;
    text-decoration:none !important;
}


/* v2.1.3 - aparte inschrijfpagina */
.ach-registration-intro {
    margin-bottom:22px;
}
.ach-registration-kicker {
    font-weight:700;
    font-size:.95rem;
    text-transform:uppercase;
    letter-spacing:.04em;
    margin-bottom:4px;
}
.ach-back-link {
    margin:0 0 16px;
}
.ach-back-link a {
    color:inherit;
    font-weight:700;
    text-decoration:none;
}
.ach-back-link a:hover {
    text-decoration:underline;
}
.ach-free-badge,
.ach-fee-badge {
    display:inline-block;
    margin-top:10px;
    padding:8px 12px;
    border-radius:6px;
    background:#ffffff;
    color:#172033 !important;
    font-weight:700;
}
.ach-competition-help {
    margin-bottom:18px;
}
.ach-submit-button {
    font-weight:700;
}

/* v2.1.4 wedstrijdindeling */
.ach-allocation-note {
    margin:18px 0;
    padding:14px 16px;
    border-radius:8px;
    background:#fff;
    color:#172033 !important;
}


/* v2.1.5 */
.ach-card-actions {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    margin-top:14px;
}
.ach-allocation-button {
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:12px 24px !important;
    border-radius:999px !important;
    background:#25384b !important;
    color:#fff !important;
    font-weight:700 !important;
    text-decoration:none !important;
}
.ach-allocation-button:hover,
.ach-allocation-button:focus {
    background:#172838 !important;
    color:#fff !important;
}
.ach-registration-closed {
    font-weight:700;
}
.h3d-days-single {
    grid-template-columns:1fr !important;
}
