.wg-filter-bar {
    display: flex;
    gap: 10px;
    background: white;
    padding: 16px 0px;
}

.wg-filter-category {
    position: relative;
    border: none;
    background: #F7F7F7;
    border-radius: 12px;
    font-family: Inter;
    font-weight: 700;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-overflow: '';
    line-height: 16px;
    cursor: pointer;
    height: 52px;
    overflow: hidden;
    border: 1.5px solid transparent;
}


select#wg-filter-category {
    color: black;
    border: none;
    padding: 18px 16px;
    position: relative;
    background: none;
    line-height: 16px;
    font-size: 14px;
    font-family: Inter;
    font-weight: 700;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-overflow: '';
    opacity: 0;
    width: 100%;
    position: absolute;
    top: 0;
    height: 100%;

}




#wg-filter-category {
    width: 100%;
    box-sizing: border-box;
}


.wg-filter-date {
    flex-grow: 1;
    position: relative;
    cursor: pointer;
}

input#wg-filter-date {
    padding: 26px 16px 6px 16px;
    border: none;
    background: #F7F7F7;
    border-radius: 12px;
    font-size: 14px;
    font-family: Inter;
    font-weight: 700;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-overflow: '';
    width: 100%;
    cursor: pointer;
    color: rgba(0, 0, 0, 0);
    transition: color 0.3s ease-out, padding 0.3s ease-out;
    height: 52px;
    border: 1.5px solid transparent;
}

input#wg-filter-date:focus-visible,
.wg-filter-category:focus-within {
    border-color: black;
    border: 1.5px solid black;
    box-sizing: border-box;
    outline: none;
}

.wg-filter-category:focus-within select {
    outline: none;
}


.wg-filter-category svg,
.wg-filter-date svg {
    position: absolute;
    right: 16px;
    top: 50%;
    translate: 0 -50%;
    pointer-events: none;
}

.wg-filter-category svg {
    height: 16px;
    width: 16px;
}

.wg-filter-date svg {
    height: 25px;
    width: 25px;
}

.wg-filter-date .wg-filter-date-label {
    font-family: Inter;
    font-weight: 700;
    position: absolute;
    left: 17.5px;
    translate: 0 -50%;
    pointer-events: none;
    color: #999999;
    top: 50%;
    font-size: 14px;
    line-height: 14px;
    transition: font-size .3s ease-out, top .3s ease-out, color .3s ease-out;

}

#wg-filter-date:not(:placeholder-shown)+.wg-filter-date-label {
    font-size: 10px;
    top: 30%;
    color: #757575;
}

#wg-filter-date:not(:placeholder-shown) {
    padding: 22px 16px 10px 16px;
    color: #000000
}

#wg-filter-category-display-full,
#wg-filter-category-display-abbr {
    position: relative;
    color: black;
    border: none;
    padding: 18px 16px;
    background: none;
    line-height: 16px;
    font-size: 14px;
    font-family: Inter;
    font-weight: 700;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-overflow: '';
}

/* Hide the full text display on mobile devices */
#wg-filter-category-display-full {
    display: none;
    text-transform: capitalize;
}

/* Show the abbreviated display on mobile devices */
#wg-filter-category-display-abbr {
    display: block;
    text-transform: uppercase;
}

/* Media query to switch displays based on screen size */

#wg-filter-category-display-full {
    display: block;
}

#wg-filter-category-display-abbr {
    display: none;
}

/* Date picker */

.ui-datepicker {
    width: 361px;
    display: none;
    border: none;
    border-radius: 12px;
    background: white;
    font-family: Inter;
    padding: 6px 16px;
    filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.2));
    margin-top: 15px;
    z-index: 2000 !important;
    overflow: hidden;
    transition: transform 0.3s ease-out;


}

@media (max-width: 752px) {
    .ui-datepicker {
        top: 100dvh !important;
        position: fixed !important;
        transition: translate 0.3s ease-out, opacity 0.3s ease-out, visibility .0s 0.3s;
        translate: 0% 0%;
        pointer-events: none !important;
        left: 0% !important;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        width: 100%;
        box-sizing: border-box;
        margin-top: 0px;
        opacity: 0;
        padding-bottom: env(safe-area-inset-bottom);
        visibility: hidden;
        display: block !important;
    }

    .ui-datepicker.show {
        translate: 0% -100%;
        pointer-events: all !important;
        transition: translate 0.3s ease-out, opacity 0s, visibility 0s, transform .3s ease-out;
        opacity: 1 !important;
        visibility: visible;
    }

}

@media (min-width: 753px) {
    .ui-datepicker {
        transition: translate 0.15s ease-out, opacity 0.15s ease-out;
        translate: 0% 30%;
        pointer-events: none !important;
        opacity: 0;
    }

    .ui-datepicker.show {
        translate: 0% 0%;
        transition: translate 0.2s ease-out, opacity 0.2s ease-out;
        pointer-events: all !important;
        opacity: 1 !important;
    }

}

.ui-datepicker .ui-datepicker-header {
    position: relative;
    display: flex;
    padding: 29px 4px;
    padding-bottom: 33px;
}

.ui-icon.ui-icon-circle-triangle-e {
    display: none;
}

.ui-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
    height: 20px;
}

.ui-icon.ui-icon-circle-triangle-e {
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxMSAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjc1OTggOC45NDkyMkMxMC43NTk4IDkuMTE4NDkgMTAuNzI3MiA5LjI3NDc0IDEwLjY2MjEgOS40MTc5N0MxMC41OTcgOS41NjEyIDEwLjQ5OTMgOS42OTc5MiAxMC4zNjkxIDkuODI4MTJMMi43NjE3MiAxNy4yNjk1QzIuNTQ2ODggMTcuNDkwOSAyLjI3OTk1IDE3LjYwMTYgMS45NjA5NCAxNy42MDE2QzEuNzUyNiAxNy42MDE2IDEuNTYwNTUgMTcuNTQ5NSAxLjM4NDc3IDE3LjQ0NTNDMS4yMDg5OCAxNy4zNDc3IDEuMDY5MDEgMTcuMjEwOSAwLjk2NDg0NCAxNy4wMzUyQzAuODY3MTg4IDE2Ljg2NTkgMC44MTgzNTkgMTYuNjc3MSAwLjgxODM1OSAxNi40Njg4QzAuODE4MzU5IDE2LjE1NjIgMC45MzU1NDcgMTUuODc5NiAxLjE2OTkyIDE1LjYzODdMOC4wMjUzOSA4Ljk0OTIyTDEuMTY5OTIgMi4yNTk3N0MwLjkzNTU0NyAyLjAxODg4IDAuODE4MzU5IDEuNzQ1NDQgMC44MTgzNTkgMS40Mzk0NUMwLjgxODM1OSAxLjIyNDYxIDAuODY3MTg4IDEuMDMyNTUgMC45NjQ4NDQgMC44NjMyODFDMS4wNjkwMSAwLjY5NDAxIDEuMjA4OTggMC41NjA1NDcgMS4zODQ3NyAwLjQ2Mjg5MUMxLjU2MDU1IDAuMzU4NzI0IDEuNzUyNiAwLjMwNjY0MSAxLjk2MDk0IDAuMzA2NjQxQzIuMjc5OTUgMC4zMDY2NDEgMi41NDY4OCAwLjQxNDA2MiAyLjc2MTcyIDAuNjI4OTA2TDEwLjM2OTEgOC4wNzAzMUMxMC40OTkzIDguMjAwNTIgMTAuNTk3IDguMzM3MjQgMTAuNjYyMSA4LjQ4MDQ3QzEwLjcyNzIgOC42MjM3IDEwLjc1OTggOC43Nzk5NSAxMC43NTk4IDguOTQ5MjJaIiBmaWxsPSJibGFjayIvPgo8L3N2Zz4K');
    background-repeat: no-repeat;
    background-size: contain;
}

.ui-icon.ui-icon-circle-triangle-w {
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxMSAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjc1OTggOC45NDkyMkMxMC43NTk4IDkuMTE4NDkgMTAuNzI3MiA5LjI3NDc0IDEwLjY2MjEgOS40MTc5N0MxMC41OTcgOS41NjEyIDEwLjQ5OTMgOS42OTc5MiAxMC4zNjkxIDkuODI4MTJMMi43NjE3MiAxNy4yNjk1QzIuNTQ2ODggMTcuNDkwOSAyLjI3OTk1IDE3LjYwMTYgMS45NjA5NCAxNy42MDE2QzEuNzUyNiAxNy42MDE2IDEuNTYwNTUgMTcuNTQ5NSAxLjM4NDc3IDE3LjQ0NTNDMS4yMDg5OCAxNy4zNDc3IDEuMDY5MDEgMTcuMjEwOSAwLjk2NDg0NCAxNy4wMzUyQzAuODY3MTg4IDE2Ljg2NTkgMC44MTgzNTkgMTYuNjc3MSAwLjgxODM1OSAxNi40Njg4QzAuODE4MzU5IDE2LjE1NjIgMC45MzU1NDcgMTUuODc5NiAxLjE2OTkyIDE1LjYzODdMOC4wMjUzOSA4Ljk0OTIyTDEuMTY5OTIgMi4yNTk3N0MwLjkzNTU0NyAyLjAxODg4IDAuODE4MzU5IDEuNzQ1NDQgMC44MTgzNTkgMS40Mzk0NUMwLjgxODM1OSAxLjIyNDYxIDAuODY3MTg4IDEuMDMyNTUgMC45NjQ4NDQgMC44NjMyODFDMS4wNjkwMSAwLjY5NDAxIDEuMjA4OTggMC41NjA1NDcgMS4zODQ3NyAwLjQ2Mjg5MUMxLjU2MDU1IDAuMzU4NzI0IDEuNzUyNiAwLjMwNjY0MSAxLjk2MDk0IDAuMzA2NjQxQzIuMjc5OTUgMC4zMDY2NDEgMi41NDY4OCAwLjQxNDA2MiAyLjc2MTcyIDAuNjI4OTA2TDEwLjM2OTEgOC4wNzAzMUMxMC40OTkzIDguMjAwNTIgMTAuNTk3IDguMzM3MjQgMTAuNjYyMSA4LjQ4MDQ3QzEwLjcyNzIgOC42MjM3IDEwLjc1OTggOC43Nzk5NSAxMC43NTk4IDguOTQ5MjJaIiBmaWxsPSJibGFjayIvPgo8L3N2Zz4K');
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(180deg);
}

.ui-datepicker {
    padding: 0px 20px;
}

.ui-datepicker thead tr th {
    padding: 0;
    font-weight: 800;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {

    cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev {
    order: 1;
}

.ui-datepicker .ui-datepicker-next {
    order: 2;
    margin-left: 28px;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    display: block;

}

.ui-datepicker .ui-datepicker-title {
    position: relative;
    line-height: 24px;
    font-size: 16px;
    text-align: left;
    pointer-events: none;
    text-transform: uppercase;
    font-weight: 800;
    font-family: Inter;
    order: 0;
    flex-grow: 1;
}

.ui-datepicker .ui-datepicker-title select {
    font-size: 1em;
    margin: 1px 0;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 45%;
}

.ui-datepicker table {
    margin: 0 auto;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 30px;
}

.ui-datepicker th {
    width: 44px;
    text-align: center;
    border: none;
    font-weight: bold;
    border: 0 !important;
    color: #999999;
    text-transform: uppercase;
}

.ui-datepicker span {
    font-size: 16px;

}

.ui-datepicker th span {
    font-size: 12px;
}

.ui-datepicker td {
    border: 0;
    padding: 1px;
    height: 43px;
    width: 43px;
}

.ui-datepicker td:not(.ui-datepicker-today):not(.ui-datepicker-current-day) {
    background: none !important;
}

.ui-datepicker td a {
    color: #1A1A1A !important;
}

.ui-datepicker td span,
.ui-datepicker td a {
    display: flex;
    font-family: 'Inter';
    /* padding: .2em; */
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    /* width: 44px; */
    /* height: 44px; */
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.ui-datepicker .ui-datepicker-buttonpane {
    background-image: none;
    margin: .7em 0 0 0;
    padding: 0 .2em;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    gap: 10px;
}

.ui-datepicker .ui-datepicker-buttonpane button {
    float: right;
    cursor: pointer;
    width: auto;
    overflow: visible;
    outline: none;
    border: none;
    background: none;
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 16px 14px 16px;
    color: #1A1A1A;
    font-weight: 800;
}

.ui-datepicker .ui-datepicker-buttonpane button:nth-child(2) {
    background: #1A1A1A;
    border-radius: 12px;
    color: white;
}

.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
    float: left;
}

.ui-datepicker-today {
    background-color: rgba(179, 179, 179, 0.12) !important;
    border-radius: 50%;
}

.ui-datepicker-current-day {
    background-color: #1A1A1A !important;
    border-radius: 50%;
}

.ui-datepicker-current-day a.ui-state-active,
.ui-datepicker-current-day span {
    color: white !important;
}

.ui-datepicker-unselectable {
    color: #CCCCCC !important;
}

.ui-datepicker button[data-handler="today"] {
    display: none;
}

.ui-datepicker-buttonpane.ui-widget-content {
    display: flex;
    margin-bottom: 16px;
    margin-top: 0;
    margin-left: -20px;
    margin-right: -20px;
}

.ui-datepicker-buttonpane button[data-handler="hide"] {
    flex-grow: 1;
    order: 2;
    margin-right: 16px;
}

.ui-datepicker-buttonpane button[data-handler="clear"] {
    margin-left: 16px;
}


.ui-datepicker-prev.ui-state-disabled,
.ui-datepicker-next.ui-state-disabled {
    opacity: .4;
}

/* Ajoutez ce style dans votre fichier CSS */
.datepicker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fond noir avec transparence */
    z-index: 1999;
    /* Assurez-vous que c'est juste en dessous du datepicker */
    display: none;
    /* Masqué par défaut */
}

/**
  * Calendar thumb
  */

.calendar_header {
    position: relative;
    background-color: white;
    height: 48px;
    border-bottom: 0.5px solid rgba(0, 0, 0, .4);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0px -20px;

}

.calendar_thumb {
    width: 36px;
    height: 5px;
    margin-top: 10px;
    background-color: #C7C7CC;
    border-radius: 9999px;
}

@media (min-width: 762px) {
    .calendar_header {
        display: none;
    }
    
}

