/* --- grid container: 3 kolommen (pas min-width aan naar wens) --- */
.req-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 12px 48px; /* row-gap, column-gap */
    align-items: start;
}

/* responsive: 2 kolommen op medium, 1 op klein */
@media (max-width: 900px) {
    .req-container { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
}
@media (max-width: 520px) {
    .req-container { grid-template-columns: 1fr; }
}

/* grid item: zorgt dat inhoud netjes uitlijnt */
.req-item {
    display: block; /* grid child */
}

.req-text {
    text-align: left !important;
}

/* label en inhoud als rij: checkbox + tekst */
.req-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    width: 100%;
    user-select: none;
}

/* echte input is toegankelijk, maar we verbergen visueel (visueel verborgen maar focusbaar) */
.req-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

/* visuele checkbox */
.req-check {
    width: 22px;
    height: 22px;
    border: 2px solid #0f2a43;   /* gele rand */
    border-radius: 6px;
    background: #fff;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    transition: background .15s ease, box-shadow .12s ease, transform .08s ease;
}

/* check-mark (via pseudo-element op .req-check) — standaard verborgen */
.req-check::after {
    content: "";
    width: 6px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform .12s ease-in-out;
}

/* checked: achtergrond en toon vinkje */
.req-input:checked + .req-check {
    background: #0f2a43 ; /* zachte gele fill */
    box-shadow: 0 0 0 3px rgb(15, 55, 91);
    border-color: #0f2a43 ;
    color: #fff;
}
.req-input:checked + .req-check::after {
    transform: rotate(45deg) scale(1);
}

/* focus-visible voor keyboard gebruikers */
.req-input:focus-visible + .req-check {
    box-shadow: 0 0 0 4px rgba(15,42,67,0.3);
}

/* tekst styling */
.req-text {
    color: #222;
    line-height: 1.25;
}

/* disabled look */
.req-item.is-disabled .req-label {
    opacity: .55;
    cursor: not-allowed;
}
.req-item.is-disabled .req-check {
    border-color: #fff;
    background: #fff;
}

/* standaard */
.selected_requests {
    line-height: 1.5;
}

.req-quotation {
    color: #2cb1bc; /* oranje accent */
    font-style: italic;
}

.info-icon {
    margin-left: 6px;
    color: #888;
    cursor: help;
}

.info-icon:hover {
    color: #2cb1bc; /* kleurt mee bij hover */
}
