/* ==========================================================================
   SHARED FILTER UI
   Used by .sloepen-lijst (Sloepen page) and .sloepen-filter-wrapper (Tarieven page)
   ========================================================================== */

.sloepen-lijst,
.sloepen-filter-wrapper {
    --c-dark-blue: #334270;
    --c-blue-100: #95C9FB;
    --c-blue-soft: #DCEEFB;
    --c-blue-icons: #476294;
    --c-red: #ED1C24;
    --c-yellow: #FFD152;
    --c-yellow-hover: #FFC93D;
    --c-yellow-stroke: #F1C54B;
    --c-border: #D8DFEA;

    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.sloepen-lijst *,
.sloepen-lijst *::before,
.sloepen-lijst *::after,
.sloepen-filter-wrapper *,
.sloepen-filter-wrapper *::before,
.sloepen-filter-wrapper *::after {
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   FILTER TOGGLE BUTTON
   -------------------------------------------------------------------------- */
.short_tarieven .sloepen-filter {
	padding: 0;
}
.short_tarieven .sloepen-active-filters{
	padding: 0 0 20px;
}
.sloepen-filter {
    margin-bottom: 40px;
	padding: 0 6%;
}

.sloepen-lijst .sloepen-filter__toggle,
.sloepen-lijst button.sloepen-filter__toggle,
.sloepen-filter-wrapper .sloepen-filter__toggle,
.sloepen-filter-wrapper button.sloepen-filter__toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 0 !important;
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    line-height: 130% !important;
    letter-spacing: 0 !important;
    text-align: center;
    color: #334270 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: color 0.2s ease;
}

.sloepen-lijst .sloepen-filter__toggle:hover,
.sloepen-filter-wrapper .sloepen-filter__toggle:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #334270 !important;
}

.sloepen-filter__toggle svg {
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   FILTER PANEL
   -------------------------------------------------------------------------- */

.sloepen-filter__panel {
    display: flex !important;
    flex-wrap: wrap;
    gap: 32px 40px;
    padding: 16px 0 0;
    margin-top: 12px;
    background: #ffffff;
    border-radius: 12px;
    /** box-shadow: 0 4px 16px rgba(51, 66, 112, 0.06);
    border: 1px solid #EEF2F8; **/
}

.sloepen-filter__panel[hidden] {
    display: none !important;
}

.sloepen-filter__group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.sloepen-filter__label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #334270;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sloepen-filter__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* --------------------------------------------------------------------------
   FILTER PILLS
   -------------------------------------------------------------------------- */

.sloepen-lijst .filter-pill,
.sloepen-lijst button.filter-pill,
.sloepen-filter-wrapper .filter-pill,
.sloepen-filter-wrapper button.filter-pill {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px !important;
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    color: #334270 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1px solid #D8DFEA !important;
    border-radius: 30px !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sloepen-lijst .filter-pill:hover,
.sloepen-filter-wrapper .filter-pill:hover {
    background: #F2F8FE !important;
    background-color: #F2F8FE !important;
    border-color: #95C9FB !important;
    color: #334270 !important;
}

.sloepen-lijst .filter-pill.is-active,
.sloepen-filter-wrapper .filter-pill.is-active {
    background: #95C9FB !important;
    background-color: #95C9FB !important;
    border-color: #95C9FB !important;
    color: #334270 !important;
}

.sloepen-lijst .filter-pill.is-active:hover,
.sloepen-filter-wrapper .filter-pill.is-active:hover {
    background: #7DBAF0 !important;
    background-color: #7DBAF0 !important;
    border-color: #7DBAF0 !important;
}

.filter-pill:focus-visible {
    outline: 2px solid #334270;
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   DATE INPUT
   -------------------------------------------------------------------------- */

.sloepen-filter__date {
    padding: 8px 14px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #334270;
    background: #ffffff;
    border: 1px solid #D8DFEA;
    border-radius: 30px;
    cursor: pointer;
    min-width: 180px;
    height: 38px;
}

.sloepen-filter__date:focus {
    outline: 2px solid #334270;
    outline-offset: 2px;
    border-color: #95C9FB;
}

/* --------------------------------------------------------------------------
   ACTIVE FILTERS BAR
   -------------------------------------------------------------------------- */

.sloepen-active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 24px;
	padding: 0 6% 20px;
    padding-bottom: 20px;
    /*** border-bottom: 1px solid #E5EBF5; ***/
}

.sloepen-active-filters[hidden] {
    display: none;
}

.sloepen-active-filters__label {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #000;
}

.sloepen-active-filters__list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sloepen-lijst .active-filter-pill,
.sloepen-lijst button.active-filter-pill,
.sloepen-filter-wrapper .active-filter-pill,
.sloepen-filter-wrapper button.active-filter-pill {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 6px 14px !important;
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 130% !important;
    color: #000 !important;
    background: #DCEEFB !important;
    background-color: #DCEEFB !important;
    background-image: none !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background 0.2s ease;
}

.sloepen-lijst .active-filter-pill:hover,
.sloepen-filter-wrapper .active-filter-pill:hover {
    background: #C5DFF5 !important;
    background-color: #C5DFF5 !important;
}

.active-filter-pill__x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    line-height: 1;
    font-size: 16px;
    font-weight: 700;
    color: #334270;
}

.sloepen-lijst .sloepen-active-filters__clear,
.sloepen-lijst button.sloepen-active-filters__clear,
.sloepen-filter-wrapper .sloepen-active-filters__clear,
.sloepen-filter-wrapper button.sloepen-active-filters__clear {
    padding: 4px 12px !important;
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #ED1C24 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    cursor: pointer;
    text-decoration: underline !important;
    text-decoration-color: currentColor !important;
    margin-left: auto;
    box-shadow: none !important;
}

.sloepen-active-filters__clear[hidden] {
    display: none !important;
}

.sloepen-lijst .sloepen-active-filters__clear:hover,
.sloepen-filter-wrapper .sloepen-active-filters__clear:hover {
    color: #C8161D !important;
}

/* --------------------------------------------------------------------------
   EMPTY STATE
   -------------------------------------------------------------------------- */

.sloepen-lijst__empty {
    padding: 48px 24px;
    text-align: center;
    background: #F8FAFD;
    border-radius: 12px;
    border: 1px dashed #C5D2E3;
}

.sloepen-lijst__empty[hidden] {
    display: none;
}

.sloepen-lijst__empty p {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #334270;
    margin: 0;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
    .sloepen-filter__panel {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
}
