/* AUTO COMPLETE UI */
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    
    /* Untuk Firefox */
    scrollbar-width: thin;
    scrollbar-color: #aaa #f0f0f0;
}

/* Untuk Chrome, Edge, Safari */
.ui-autocomplete::-webkit-scrollbar {
    width: 6px; /* Lebar scrollbar */
}

.ui-autocomplete::-webkit-scrollbar-thumb {
    background-color: #aaa; /* Warna thumb (bagian yang bisa digerakkan) */
    border-radius: 4px;
}

.ui-autocomplete::-webkit-scrollbar-track {
    background: #f0f0f0; /* Warna latar belakang track */
}

.ui-menu-item {
    padding: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.ui-autocomplete li {
    text-transform: none !important;
}
/* END OF AUTO COMPLATE UI */


/* BUTTON SWITCH */
div.btn-container {
    display: flex;
    align-items: center;
    margin-right: 25px;
    padding-right: 25px;
    border-right: 2px solid #d4d4d4;
}
label {
    font-size: 13px;
    color: #7c3330;
    font-weight: 500;
}
.btn-color-mode-switch {
    display: inline-block;
    margin: 0px;
    position: relative;
}
.btn-color-mode-switch>label.btn-color-mode-switch-inner {
    margin: 0px;
    width: 125px;
    height: 30px;
    background: #E0E0E0;
    border-radius: 26px;
    overflow: hidden;
    /* position: relative; */
    transition: all 0.3s ease;
    display: block;
}
.btn-color-mode-switch>label.btn-color-mode-switch-inner:before {
    content: attr(data-on);
    position: absolute;
    font-size: 14px;
    font-weight: 500;
    top: 2px;
    right: 20px;
    color: #303841;
}
.btn-color-mode-switch>label.btn-color-mode-switch-inner:after {
    content: attr(data-off);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 35px;
    background: #ffebeb;
    border-radius: 26px;
    position: absolute;
    left: -6px;
    top: -3px;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    /* box-shadow: 0px 0px 6px -2px #111; */
    padding: 5px 0px;
    border: 1px solid #7c3330;
    font-weight: 700;
}
.btn-color-mode-switch>.alert {
    display: none;
    background: #FF9800;
    border: none;
    color: #fff;
}
.btn-color-mode-switch input[type="checkbox"] {
    cursor: pointer;
    width: 50px;
    height: 25px;
    opacity: 0;
    position: absolute;
    top: 0;
    z-index: 1;
    margin: 0px;
}
.btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner {
    /* background: #151515; */
    /* color: #fff; */
}
.btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner:after {
    content: attr(data-on);
    left: 58px;
    /* background: #3c3c3c; */
}
.btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner:before {
    content: attr(data-off);
    right: auto;
    left: 20px;
}
.btn-color-mode-switch input[type="checkbox"]:checked~.alert {
    display: block;
}


/* BTN OUTLINE */
.btn-outline {
    display: inline-block;
    padding: 0px 15px;
    font-size: 14px;
    height: 30px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 25px; /* Membuat tombol rounded */
    border: 1px solid #a5a5a5;
    color: #3a4750; /* Warna teks */
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}
.btn-outline:hover {
    border-color: #222;
}
.btn-outline.active{
    border:2px solid #7c3330;
    color: #7c3330;
}
.btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
}
.btn-outline-danger:hover {
    background-color: #dc3545;
    color: #fff;
}
.btn-outline-success {
    border-color: #28a745;
    color: #28a745;
}
.btn-outline-success:hover {
    background-color: #28a745;
    color: #fff;
}
/* END OF BTN OUTLINE */


/* CUSTOM SELECT */
.custom-select-wrapper {
    position: relative;
    width: 200px;
    margin-right: 10px;
}
.custom-select-wrapper::after {
    content: "\f078";
    font-family: "FontAwesome";
    /* font-family: "Font Awesome 6 Free"; */
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    color: #3a4750;
    transition: transform 0.4s ease-in-out;
    pointer-events: none;
    font-size: 10pt;
}
.custom-select-wrapper.selected::after {
    color: #7c3330;
}
.custom-select-wrapper.active::after {
    transform: translateY(-50%) rotate(180deg);
}
.custom-select-wrapper:hover::after {
    /* color: #fff; */
}
.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    border: 1px solid #a5a5a5;
    color: #3a4750;
    padding: 1px 15px;
    font-size: 14px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 600;
}
.custom-select:hover {
    border-color:#222;
}
.custom-select::-ms-expand {
    display: none;
}
.custom-select.selected {
    border:2px solid #7c3330;
    color: #7c3330;
}


/* PRICE DROPDOWN */
.price-dropdown {
    position: relative;
    display: inline-block;
}

.price-toggle-btn {
    background-color: transparent;
    border: 1px solid #a5a5a5;
    color: #3a4750;
    padding: 1px 15px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600 !important;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 150px;
}
.price-toggle-btn:hover{
    border-color:#222;
}

.price-toggle-btn i {
    color: #7c3330;
    transition: 0.3s;
}

.price-toggle-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Chevron berputar saat dropdown terbuka */
.price-dropdown.active .price-toggle-btn i {
    transform: rotate(180deg);
}
.price-dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    width: 440px;
    background: white;
    border-radius: 8px;
    display: none;
    padding: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.price-dropdown-menu label {
    font-size: 12px;
    color: #7c3330;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.price-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.price-submit-btn {
    width: 100%;
    background: #7c3330;
    color: white;
    padding: 5px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.price-submit-btn:hover {
    background: #5b2524;
}
/* END OF PRICE DROPOWN */


.no-results {
    text-align: center;
    padding: 20px;
}

.no-results h2 {
    color: #d9534f;
}

.no-results p {
    color: #555;
    margin-bottom: 0;
}


.container-box-filter{
    display: flex;
    align-items: center;
}

.box-button-filter{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Mobile kecil (≤ 320px) */
@media (max-width: 320px) {  }

/* Mobile standar (≤ 480px) */
@media (max-width: 480px) { 
    .container-box-filter{
        display: block;
    }
    .container-box-filter .btn-container{
        margin-bottom: 1.25rem;
        justify-content: center;
        border: none;
        margin-right: 0;
        padding-right: 0;
    }
    .price-dropdown-menu{
        left: -60%;
    }

}

/* Mobile besar (≤ 576px) */
@media (max-width: 576px) { 
    .container-box-filter{
        display: block;
    }
    .container-box-filter .btn-container{
        margin: 1rem 0 2.25rem 0;;
        justify-content: center;
        border: none;
        margin-right: 0;
        padding-right: 0;
    }
    .price-dropdown-menu{
        left: -60%;
    }
}

/* Tablet kecil (≥ 600px) */
@media (min-width: 600px) {  }

/* Tablet standar (≥ 768px) */
@media (min-width: 768px) {  }

/* Laptop kecil (≥ 992px) */
@media (min-width: 992px) {  }

/* Laptop besar / Desktop (≥ 1200px) */
@media (min-width: 1200px) {  }

/* Layar besar (≥ 1400px) */
@media (min-width: 1400px) {  }

/* Portrait Mode */
@media (orientation: portrait) {  }

/* Landscape Mode */
@media (orientation: landscape) {  }