.dnzt-vacature-filter {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    align-items: flex-start !important;
    margin-bottom: 40px !important;
    position: relative !important;
    z-index: 20 !important;
}

.dnzt-filter-group {
    position: relative !important;
    width: 320px !important;
    max-width: 100% !important;
    flex: 0 0 320px !important;
    z-index: 30 !important;
}

.dnzt-filter-toggle {
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    box-sizing: border-box !important;

    border: 0 !important;
    border-radius: 999px !important;
    background: #3a171d !important;
    color: #ffffff !important;

    padding: 0 18px 0 22px !important;

    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    cursor: pointer !important;
}

.dnzt-filter-toggle > span:first-child {
    display: inline-flex !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
}

.dnzt-filter-icon {
    display: inline-flex !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.18) !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

.dnzt-filter-group.is-open .dnzt-filter-toggle {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.dnzt-filter-group.is-open .dnzt-filter-icon {
    transform: rotate(180deg) !important;
}

.dnzt-filter-dropdown {
    display: none !important;
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 56px !important;
    width: 320px !important;
    box-sizing: border-box !important;

    background: #672d33 !important;
    color: #ffffff !important;

    padding: 14px 0 !important;
    border-radius: 0 0 18px 18px !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18) !important;

    z-index: 9999 !important;
}

.dnzt-filter-group.is-open .dnzt-filter-dropdown {
    display: block !important;
}

.dnzt-filter-option {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

    padding: 8px 18px !important;

    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;

    cursor: pointer !important;
}

.dnzt-filter-option:hover {
    background: rgba(255,255,255,0.08) !important;
}

.dnzt-filter-option input {
    flex: 0 0 auto !important;
    accent-color: #ffffff !important;
}

.dnzt-filter-apply {
    display: none !important;
}

.dnzt-filter-reset {
    min-height: 56px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    color: #3a171d !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;

    padding: 0 4px !important;
    margin-left: 0 !important;
    white-space: nowrap !important;
    position: relative !important;
    z-index: 10 !important;
}

.dnzt-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.dnzt-active-filters-title {
    color: #3a171d;
    font-weight: 700;
}

.dnzt-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 14px;
    border: 2px solid #3a171d;
    border-radius: 999px;
    color: #3a171d;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}

.dnzt-active-filter:hover {
    background: #3a171d;
    color: #ffffff;
}

.dnzt-active-filter span {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 1024px) {
    .dnzt-vacature-filter {
        gap: 16px !important;
    }

    .dnzt-filter-group {
        width: 300px !important;
        flex-basis: 300px !important;
    }

    .dnzt-filter-dropdown {
        width: 300px !important;
    }
}

@media (max-width: 767px) {
    .dnzt-vacature-filter {
        flex-direction: column !important;
        gap: 14px !important;
    }

    .dnzt-filter-group,
    .dnzt-filter-dropdown,
    .dnzt-filter-reset {
        width: 100% !important;
        flex-basis: auto !important;
    }

    .dnzt-filter-dropdown {
        position: static !important;
    }

    .dnzt-filter-reset {
        justify-content: flex-start !important;
        min-height: auto !important;
    }
}