/* AC Vrienden — Formulier */

.ac-formulier-wrapper {
    background: #f5f5f5;
    padding: 32px;
    border-radius: 6px;
    max-width: 680px;
}

/* Meldingen */
.ac-melding {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: 15px;
}
.ac-fout {
    background: #fdecea;
    border-left: 4px solid #c0392b;
    color: #7b1e1e;
}
.ac-succes {
    background: #eafaf1;
    border-left: 4px solid #27ae60;
    color: #1a5e35;
}

/* ── Secties ─────────────────────────────────────────────────── */

.ac-sectie {
    margin-bottom: 0;
}
.ac-sectie-titel {
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
    margin: 0.5rem 0;
    padding: 0;
}

/* ── Velden ───────────────────────────────────────────────────── */

/* Elke veld-eenheid (zowel standalone als in rij) */
.ac-veld {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1rem;
}
.ac-veld label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}
.ac-veld input[type='text'],
.ac-veld input[type='email'],
.ac-veld input[type='tel'],
.ac-veld input[type='date'] {
    width: 100%;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background: #fff;
    font-size: 15px;
    color: #222;
    box-sizing: border-box;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}
.ac-veld input[type='date'] {
    cursor: pointer;
}
.ac-veld input:focus {
    outline: none;
    border-color: #555;
}

/* Rij = twee velden naast elkaar */
.ac-veld-rij {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.ac-veld-rij .ac-veld {
    margin-bottom: 0;
}

/* ── Radio buttons ────────────────────────────────────────────── */

.ac-veld-betaaltype {
    margin-bottom: 1rem;
}
.ac-veld-betaaltype > .ac-veld-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1;
}
.ac-radio-groep {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ac-radio-groep label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 14px 48px;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 15px;
    font-weight: normal;
    color: #222;
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s;
    line-height: 1.3;
}
.ac-radio-groep label:hover {
    border-color: #888;
}
.ac-radio-groep input[type='radio'] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
/* Buitenste cirkel */
.ac-radio-groep label::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
/* Binnenste stip */
.ac-radio-groep label::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 10px;
    height: 10px;
    background: #555;
    border-radius: 50%;
    transition: transform 0.15s ease;
}
.ac-radio-groep label:has(input[type='radio']:checked) {
    border-color: #555;
    background: #fafafa;
}
.ac-radio-groep label:has(input[type='radio']:checked)::before {
    border-color: #555;
}
.ac-radio-groep label:has(input[type='radio']:checked)::after {
    transform: translateY(-50%) scale(1);
}

/* Prijs pill */
.ac-prijs {
    flex-shrink: 0;
    background: #555;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
    line-height: 1.4;
    white-space: nowrap;
    transition: background 0.2s;
}
.ac-radio-groep label:has(input[type='radio']:checked) .ac-prijs {
    background: #222;
}

/* ── Submit knop ─────────────────────────────────────────────── */

.ac-knop {
    position: relative;
    height: 2.75rem;
    font-family: 'Proxima Nova Alt', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 2.75rem;
    padding: 0 1.75rem;
    display: inline-block;
    border: none;
    cursor: pointer;
    background: #555555;
    color: #ffffff;
    border-radius: 3px;
    transition: background 0.5s cubic-bezier(0.67, 0, 0.34, 1);
    margin-top: 8px;
}
.ac-knop:hover {
    background: #252525;
    color: #ffffff;
}
.ac-knop-opzeg {
    background: #c0392b;
}
.ac-knop-opzeg:hover {
    background: #922b21;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 540px) {
    .ac-formulier-wrapper {
        padding: 20px;
    }
    .ac-veld-rij {
        grid-template-columns: 1fr;
    }
}
