.event-categories {
    min-width: 0;
    padding: 0;
    margin: 0 0 8px;
}

.event-categories legend {
    padding: 0;
    font-weight: 700;
}

.event-categories p {
    margin: 6px 0 0;
    font-size: 13px;
    color: #535a55;
}

.event-categories #categoryStatus:empty {
    display: none;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

#eventForm .category-pill {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.category-pill input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    opacity: 0;
}

.category-pill span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 14px;
    border: 1px solid #d7d9d7;
    border-radius: 999px;
    background: #f0f1f0;
    color: #444a46;
    font-size: 13px;
    font-weight: 600;
}

.category-pill input:checked + span {
    border-color: #19603b;
    background: #19603b;
    color: #fff;
}

.category-pill input:focus-visible + span {
    outline: 2px solid #19603b;
    outline-offset: 3px;
}
