.invoer-modal {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invoer-modal[hidden] {
    display: none;
}

.invoer-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.invoer-modal-inhoud {
    position: relative;
    z-index: 1;
    width: min(92vw, 420px);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.invoer-modal-sluiten {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 0;
    color: inherit;
    opacity: 0.6;
}
.invoer-modal-sluiten:hover {
    opacity: 1;
}
.invoer-modal-sluiten svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.invoer-modal-titel {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

.invoer-modal-beschrijving {
    margin: 0;
    opacity: 0.75;
    font-size: 0.9rem;
}

.invoer-modal-veld {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--kleur-rand, #ccc);
    border-radius: var(--radius, 6px);
    font-size: 1rem;
    font-family: inherit;
    background: var(--kleur-achtergrond, #fff);
    color: inherit;
    box-sizing: border-box;
}
.invoer-modal-veld:focus {
    outline: 2px solid var(--kleur-accent, #555);
    outline-offset: 2px;
}

.invoer-modal-acties {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}
