/**
* Theme Name: Spaciaz Child
* Description: This is a child theme of Spaciaz, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opalthemes</a>
* Template: spaciaz
* Version: 1.1.1
*/

.search_result_title{
	font-weight: 600;
}
.select-selected { 
    padding: 15px!important;
}
input.hfe-search-form__input {
    margin-top: 50px;
}
/* Filter Styles */
.filter-section.amenities-section-main {
    width: 100%;
}
.spaciaz-project-filter select {
	border-color: #909090!important;
}
.amenities-section {
    background-color: #f2f2f2;
    border-radius: 50px;
    width: 100%;
    padding-left: 30px;
    margin-bottom: 20px;
	border: 1px solid #909090;
	display: flex;
}
.photo__bounce-wrap img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
}
.filter-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    display: block;
	width: 10%;
    line-height: 37px;
    padding-top: 10px;
}
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 15px;
    padding: 15px 0;
	width: 90%;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-item input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: #007cba;
}

.checkbox-item label {
    font-size: 16px;
    color: var(--text);
    cursor: pointer;
    margin: 0;
    line-height: 1.2;
	font-weight: 400;
}

.checkbox-item label:hover {
    color: var(--text);
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.filter-search-btn {
    background-color: #007cba;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.filter-search-btn:hover {
    background-color: #005a87;
}

.filter-clear-btn {
    background-color: transparent;
    color: var(--text);
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.filter-clear-btn:hover {
    color: #333;
    border-color: #999;
}

/* Filter Design */
.active-chips-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-results.loading {
    opacity: 0.6;
    pointer-events: none;
}

.project-results.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Active Filter Chips Styles */
.active-filters-container {
    background: #f2f2f2;
    border: 1px solid #909090;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
}

.active-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.active-filters-label {
    font-weight: 600;
    color: #495057;
}

.post-count-display {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.active-filters-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-right: 10px;
    font-size: 14px;
}

.active-filters-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    background: #909090;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    gap: 8px;
    transition: all 0.2s ease;
}
.project-form-filter.spaciaz-project-has-filter-style-1 {    
    padding-bottom: 14px!important;
}
.filter-chip:hover {
    background: #1C2C4C;
    transform: translateY(-1px);
	color: #F5F5F5;
}

.chip-label {
    white-space: nowrap;
}

.chip-remove {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.chip-remove:hover {
    background: rgba(255, 255, 255, 0.2);
}

.clear-all-filters-btn {
    background: var(--primary);
    color: var(--text);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.search_result_title{
	color: #fff;
}
button.hfe-search-submit {
    position: absolute!important;
    width: 40px!important;
    height: 40px;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    border-radius: 36px;
	min-width:unset!important;
}
.hfe-search-form__container {
    position: relative;
    background-color: #ededed!important;
}
input.hfe-search-form__input {
    min-width: 280px!important;
}
.clear-all-filters-btn:hover {
    background: #c82333;
}
.project-form-filter.spaciaz-project-has-filter-style-1 {   
    margin-bottom: 30px !important;
}
.select-items {
    margin-top: 10px!important;
}
.search-results .page-header .page-title {
    font-size: 52px!important;
}
.single-spaciaz_project .wpcf7-response-output {
    color: white;
}
@media (min-width: 768px) and (max-width: 1400px){
	.elementor.elementor-8624.elementor-location-single {
    padding: 20px;
}
}

@media (max-width: 768px) {
    .active-filters-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .active-filters-label {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .active-filters-chips {
        width: 100%;
    }
	.amenities-section {
		display: block!important;
	}
	.filter-label {
		width: 100%!important;
		margin-bottom: 0px!important;
	}
	.checkbox-grid.amenities-grid {
    	width: 100%!important;
		padding-top: 0px!important;
	}
}

/* Filter Design */
@media (max-width: 768px) {
    .checkbox-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
.mickeymind-features-wrapper {
    grid-template-columns: repeat(2, 1fr)!important;
}
    .filter-actions {
        flex-direction: column;
    }

    .filter-search-btn,
    .filter-clear-btn {
        width: 100%;
    }
}

@media (max-width: 478px){
	.mickeymind-features-wrapper {
    grid-template-columns: repeat(1, 1fr)!important;
}
	.nav-previous a .reader-text {
    font-size: 16px !important;
}
	.nav-next  a .reader-text {
    font-size: 16px !important;
}
input.search-field.flex-grow.border.p-2 {
    padding: 10px 15px!important;
}
	button.search-cancel.ml-2.px-3.py-2.bg-gray-300 {
    padding: 10px 20px;
}
}