/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Filter Wrapper */
.filter-wrapper {
    background-color: #f5f5f5;
    padding: 30px 15px;
    border-radius: 15px;
    margin-bottom: 30px;
}

/* Filter Container */
.filter-container {
    background: #fff;
    padding: 28px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

/* Filter Row */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: flex-start;
}

/* Filter Group */
.filter-group {
    flex: 1;
    min-width: 200px;
    position: relative;
}

/* Custom Select Styling */
.custom-select {
    position: relative;
    width: 100%;
}

.select-selected {
    background-color: white;
    border: 2px solid #e0e0e0;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 15px;
    color: #333;
    position: relative;
    transition: all 0.3s ease;
}

.select-selected:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: translateY(-70%) rotate(45deg);
    transition: all 0.3s ease;
}

.select-selected.select-arrow-active {
    border-color: #EB098A;
    box-shadow: 0 0 0 3px rgba(235, 9, 138, 0.1);
    border-radius: 10px 10px 0 0;
}

.select-selected.select-arrow-active:after {
    transform: translateY(-30%) rotate(-135deg);
}

.select-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    margin-top: -1px;
    background-color: white;
    border: 2px solid #EB098A;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.select-hide {
    display: none;
}

.select-items div {
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.select-items div:hover, .select-items div.same-as-selected {
    background-color: rgba(235, 9, 138, 0.1);
    color: #EB098A;
}

/* MultiSelect Styling */
.multiselect {
    position: relative;
    width: 100%;
}

.multiselect-selected {
	max-height: 52px;
    background-color: white;
    border: 2px solid #e0e0e0;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    min-height: 45px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
	overflow-y: scroll;
}

.multiselect-selected.active {
    border-color: #EB098A;
    box-shadow: 0 0 0 3px rgba(235, 9, 138, 0.1);
}

.multiselect-selected .placeholder {
    color: #666;
    font-size: 15px;
}

.multiselect-selected .select-arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: translateY(-70%) rotate(45deg);
    transition: all 0.3s ease;
}

.multiselect-selected.active .select-arrow {
    transform: translateY(-30%) rotate(-135deg);
}

.multiselect-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    margin-top: 5px;
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.multiselect-dropdown.show {
    display: block;
}

.multiselect-option {
    display: block;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 45px;
    transition: all 0.2s ease;
}

.multiselect-option:hover {
    background-color: rgba(235, 9, 138, 0.05);
}

.multiselect-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.multiselect-option .checkmark {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
}

.multiselect-option:hover .checkmark {
    border-color: #EB098A;
}

.multiselect-option input:checked ~ .checkmark {
    background-color: #EB098A;
    border-color: #EB098A;
}

.multiselect-option .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.multiselect-option input:checked ~ .checkmark:after {
    display: block;
}

.selected-items {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-width: calc(100% - 30px);
}

.selected-tag {
    background-color: rgba(235, 9, 138, 0.1);
    color: #EB098A;
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
}

.remove-tag {
    margin-left: 5px;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    line-height: 1;
}

.remove-tag:hover {
    color: #d0087b;
}

.filter-button {
    background-color: #EB098A;
    color: white;
    padding: 12px 26px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.filter-button:hover {
    background-color: #d0087b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(235, 9, 138, 0.3);
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 15px;
    }

    .filter-button {
        width: 100%;
        font-size: 16px;
        padding: 14px 30px;
    }
}
