/**
 EBTC Slagbomenconfigurator
 Copyright 2025, Frank W
 Version: 1.12
 */
.ebtc-configurator {
    max-width: 850px;
    margin: 40px auto;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
    padding: 20px 30px;
    border: 1px solid #ddd;
    border-radius: 8px
}

.ebtc-progress {
    width: 100%;
    background: #eee;
    border-radius: 6px;
    margin-bottom: 20px;
    height: 12px;
    overflow: hidden
}

.ebtc-progress-bar {
    height: 100%;
    width: 0%;
    background: #27ae60;
    transition: width .4s ease
}

.ebtc-step {
    display: block;
    margin-bottom: 24px;
    transition: opacity .3s ease
}

.ebtc-step.hidden {
    display: none
}

.ebtc-step h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

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

.ebtc-answer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 14px;
    border-radius: 6px;
    background: #fafafa !important;
    cursor: pointer;
    transition: all .3s;
    border-style: solid;
    border-width: 1px !important;
    border-color: #fafafa;
}

.ebtc-answer:hover {
    border-color: #f33f08 !important;
    color: #0b3954 !important;
}

.ebtc-answer:not(:has(.ebtc-aimg)):hover,
.ebtc-checkbox-tile:not(:has(.ebtc-aimg)):hover {
    background-color: #ffb6a1 !important;
}

.ebtc-answer span.ebtc-label {
    color: #0b3954
}

.ebtc-answer.selected {
    border-color: #f33f08 !important;
    background: #fafafa !important;
    color: #f33f08 !important;
}

.ebtc-aimg {
    width: 100%;
    max-height: 160px;
    overflow: hidden;
    margin-bottom: 10px
}

.ebtc-aimg img {
    width: 100%;
    height: auto;
    display: block
}

.ebtc-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px
}

.ebtc-next, .ebtc-submit {
    margin-top: 12px
}

.ebtc-qimg {
    margin-bottom: 10px
}

.ebtc-qimg img {
    max-width: 100%;
    height: auto;
    display: block
}

.ebtc-hp {
    display: none !important;
    visibility: hidden !important
}

.ebtc-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px
}

.hidden {
    display: none !important;
}

.ebtc-question-desc {
    font-size: 15px;
    color: #555;
    margin: 8px 0 16px;
}

.ebtc-answer input[type=checkbox] {
    margin-right: 8px
}

.ebtc-form-field {
    margin-bottom: 12px;
}

.ebtc-form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.ebtc-checkbox-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 14px;
    border: 2px solid #ccc;
    border-radius: 6px;
    background: #fafafa !important;
    cursor: pointer;
    transition: all .3s;
}

.ebtc-checkbox-tile:hover {
    border-color: #f33f08 !important;
    background: #fafafa !important;
    color: #0b3954 !important;
}

.ebtc-checkbox-tile.selected {
    border-color: #f33f08 !important;
    background: #fafafa !important;
    color: #f33f08 !important;
}

.ebtc-checkbox-tile input[type=checkbox] {

}
.ebtc-checkbox-tile input[type=checkbox] {
    display: none;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}