.featured-local-events-page section.general-content .content,
.international-workcamp-page section.general-content .content {
    text-align: center;
}
#warning-label {
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 20.5px;
    border-radius: 10px;
    position: absolute;
    top: 40.1%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999999;
    display: flex;
    align-items: center;
}

#warning-label svg {
    margin-right: 8px;
}
.international-workcamp-page section.general-content .container {
    max-width: 1030px;
}
.featured-local-events-page .home-slide .swiper-pagination {
    margin-top: 34px;
    margin-bottom: 13px;
}
.filter-popup-open .workcamp-filters-wrapper {
    z-index: 100000;
}
.workcamp-filters-wrapper {
    position: relative;
    z-index: 99;
}
.workcamp-filters-wrapper.sticky {
    position: sticky;
    z-index: 99;
    background-color: #ffffff;
    top: calc(var(--height-header) + var(--wpadminbar-height));
    box-shadow: rgb(0 0 0 / 16%) 0 10px 13px 0;
}
.workcamp-filters {
    display: flex;
    gap: 16px;
    padding: 13px 40px 9px;
    margin-bottom: 30px;
}
.workcamp-filters form.search-form {
    display: flex;
    gap: 16px;
    align-items: center;
    position: relative;
}
.workcamp-filters .search-wrapper {
    width: 100%;
}
.workcamp-filters form.search-form .input-wrapper {
    position: relative;
    z-index: 2;
}
.workcamp-filters form.search-form .search-suggestions {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0px 0px 30px 0px rgba(168, 168, 168, 0.1);
    border-radius: 40px;
    padding-top: 52px;
    padding-bottom: 20px;
    overflow: hidden;
}
.workcamp-filters form.search-form .clear-input {
    z-index: 2;
    color: #6A6A6A;
    right: 46px;
}
.workcamp-filters form.search-form .search-suggestions .h3 {
    color: #959595;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20.27px;
    margin: 0;
}

.workcamp-filters form.search-form .search-suggestions .suggestion-item {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    padding: 7px 20px;
    cursor: pointer;
}

.workcamp-filters.active form.search-form input[type="text"] {
    border-color: transparent;
}

.workcamp-filters form.search-form .search-suggestions .suggestion-item:hover {
    background-color: #F5F5F5;
}
.workcamp-filters form.search-form input[type="text"] {
    border-color: #D9D9D9;
    border-radius: 40px;
    height: auto;
    padding: 12px 80px 12px 20px;
    position: relative;
    z-index: 2;
}
.workcamp-filters form.search-form button.btn {
    height: auto;
    padding: 15px 30px;
    white-space: nowrap;
}
.filter-wrapper .btn.btn-filter {
    white-space: nowrap;
    border-color: #000000;
    color: #000000;
    border-radius: 10px;
    gap: 2px;
}
.workcamp-grid {
    margin-top: 40px;
    margin-bottom: 101px;
}
.workcamp-list .search-result-title {
    margin-bottom: 91px;
}
@media (max-width: 1024.98px) {    
    .workcamp-filters {
        padding: 13px 0px 9px;
    }
}
@media (max-width: 767.98px) {   
    .featured-local-events-page section.general-content .content,
    .international-workcamp-page section.general-content .content {
        margin: 31px 0 0;
    } 
    .workcamp-filters-wrapper {
        margin-top: 15px;
        position: sticky;
        top: 0;
        z-index: 99999999;
        background-color: #ffffff;
    }
    .workcamp-filters {
        flex-direction: column;
        padding: 9px 0px;
        gap: 6px;
        margin-bottom: 0;
    }    
    .workcamp-filters form.search-form {
        position: relative;
    }    
    .workcamp-filters form.search-form button.btn {
        position: absolute;
        right: 10px;
        top: 9px;
        font-size: 0;
        background-image: url(../images/ri_search-line.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 18px;
        width: 35px;
        height: 35px;
        padding: 0;
        z-index: 2;
    }
    .filter-wrapper .btn.btn-filter {
        width: 100%;
    }
    .workcamp-grid {
        padding: 0 19px;
        margin-top: 31px;
    }
    .workcamp-filters form.search-form input[type="text"] {
        padding: 12px 80px 12px 20px;
    }
    .workcamp-filters form.search-form .clear-input {
        right: 53px;
    }
    .workcamp-filters form.search-form .search-suggestions .h3 {
        padding: 15px 20px;
    }
    
    .workcamp-filters form.search-form .search-suggestions .suggestion-item {
        padding: 7px 20px;
    }
}


/* Filter popup styles */
.filter-popup-open .site-header {
    z-index: 9;
}
.filter-popup-open .site-header,
.filter-popup-open {
    overflow: hidden;
    padding-right: var(--sidebar-width);
}
.filter-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
}
.filter-popup.show {
    display: block;
}

/* Overlay styles */
.filter-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

/* Container styles */
.filter-popup-container {
    position: relative;
    top: calc(var(--height-header, 81px) + var(--wp-admin--admin-bar--height, 32px));
    width: calc(100% - 76px);
    max-width: 1364px;
    margin: 0 auto;
    max-height: 90%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

/* Header styles */
.filter-popup-header {
    padding: 25px;
    border-bottom: 1px solid #E6E6E6;
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
}
.filter-popup-header button.close-filter {
    position: absolute;
    left: 12px;
    top: 6px;
    background: transparent;
    border: none;
    color: #000000;
}
.filter-popup-header .h3 {
    font-size: 16px;
    line-height: 19.2px;
    margin: 0;
}

/* Section styles */
form.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
}
.filter-form-content {
    padding: 90px 40px 95px;
}
.filter-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 40px;
    max-height: 500px;
    overflow-y: auto;
}
.filter-popup-content-inner::-webkit-scrollbar,
.filter-form-wrapper::-webkit-scrollbar {
    width: 4px;
    border-radius: 10px;
}

/* Track */
.filter-popup-content-inner::-webkit-scrollbar-track,
.filter-form-wrapper::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 10px;
}

/* Handle */
.filter-popup-content-inner::-webkit-scrollbar-thumb ,
.filter-form-wrapper::-webkit-scrollbar-thumb {
    background: #D9D9D9;
    border-radius: 10px;
}

/* Handle on hover */
.filter-popup-content-inner::-webkit-scrollbar-thumb:hover,
.filter-form-wrapper::-webkit-scrollbar-thumb:hover {
    background: #D9D9D9;
    border-radius: 10px;
}
.filter-section {
    width: calc(50% - 42px);
    padding: 0 20px;
    position: relative;
}

.filter-section .h4 {
    margin: 0 0 20px;
    padding-right: 100px;
    line-height: 29px;
}
.filter-section button.show-more {
    position: absolute;
    right: 20px;
    top: 3px;
    background: transparent;
    border: none;
    color: #000000;
    background-image: url(../images/arrow-right.svg);
    background-position: right center;
    background-repeat: no-repeat;
    padding: 0 22px 0 0;
    height: auto;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Options styles */
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-options .checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
    max-width: 100%;
    width: 181px;
    position: relative;
}
.checkbox-wrapper {
    position: relative;
}
.checkbox-wrapper label {
    margin: 0;
    padding-left: 33px;
}
.checkbox-wrapper label:before {
    position: absolute;
    left: 0;
    top: 1px;
}
/* Month Picker Styles */
.month-picker {
    background: #fff;
    border-radius: 8px;
}

.month-picker-header {
    padding: 6px 0 18px;
}

.year-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 19px;
}

.year-nav {
    display: flex;
    gap: 10px;
}

.year-nav button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: #767676;
    height: auto;
}

.year-nav button:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0;
}

.month-item {
    position: relative;
}
.month-item input[type="checkbox"] + label:before,
.month-item input[type="checkbox"] {
    display: none;
}

.month-item label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 20px;
    cursor: pointer;
    margin: 0;
    padding: 7.5px;
    background: transparent;
    border-color: transparent;
    color: #000000;
}

.month-item input[type="checkbox"]:checked + label,
.month-item input[type="radio"]:checked + label {
    background-color: #5f7935;
    border-color: #5f7935;
    color: #ffffff;
}
.month-item label.btn:before {
    display: none;
}

/* Price Range Styles */
.range-slider {
    position: relative;
    width: 100%;
    height: 1px;
    margin: 39px 0 28px;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 1px;
    background: #D9D9D9;
    top: 0;
    margin-top: -3px;
}

.input-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: none;
    position: absolute;
    pointer-events: none;
    border-radius: 0;
    border: none;
    padding: 0;
    margin: 0;
}
.input-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;  /* Nền trắng */
    border: 1px solid #D9D9D9; /* Viền đen 2px */
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    margin-top: -8px;
}
.input-range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #fff;  /* Nền trắng */
    border: 1px solid #D9D9D9; /* Viền đen 2px */
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
}

.box-price-inputs {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.box-price-input {
    flex: 1;
    border: 1px solid #6A6A6A;
    border-radius: 10px;
    padding: 7px 19px 4px;
}

.box-price-input label {
    display: block;
    margin-bottom: 0px;
    font-size: 14px;
    font-weight: 500;
    line-height: 16.8px;
    color: #767676;
    padding: 0;
}

.box-price-input .input-wrapper {
    position: relative;
    display: flex;
}
.box-price-input .input-wrapper .symbol {
    margin-left: 5px;
}
.box-price-input input {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    border: none;
}
.box-price-input input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #000000;
}
.box-price-input input::-moz-placeholder { /* Firefox 19+ */
    color: #000000;
}
.box-price-input input:-ms-input-placeholder { /* IE 10+ */
    color: #000000;
}
.box-price-input input:-moz-placeholder { /* Firefox 18- */
    color: #000000;
}

/* Action buttons styles */
.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    width: 100%;
    border-top: 1px solid #E6E6E6;
    padding: 10px 32px;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
}
.month-item.disable {
    cursor: none;
    pointer-events: none;
}

.month-item.disable label {
    color: #959595;
}
.filter-actions button.btn.continue-select,
.filter-actions button.btn.show-results {
    min-width: 246px;
    height: auto;
    padding: 13px 25px;
}
.filter-actions button.btn.show-results.disabled {
    background: #767676;
    pointer-events: none;
    cursor: none;
    border-color: #767676;
}

.filter-actions button.btn.clear-all {
    height: auto;
    padding: 0;
    border: none;
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.selection-popup-container .filter-actions {
    justify-content: flex-end;
}
.selection-popup-container .filter-actions button.btn.clear-all {
    height: 51px;
    padding: 12px 20px;
    border-radius: 100px;
    border: 2px solid #5f7935;
    color: #5f7935;
    min-width: 246px;
    text-decoration: none;
}
.max-price-wrapper input {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

@media (max-height: 850.98px) { 
    .filter-popup-container {
        top: 5%;
    }
}
@media (max-width: 1199.98px) { 
    .filter-options .checkbox-wrapper {
        width: 165px;
    }
    .filter-popup-open .site-header,
    .filter-popup-open {
        padding-right: 0;
    }
}
@media (max-width: 1023.98px) {     
    .filter-form-content {
        padding: 90px 0px 95px;
    }
    
    .filter-popup-header button.close-filter {
        left: 0;
    }
    
    .filter-actions {
        /* padding: 10px 20px; */
    }
    
    .filter-section {
        width: 50%;
    }
    
    .filter-form-wrapper {
        gap: 40px 0;
    }
    
    .filter-options .checkbox-wrapper {
        width: calc(50% - 5px);
    }
    
    .filter-options {
        gap: 16px 10px;
    }
    
    .box-price-inputs {
        gap: 20px;
    }
}
@media (max-width: 767.98px) { 
    .page-template-international-workcamp.workcamp-filters-sticky .site-header {
        z-index: 0;
    }
    .site-header.active-menu-mobile,
    .workcamp-filters-sticky .site-header.active-menu-mobile {
        z-index: 999999999;
    }
    .workcamp-filters-wrapper.sticky {
        z-index: 99999999;
        top: 0;
    }
    .filter-popup-header {
        padding: 26px;
    }
    .filter-popup-header button.close-filter {
        left: 0px;
        top: 8px;
    }
    .filter-actions button.btn.show-results {
        min-width: 0;
        height: auto;
        padding: 12px 5px;
        flex: 1;
        border-width: 2px;
        max-width: 165px;
    }    
    .filter-actions button.btn.clear-all {
        height: auto;
        padding: 0;
        border: none;
        color: #000000;
        text-decoration: underline;
        text-underline-offset: 2px;
    }    
    .selection-popup-container .filter-actions button.btn.clear-all,
    .selection-popup-container .filter-actions button.btn.show-results {
        min-width: 0;
        flex: 1;
        padding: 12px 5px;
        max-width: 160px;
    }
    .selection-popup .selection-popup-container .filter-actions button.btn {
        flex: 1;
        max-width: 100%;
        padding: 12px 5px;
        height: auto;
        border-width: 2px;
        min-width: 0;
    }
    .filter-form-content {
        padding: 72px 0px 88px;
    }
    .filter-form-wrapper {
        max-height: calc(var(--app-height, 100vh) - 160px);
        gap: 0
    }
    .filter-popup-container {
        top: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        max-height: 100%;
    }
    .filter-section button.show-more {
        top: 23px;
    }
    .filter-popup-header {
        padding: 26px;
    }
    
    .filter-section {
        width: 100%;
        padding: 20px;
    }
    
    .filter-options .checkbox-wrapper {
        width: calc(50% - 22px);
    }    
    .filter-options {
        gap: 16px 44px;
    }
    
    .filter-options .checkbox-wrapper label:before {
        margin-right: 7px;
    }
    .year-select {
        margin-right: -3px;
    }
}

/* Selection Popup */
.selection-popup {
    position: fixed;
    top: calc(var(--height-header, 81px) + var(--wp-admin--admin-bar--height, 32px));
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    display: none;
}

.selection-popup.show {
    display: block;
}

.selection-popup-container {
    width: calc(100% - 360px);
    max-width: 1080px;
    background: #fff;
    z-index: 999999;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    border-radius: 10px;
    top: calc(var(--height-header, 81px) + var(--wp-admin--admin-bar--height, 32px));
}

.popup-header {
    padding: 25px;
    border-bottom: 1px solid #D9D9D9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    width: 100%;
}

.back-to-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #000;
    padding: 0;
    height: auto;
    position: absolute;
    left: 0;
    padding: 20px 32px;
}

.close-selection {
    background: none;
    border: none;
    padding: 0;
    height: auto;
    color: #000;
}
.popup-header .close-selection {
    display: none;
}

.filter-popup-content .h4 {
    margin: 0 0 20px;
}

.selection-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 20px;
}

.popup-header .h6 {
    margin: 0;
    line-height: 19.2px;
}
.selection-popup .filter-popup-content {
    padding: 91px 80px 111px;
}
.filter-popup-content-inner {
    max-height: 446px;
    overflow-y: auto;
}
.selection-options .field-form {
    margin-bottom: 0px;
}
.selection-options .field-form label {
    margin: 0;
}
@media (max-width: 1299.98px) { 
    .selection-options {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 1199.98px) { 
    .selection-popup-container {
        width: calc(100% - 160px);
    }
    .selection-popup .filter-popup-content {
        padding: 91px 32px;
    }
}
@media (max-width: 1023.98px) { 
    .selection-options {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767.98px) { 

    .selection-popup-container {
        top: 0;
        width: 100%;
        border-radius: 0;
        height: 100%;
    }
    
    .back-to-filter svg {
        width: 25px;
        height: auto;
    }
    
    .popup-header {
        padding: 26px;
    }
    
    .back-to-filter {
        padding: 20px;
    }
    
    .selection-popup .filter-popup-content {
        padding: 92px 20px;
    }    
    .filter-popup-content-inner {
        max-height: calc(var(--app-height, 100vh) - 180px);
    }    
    .selection-options {
        gap: 16px 44px;
    }
    .workcamp-list .search-result-title {
        margin-top: 31px;
    }
}