/*--------------------------------------------------------------
# Pricing Two Filter - Terintegrasi dengan pricing-two
--------------------------------------------------------------*/
.pricing-two__filter {
    position: relative;
    display: block;
    background: var(--TSWTravel-white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(2, 157, 155, 0.1);
    margin: 150px 0 50px 0;
    z-index: 10;
}

.pricing-two__filter-group {
    position: relative;
    display: block;
    margin-bottom: 25px;
    z-index: 1;
}

/* When select is focused/opened, increase z-index */
.pricing-two__filter-group:focus-within {
    z-index: 1000;
}

.pricing-two__filter-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--TSWTravel-black);
    margin-bottom: 12px;
    display: block;
    font-family: var(--TSWTravel-font-two);
}

.pricing-two__filter-select {
    width: 100%;
    height: 55px;
    background-color: var(--TSWTravel-white) !important;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    padding: 0 20px;
    font-size: 16px;
    color: var(--TSWTravel-black);
    font-weight: 500;
    transition: all 500ms ease;
    outline: none;
    cursor: pointer;
    font-family: var(--TSWTravel-font);
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-position: right 12px center !important;
    background-repeat: no-repeat !important;
    background-size: 16px !important;
    background-origin: content-box !important;
    background-clip: content-box !important;
    padding-right: 50px !important;
    position: relative;
    z-index: inherit;
}

/* When select is focused/opened, ensure dropdown list appears on top */
.pricing-two__filter-select:focus,
.pricing-two__filter-select:active {
    z-index: 9999;
    border-color: var(--TSWTravel-base);
}

/* Ensure dropdown list width matches select element width */
.pricing-two__filter-select option {
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    color: var(--TSWTravel-black);
    background: var(--TSWTravel-white);
    min-width: 100%;
    width: 100%;
}

/* Force dropdown to match parent width in all browsers */
.pricing-two__filter-select {
    box-sizing: border-box;
    min-width: 100% !important;
    max-width: 100% !important;
}

/* Force dropdown list to always match select width */
select.pricing-two__filter-select {
    width: 100% !important;
}

/* Try to force native dropdown width (browser dependent) */
select.pricing-two__filter-select option {
    width: auto !important;
    min-width: 100% !important;
}

/* For webkit browsers */
@supports (-webkit-appearance: none) {
    .pricing-two__filter-select option {
        width: 100%;
    }
}

/* Webkit specific - force dropdown width */
.pricing-two__filter-select::-webkit-scrollbar {
    width: 8px;
}

.pricing-two__filter-select::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.pricing-two__filter-select::-webkit-scrollbar-thumb {
    background: var(--TSWTravel-base);
    border-radius: 4px;
}

.pricing-two__filter-select::-webkit-scrollbar-thumb:hover {
    background: var(--TSWTravel-base-hover);
}

/* SUPER AGGRESSIVE - Remove ALL possible arrows */
select.pricing-two__filter-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

select.pricing-two__filter-select[class] {
    background-position: right 12px center !important;
}

/* NUCLEAR OPTION - Remove ALL possible default arrows from ALL browsers */
select.pricing-two__filter-select::-ms-expand {
    display: none !important;
}

select.pricing-two__filter-select::-webkit-calendar-picker-indicator {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

select.pricing-two__filter-select::-webkit-inner-spin-button,
select.pricing-two__filter-select::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    display: none !important;
    margin: 0 !important;
}

select.pricing-two__filter-select::-webkit-dropdown-button {
    display: none !important;
}

select.pricing-two__filter-select::-webkit-select-button {
    display: none !important;
}

select.pricing-two__filter-select::-moz-focus-inner {
    border: 0 !important;
}

select.pricing-two__filter-select::-moz-list-button {
    display: none !important;
}

select.pricing-two__filter-select::after {
    display: none !important;
}

select.pricing-two__filter-select::before {
    display: none !important;
}

/* Remove any webkit autofill styling that might interfere */
select.pricing-two__filter-select:-webkit-autofill,
select.pricing-two__filter-select:-webkit-autofill:hover,
select.pricing-two__filter-select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--TSWTravel-black) !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--TSWTravel-white) inset !important;
}

.pricing-two__filter-select:focus {
    border-color: var(--TSWTravel-base);
    box-shadow: 0 0 0 3px rgba(2, 157, 155, 0.1);
    background-color: rgba(2, 157, 155, 0.02);
}

.pricing-two__filter-select:hover {
    border-color: var(--TSWTravel-base);
}

.pricing-two__filter-btn-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pricing-two__filter-btn {
    position: relative;
    display: inline-block;
    background: var(--TSWTravel-base);
    color: var(--TSWTravel-white);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 18px 35px;
    border-radius: 12px;
    border: 2px solid var(--TSWTravel-base);
    transition: all 500ms ease;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--TSWTravel-font-two);
    min-width: 150px;
}

.pricing-two__filter-btn:hover {
    background: var(--TSWTravel-white);
    color: var(--TSWTravel-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(2, 157, 155, 0.3);
}

.pricing-two__filter-btn--secondary {
    background: var(--TSWTravel-white);
    color: var(--TSWTravel-base);
    border-color: var(--TSWTravel-base);
}

.pricing-two__filter-btn--secondary:hover {
    background: var(--TSWTravel-base);
    color: var(--TSWTravel-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(2, 157, 155, 0.3);
}

/* Responsive untuk pricing-two filter */
@media (max-width: 991px) {
    .pricing-two__filter {
        padding: 30px 20px;
        margin: 80px 0 40px 0;
    }
    
    .pricing-two__filter-select {
        height: 50px;
        font-size: 15px;
    }
    
    .pricing-two__filter-btn {
        padding: 16px 30px;
        font-size: 15px;
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .pricing-two__filter {
        padding: 25px 15px;
        margin: 60px 0 30px 0;
        border-radius: 15px;
    }
    
    .pricing-two__filter-select {
        height: 48px;
        font-size: 14px;
        padding: 0 15px;
        padding-right: 45px;
    }
    
    .pricing-two__filter-btn {
        padding: 14px 25px;
        font-size: 14px;
        min-width: 120px;
    }
    
    .pricing-two__filter-btn-box {
        gap: 15px;
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .pricing-two__filter-btn-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .pricing-two__filter-btn {
        width: 100%;
        min-width: auto;
    }
}

/*--------------------------------------------------------------
# Filter Section (Legacy - untuk kompatibilitas)
--------------------------------------------------------------*/
.filter-section {
    position: relative;
    display: block;
    padding: 100px 0 80px;
    background: var(--TSWTravel-white);
    z-index: 10;
    overflow: visible;
}

.filter-section__inner {
    position: relative;
    display: block;
    background: var(--TSWTravel-white);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(2, 157, 155, 0.1);
    margin-bottom: 50px;
}

.filter-section__content {
    position: relative;
    display: block;
    text-align: center;
    margin-bottom: 40px;
}

.filter-section__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--TSWTravel-black);
    margin-bottom: 15px;
    font-family: var(--TSWTravel-font-two);
}

.filter-section__text {
    font-size: 16px;
    color: var(--TSWTravel-gray);
    margin: 0;
    line-height: 1.6;
}

.filter-section__form {
    position: relative;
    display: block;
}

.filter-section__form-group {
    position: relative;
    display: block;
    margin-bottom: 25px;
}

.filter-section__form-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--TSWTravel-black);
    margin-bottom: 12px;
    display: block;
    font-family: var(--TSWTravel-font-two);
}

.filter-section__form-select {
    width: 100%;
    height: 55px;
    background: var(--TSWTravel-white);
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    padding: 0 20px;
    font-size: 16px;
    color: var(--TSWTravel-black);
    font-weight: 500;
    transition: all 500ms ease;
    outline: none;
    cursor: pointer;
    font-family: var(--TSWTravel-font);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 50px;
}

.filter-section__form-select:focus {
    border-color: var(--TSWTravel-base);
    box-shadow: 0 0 0 3px rgba(2, 157, 155, 0.1);
    background-color: rgba(2, 157, 155, 0.02);
}

.filter-section__form-select:hover {
    border-color: var(--TSWTravel-base);
}

.filter-section__btn-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.filter-section__btn {
    position: relative;
    display: inline-block;
    background: var(--TSWTravel-base);
    color: var(--TSWTravel-white);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 18px 35px;
    border-radius: 12px;
    border: 2px solid var(--TSWTravel-base);
    transition: all 500ms ease;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--TSWTravel-font-two);
    min-width: 150px;
}

.filter-section__btn:hover {
    background: var(--TSWTravel-white);
    color: var(--TSWTravel-base);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(2, 157, 155, 0.3);
}

.filter-section__btn--secondary {
    background: var(--TSWTravel-white);
    color: var(--TSWTravel-base);
    border-color: var(--TSWTravel-base);
}

.filter-section__btn--secondary:hover {
    background: var(--TSWTravel-base);
    color: var(--TSWTravel-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(2, 157, 155, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .filter-section {
        padding: 80px 0 60px;
        z-index: 15;
    }
    
    .filter-section__inner {
        padding: 40px 30px;
        margin-bottom: 40px;
    }
    
    .filter-section__title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .filter-section__form-select {
        height: 50px;
        font-size: 15px;
    }
    
    .filter-section__btn {
        padding: 16px 30px;
        font-size: 15px;
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .filter-section {
        padding: 60px 0 40px;
        z-index: 20;
    }
    
    .filter-section__inner {
        padding: 30px 20px;
        margin-bottom: 30px;
        border-radius: 15px;
    }
    
    .filter-section__title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .filter-section__text {
        font-size: 14px;
    }
    
    .filter-section__form-select {
        height: 48px;
        font-size: 14px;
        padding: 0 15px;
        padding-right: 45px;
    }
    
    .filter-section__btn {
        padding: 14px 25px;
        font-size: 14px;
        min-width: 120px;
    }
    
    .filter-section__btn-box {
        gap: 15px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .filter-section__inner {
        padding: 25px 15px;
    }
    
    .filter-section__btn-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-section__btn {
        width: 100%;
        min-width: auto;
    }
}

/*--------------------------------------------------------------
# Dropdown Fix - Mencegah dropdown terpotong
--------------------------------------------------------------*/
.filter-section__form-select {
    z-index: 1000 !important;
}

.filter-section__form-group {
    z-index: 1000;
    position: relative;
}

/* Pastikan dropdown tidak terpotong */
.filter-section__form-select option {
    background: var(--TSWTravel-white);
    color: var(--TSWTravel-black);
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
}

/* Hover effect untuk form group */
.filter-section__form-group:hover .filter-section__form-select {
    border-color: var(--TSWTravel-base);
    box-shadow: 0 0 0 2px rgba(2, 157, 155, 0.1);
}

/* Focus state yang lebih jelas */
.filter-section__form-select:focus {
    border-color: var(--TSWTravel-base);
    box-shadow: 0 0 0 3px rgba(2, 157, 155, 0.15);
    background-color: rgba(2, 157, 155, 0.02);
}

/* Animation untuk button */
.filter-section__btn {
    position: relative;
    overflow: hidden;
}

.filter-section__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.filter-section__btn:hover::before {
    left: 100%;
}

/*--------------------------------------------------------------
# Pricing Grid - Menggunakan style yang sudah ada
--------------------------------------------------------------*/
.pricing-section {
    position: relative;
    display: block;
    padding: 80px 0 100px;
    background: var(--TSWTravel-white);
    z-index: 1;
}

.pricing-section__inner {
    position: relative;
    display: block;
}

.pricing-section__grid {
    position: relative;
    display: block;
    margin-top: 50px;
}

/* Hanya tambahan untuk filtering */
.pricing-item {
    position: relative;
    display: block;
    margin-bottom: 30px;
    transition: all 500ms ease;
}

.pricing-item:hover {
    transform: translateY(-5px);
}

/*--------------------------------------------------------------
# End
--------------------------------------------------------------*/
