.breadcrumb-header {
    background: #C1DECE;
    padding: 0.5rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.breadcrumb-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #1a252f;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.75rem;
    color: #2c3e50;
    font-weight: 500;
}

.breadcrumb-current {
    color: #2c3e50;
    font-weight: 600;
}


.back-button-section {
    padding: 1.5rem 0;
}


.back-button-section .back-button {
    background: white !important;
    border: 1px solid #000000 !important;
    border-radius: 8px !important;
    padding: 0.75rem 1.25rem !important;
    color: #000000 !important;
    font-weight: 500 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    transition: none !important;
}

.back-button-section .back-button:hover {
    background: #4CAF50 !important;
    background-color: #4CAF50 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
    outline: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.back-button-section .back-button:focus,
.back-button-section .back-button:active {
    background: white !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
    outline: none !important;
    transform: none !important;
    box-shadow: none !important;
    background-color: white !important;
}


.results-count-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.count-number {
    font-size: 2rem;
    font-weight: 700;
    color: #4CAF50;
    line-height: 1;
}

.count-text {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 500;
}


.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.loading-text {
    margin-top: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.results-loading-container {
    background: linear-gradient(145deg, #ffffff, #f8fffe);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    margin-bottom: 2rem;
}


.distance-slider-container {
    position: relative;
}

.distance-value {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: #1976D2;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.distance-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
}


.price-range-container {
    position: relative;
}

.price-input-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-input {
    flex: 1;
    padding: 0.5rem;
    border: 2px solid #e8f4f8;
    border-radius: 8px;
    background: #fafbfc;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.dual-range-slider {
    position: relative;
    height: 6px;
    margin: 1rem 0;
}

.range-slider {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    -webkit-appearance: none;
    pointer-events: all;
    position: relative;
    z-index: 2;
}

.range-slider::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    pointer-events: all;
    position: relative;
    z-index: 2;
}

.slider-track-dual {
    position: absolute;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    top: 0;
}

.slider-range {
    position: absolute;
    height: 6px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 3px;
    top: 0;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
}


.location-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border: none;
    border-radius: 6px;
    color: white;
    padding: 6px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.location-btn:hover {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    transform: translateY(-50%) scale(1.05);
}


.styled-input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}


.filter-section {
    margin-bottom: 1.5rem;
}

.filter-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}


.checkbox-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.styled-checkbox-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    transition: all 0.2s ease;
    cursor: pointer;
}

.styled-checkbox-wrapper:hover {
    background: #e8f5e8;
    border-color: #4CAF50;
    transform: translateX(2px);
}

.styled-checkbox {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    accent-color: #4CAF50;
    cursor: pointer;
}

.styled-checkbox-label {
    font-size: 0.9rem;
    color: #2c3e50;
    cursor: pointer;
    margin: 0;
    font-weight: 500;
    flex: 1;
}

.styled-checkbox:checked + .styled-checkbox-label {
    color: #2E7D32;
    font-weight: 600;
}


.custom-slider-container {
    position: relative;
    
}

.custom-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.custom-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.custom-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.favorite-icon {
    color: #6c757d;
    transition: all 0.3s ease;
}

.favorite-icon:hover {
    transform: scale(1.1);
    color: #28a745;
    filter: drop-shadow(0 2px 4px rgba(40, 167, 69, 0.3));
}

.favorite-icon.active {
    background: linear-gradient(135deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-icon {
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.3s ease;
    color: #28a745;
}

.contact-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    color: #20c997;
}


.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    border: none !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #1ea085) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
    text-decoration: none !important;
}

.btn-outline-success:hover {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #2E7D32, #1B5E20) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: white;
    color: white;
}

/* Filter Tag Styles */
.filter-tag {
    transition: all 0.2s ease;
}

.filter-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.filter-tag button:hover {
    background-color: #2E7D32 !important;
    transform: scale(1.1);
}


.enhanced-filters {
    background: linear-gradient(145deg, #ffffff, #f8fffe);
    transition: all 0.3s ease;
}

.filter-content {
    background: linear-gradient(145deg, #ffffff, #f8fffe);
}

.filter-section {
    position: relative;
}

.filter-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

/* Input Group Styles */
.styled-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.styled-input {
    width: 100%;
    padding: 12px 16px 12px 45px;
    border: 2px solid #e8f4f8;
    border-radius: 12px;
    background: #fafbfc;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.styled-input:focus {
    border-color: #4CAF50;
    background: white;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Select Styles */
.styled-select {
    width: 100%;
    padding: 12px 16px 12px 45px;
    border: 2px solid #e8f4f8;
    border-radius: 12px;
    background-color: #fafbfc;
    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;
    font-size: 0.9rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.styled-select:focus {
    border-color: #4CAF50;
    background-color: white;
    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='%234CAF50' 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;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.styled-select:hover {
    border-color: #4CAF50;
    background-color: white;
    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='%234CAF50' 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;
}

/* Icon Styles */
.input-icon {
    position: absolute;
    left: 15px;
    color: #7f8c8d;
    font-size: 1rem;
    z-index: 2;
}

/* Location Button */
.location-btn {
    position: absolute;
    right: 8px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border: none;
    border-radius: 8px;
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.location-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Custom Slider Styles */
.custom-slider-container {
    position: relative;
    
}

.custom-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #4CAF50 0%, #4CAF50 var(--slider-value, 0%), #e8f4f8 var(--slider-value, 0%), #e8f4f8 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    transition: all 0.2s ease;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

/* Badge Styles */
.distance-badge, .price-badge {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 8px;
}

/* Checkbox Styles */
.checkbox-grid {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.styled-checkbox-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fafbfc;
    border: 1px solid #e8f4f8;
    transition: all 0.2s ease;
    cursor: pointer;
}

.styled-checkbox-wrapper:hover {
    background: #f0f9f0;
    border-color: #4CAF50;
    transform: translateX(2px);
}

.styled-checkbox {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #4CAF50;
    cursor: pointer;
}

.styled-checkbox-label {
    font-size: 0.9rem;
    color: #2c3e50;
    cursor: pointer;
    margin: 0;
    font-weight: 500;
}

.styled-checkbox:checked + .styled-checkbox-label {
    color: #2E7D32;
    font-weight: 600;
}


.update-btn {
    width: 100%;
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    border: none !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    margin-top: 20px;
    cursor: pointer;
    font-size: 0.95rem;
}

.update-btn:hover {
    background: linear-gradient(135deg, #218838, #1ea085) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
    text-decoration: none !important;
}


/* ===== BUTTON STYLES ===== */

.btn-edit-info {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    border: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.btn-edit-info:hover {
    background: linear-gradient(135deg, #218838, #1ea085) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
    text-decoration: none !important;
}

/*  Button Styles for Mobile */
.btn-compact {
    width: 32px;
    height: 28px;
    padding: 0;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.btn-compact.mobile {
    flex: 1;
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
    min-height: 32px;
    border-radius: 6px;
}

.btn-compact.mobile i {
    font-size: 0.7rem;
    margin-right: 0.25rem;
}

/* Utility Classes */
.text-purple {
    color: #9C27B0 !important;
}

/* Enhanced Toggle Button */
.toggle-btn {
    background: linear-gradient(135deg, #ffffff, #f8fffe);
    border: 2px solid #4CAF50;
    border-radius: 25px;
    color: #4CAF50;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.toggle-btn:hover {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.toggle-btn.active {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    border-color: #2E7D32;
}

.toggle-btn.active:hover {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    border-color: #1B5E20;
}


.no-results-card {
    transition: all 0.3s ease;
}


.results-header-card {
    background: linear-gradient(145deg, #ffffff, #f8fffe);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 24px 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.results-info {
    flex-grow: 1;
}

.search-breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
}

.search-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
    color: #2E7D32;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #4CAF50;
}

.breadcrumb-separator {
    color: #7f8c8d;
    font-size: 0.8rem;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.count-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2E7D32;
    line-height: 1;
}

.count-text {
    font-size: 1.1rem;
    color: #5a6c7d;
    font-weight: 500;
}

.results-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.results-status.success {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
    color: #2E7D32;
    border: 1px solid #4CAF50;
}

.view-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Map View Styles */
.map-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    background: #fff;
    z-index: 1050;
}

.map-overlay .sidebar {
    width: 300px;
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid #e0e0e0;
}

.map-overlay .map-container {
    flex: 1;
    height: 100vh;
    position: relative;
}

.map-overlay .map-container .azm-map {
    width: 100% !important;
    height: 100% !important;
}

/* Azure Maps Popup Z-Index - Global for both desktop and mobile */
.atlas-map .atlas-popup {
    z-index: 6000 !important;
}

.atlas-map .atlas-popup-container {
    z-index: 6000 !important;
}

.atlas-map .atlas-popup-content {
    z-index: 6001 !important;
}

.atlas-map .atlas-popup-tip {
    z-index: 6001 !important;
}


.atlas-map .atlas-popup .atlas-popup-content * {
    z-index: 6002 !important;
}


.atlas-map .atlas-marker,
.custom-marker {
    z-index: 150 !important;
}

.atlas-map .atlas-symbol-layer {
    z-index: 150 !important;
}


.custom-marker.active,
.atlas-html-marker.active-marker {
    z-index: 1500 !important;
}


.custom-popup {
    z-index: 9999 !important;
    position: absolute !important;
}

.custom-marker.active .custom-popup {
    z-index: 9999 !important;
}

.marker-card {
    z-index: 10000 !important;
    position: relative !important;
}



/* Close Map Button */
.close-map-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10000 !important;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.close-map-btn:hover {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
    color: white;
}

.close-map-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* Results Panel */
.results-panel {
    width: 420px;
    background: #fff;
    border-left: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.results-panel.closed {
    transform: translateX(100%);
}

.results-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    max-height: calc(100vh - 80px);
    background: linear-gradient(145deg, #ffffff, #f8fffe);
}

.results-list::-webkit-scrollbar {
    width: 6px;
}

.results-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.results-list::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 3px;
}

.results-list::-webkit-scrollbar-thumb:hover {
    background: #2E7D32;
}


.favorite-icon {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    background: rgba(33, 136, 56, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Sidebar Card*/
.sidebar-card {
    max-width: 100%;
    background: linear-gradient(145deg, #ffffff, #f8fffe);
    transition: none;
}

.sidebar-card:hover {
    transform: none;
    box-shadow: none !important;
}

.sidebar-card .card-title {
    font-size: 1rem;
    line-height: 1.3;
}

.sidebar-card .icon-wrapper {
    flex-shrink: 0;
}

.sidebar-card .contact-icon {
    transition: transform 0.2s ease;
}

.sidebar-card .contact-icon:hover {
    transform: scale(1.1);
}

.sidebar-card .btn-success {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    border: none;
    font-weight: 600;
}

.sidebar-card .btn-success:hover {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

/* Map Sidebar Specific */
.map-sidebar {
    width: 375px;
    min-width: 375px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 20px rgba(0,0,0,0.1);
    z-index: 1001;
    position: relative;
}

.map-sidebar .enhanced-filters {
    border-radius: 0 !important;
    height: 100vh !important;
    box-shadow: none !important;
    border: none !important;
    border-right: 1px solid #e0e0e0 !important;
}

.map-sidebar .filter-content {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 24px !important;
    background: linear-gradient(145deg, #ffffff, #f8fffe);
}

.map-sidebar .filter-content::-webkit-scrollbar {
    width: 6px;
}

.map-sidebar .filter-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.map-sidebar .filter-content::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 3px;
}

.map-sidebar .filter-content::-webkit-scrollbar-thumb:hover {
    background: #2E7D32;
}







.results-panel .filter-label {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.results-panel .styled-input-group .input-icon {
    left: 12px;
    font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 768px) {

    .col-12.col-md-3.mb-4 {
        display: none !important;
    }


    .col-12.col-md-9 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }


    .results-header-card {
        padding: 15px;
        margin-bottom: 15px;
    }

    .results-header-card .d-flex {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px;
    }


    .search-breadcrumb,
    .results-status {
        display: none !important;
    }

 
    .results-count {
        display: flex !important;
        align-items: center !important;
        gap: 5px;
    }

    .count-number {
        font-size: 1.2rem;
        font-weight: bold;
    }

    .count-text {
        font-size: 0.9rem;
        color: #666;
    }


    .view-controls {
        display: flex;
        align-items: center;
        gap: 8px;
    }


    .result-card {
        height: auto !important;
        margin-bottom: 1rem !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    .result-card .row {
        height: auto !important;
        margin: 0 !important;
    }

    .result-card .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        height: 200px !important;
        padding: 0 !important;
    }

    .result-card .col-md-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 0 !important;
    }

    .logo-container {
        height: 200px !important;
        border-radius: 0 !important;
        margin: 0 !important;
        position: relative !important;
    }

    .club-logo {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        background: white !important;
        padding: 0.5rem !important;
        filter: none !important;
        opacity: 1 !important;
        image-rendering: auto !important;
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }


    .result-card .col-md-4 {
        position: relative !important;
    }

    .result-card .favorite-icon {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        width: 36px !important;
        height: 36px !important;
        background: linear-gradient(135deg, #2E7D32, #4CAF50) !important;
        border-radius: 50% !important;
        border: 2px solid white !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: transform 0.2s ease !important;
        z-index: 15 !important;
    }

    .result-card .favorite-icon i {
        font-size: 1rem !important;
        color: white !important;
    }

    .result-card .favorite-icon:hover {
        transform: scale(1.1) !important;
    }

    .result-card .card-body {
        padding: 0.5rem !important;
        background: white !important;
    }

    .result-card .card-title {
        font-size: 1rem !important;
        font-weight: 700 !important;
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
    }

    .result-card .card-text {
        display: none !important;
    }



 
    .result-card .row .icon-wrapper {
        width: 20px !important;
        height: 20px !important;
        border-radius: 4px !important;
        margin-right: 0.4rem !important;
        align-self: flex-start !important;
        margin-top: 0.1rem !important;
    }

    .result-card .row .icon-wrapper i {
        font-size: 0.65rem !important;
    }

    .result-card .row .d-flex {
        align-items: flex-start !important;
    }


    .result-card .row .d-flex > div:last-child {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    .result-card .row .col-sm-6 {
        margin-bottom: 0.3rem !important;
    }


    .result-card .contact-icon {
        width: 24px !important;
        height: 24px !important;
        border-radius: 6px !important;
    }

    .result-card .contact-icon i {
        font-size: 0.7rem !important;
    }


    .result-card .card-body {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }


    .result-card .d-flex.justify-content-between.align-items-center {
        flex-direction: row !important;
        align-items: flex-end !important;
        margin-top: auto !important;
        padding-top: 0.5rem !important;
    }

 
    .result-card .d-flex.gap-2 {
        display: flex !important;
        gap: 0.25rem !important;
        justify-content: flex-start !important;
    }


    .result-card .contact-info.d-flex.gap-3 {
        display: flex !important;
        gap: 0.25rem !important;
        flex-direction: column !important;
        align-items: flex-end !important;
    }


    .result-card .contact-icon {
        width: 24px !important;
        height: 24px !important;
        border-radius: 6px !important;
    }

    .result-card .contact-icon i {
        font-size: 0.7rem !important;
    }

 
    .result-card .btn {
        width: 32px !important;
        height: 32px !important;
        padding: 0 !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }


    .result-card .btn {
        font-size: 0 !important;
        text-indent: -9999px !important;
        overflow: hidden !important;
    }

    .result-card .btn i {
        font-size: 0.8rem !important;
        margin: 0 !important;
        text-indent: 0 !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .result-card .btn {
        flex: 1 !important;
        padding: 0.4rem 0.5rem !important;
        font-size: 0.75rem !important;
        border-radius: 6px !important;
        min-height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .result-card .btn i {
        font-size: 0.7rem !important;
        margin-right: 0.25rem !important;
    }



    .result-card .favorite-icon {
        position: absolute !important;
        top: -25px !important;
        right: 12px !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(10px) !important;
    }


    .map-sidebar {
        width: 100vw;
        min-width: 100vw;
    }

    .map-content {
        display: none;
    }


    .mobile-filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: white;
        z-index: 1060;
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .mobile-filter-popup {
        background: white;
        border-radius: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        overflow: hidden;
        box-shadow: none;
        display: flex;
        flex-direction: column;
    }

    .mobile-filter-header {
        background: linear-gradient(135deg, #2E7D32, #4CAF50);
        color: white;
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 1070;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        min-height: 80px;
    }

    .mobile-filter-close {
        background: rgba(255, 255, 255, 0.3);
        border: 2px solid rgba(255, 255, 255, 0.5);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
        z-index: 1071;
        outline: none;
    }

    .mobile-filter-close:hover,
    .mobile-filter-close:focus,
    .mobile-filter-close:active {
        background: rgba(255, 255, 255, 0.5);
        border-color: rgba(255, 255, 255, 0.8);
        transform: scale(1.1);
        color: white;
        outline: none;
    }

    .mobile-filter-close i {
        font-size: 1.3rem;
        color: white;
        font-weight: bold;
    }

    .mobile-filter-content {
        padding: 1.5rem;
        flex: 1;
        overflow-y: auto;
        height: calc(100vh - 80px);
        background: #f8f9fa;
    }

    .mobile-filter-content .filter-section {
        margin-bottom: 1.5rem;
    }

    .mobile-filter-content .styled-input,
    .mobile-filter-content .styled-select {
        font-size: 16px;
    }

    .mobile-filter-content .checkbox-grid {
        display: grid;
        gap: 8px;
        margin-top: 12px;
    }

    .mobile-filter-content .styled-checkbox-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-filter-content .styled-checkbox-label {
        font-size: 0.9rem;
        color: #333;
        cursor: pointer;
    }

  
    .modern-filter-btn {
        background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        border: 2px solid #dee2e6;
        color: #495057;
        padding: 0.5rem 1rem;
        border-radius: 25px;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .modern-filter-btn:hover {
        background: linear-gradient(135deg, #e9ecef, #dee2e6);
        border-color: #adb5bd;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .modern-filter-btn.has-filters {
        background: linear-gradient(135deg, #4CAF50, #2E7D32);
        border-color: #2E7D32;
        color: white;
    }

    .modern-filter-btn.has-filters:hover {
        background: linear-gradient(135deg, #2E7D32, #1B5E20);
        border-color: #1B5E20;
    }

    .filter-count {
        background: rgba(255, 255, 255, 0.9);
        color: #2E7D32;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: bold;
        margin-left: 0.25rem;
    }

    .modern-filter-btn.has-filters .filter-count {
        background: rgba(255, 255, 255, 0.9);
        color: #2E7D32;
    }

   
    .active-filters-mobile {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .filter-chip {
        background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
        border: 1px solid #4CAF50;
        color: #2E7D32;
        padding: 0.25rem 0.5rem;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 500;
        white-space: nowrap;
    }

    .filter-more {
        background: #6c757d;
        color: white;
        padding: 0.25rem 0.5rem;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 500;
    }


    .simple-results-count {
        font-size: 1rem;
        color: #666;
        font-weight: 500;
        margin: 0;
    }


    .clear-all-btn-compact {
        background: linear-gradient(135deg, #dc3545, #c82333);
        border: none;
        border-radius: 20px;
        color: white;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        white-space: nowrap;
    }

    .clear-all-btn-compact:hover {
        background: linear-gradient(135deg, #c82333, #bd2130);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
        color: white;
    }

    .clear-all-btn-compact:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    }


    @media (max-width: 768px) {
        .clear-all-btn-compact {
            padding: 0.5rem;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            justify-content: center;
        }

        .clear-all-btn-compact span {
            display: none;
        }
    }
}

/* Mobile Map  */
@media (max-width: 768px) {

    .map-container {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 1000 !important;
        background: white !important;
    }


    .map-container #map {
        width: 100% !important;
        height: 100% !important;
    }


    .mobile-map-controls {
        position: fixed !important;
        top: 20px !important;
        left: 20px !important;
        right: 20px !important;
        z-index: 9999 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        pointer-events: none !important;
    }


    .mobile-map-filter-btn {
        background: white !important;
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        padding: 0.5rem 0.75rem !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: #333 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        pointer-events: auto !important;
        height: 40px !important;
    }

    .mobile-map-filter-btn:hover {
        background: #f8f9fa !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    }

    .mobile-map-filter-btn.has-filters {
        background: linear-gradient(135deg, #4CAF50, #45a049) !important;
        color: white !important;
        border-color: #4CAF50 !important;
    }

    .mobile-map-filter-btn.has-filters .filter-count {
        background: rgba(255,255,255,0.2) !important;
        border-radius: 50% !important;
        width: 20px !important;
        height: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.75rem !important;
        font-weight: bold !important;
    }


    .close-map-btn {
        background: white !important;
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        padding: 0.5rem 0.75rem !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: #333 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        pointer-events: auto !important;
        height: 40px !important;
        top: auto !important;
        position: static !important;
    }

    .close-map-btn:hover {
        background: #f8f9fa !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    }

    .close-map-btn i {
        color: #dc3545 !important;
        font-size: 1.1rem !important;
    }


    .map-result-card {
        display: none !important;
    }

  
    .map-container .d-none.d-md-block {
        display: none !important;
    }

 
    .map-overlay .map-sidebar {
        display: none !important;
    }

    .map-overlay .results-panel {
        display: none !important;
    }

    .map-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 1000 !important;
    }


    .mobile-map-controls * {
        z-index: 9999 !important;
    }

    .map-container .mobile-map-controls {
        z-index: 9999 !important;
    }


    .custom-popup {
        z-index: 15000 !important;
    }

    .custom-marker.active .custom-popup {
        z-index: 15000 !important;
    }

    .marker-card {
        z-index: 15001 !important;
    }


    .atlas-html-marker {
        z-index: 1500 !important;
    }

    .atlas-html-marker.active-marker {
        z-index: 1500 !important;
    }

    .result-card img,
    .card img,
    .sidebar-club-logo {
        filter: none !important;
        opacity: 1 !important;
        image-rendering: auto !important;
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
    }
}


.modern-clear-all-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 0.5rem 1rem !important;
    color: white !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modern-clear-all-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.modern-clear-all-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.modern-clear-all-btn i {
    font-size: 0.875rem;
}

.modern-clear-all-btn span {
    font-weight: 500;
}


.distance-value-right {
    text-align: right;
    margin-bottom: 3px;
    font-weight: 600;
    color: #2E7D32;
    font-size: 0.95rem;
}


.price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.price-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.price-range-badge {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
    border: 2px solid #4CAF50;
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
    color: #2E7D32;
    font-size: 0.9rem;
}


.enhanced-filters {
    background: linear-gradient(145deg, #ffffff, #f8fffe);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.filter-header {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    color: white;
    padding: 20px;
    margin-bottom: 0;
}

.filter-content {
    padding: 24px;
    background: linear-gradient(145deg, #ffffff, #f8fffe);
}


.icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper.success {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
}

.icon-wrapper.primary {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
}

.icon-wrapper.warning {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
}


.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-icon.success {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
}

.contact-icon.primary {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
}

.contact-icon.warning {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
}

.contact-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}


.mobile-info-row .contact-info-mobile {
    display: flex;
    gap: 4px;
}

.mobile-info-row .contact-info-mobile .contact-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}


.mobile-card-body {
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
}


.text-small {
    font-size: 0.75rem;
    color: #666;
}

.text-small.success {
    color: #2E7D32;
}

.text-small.primary {
    color: #1976D2;
}

.text-small.warning {
    color: #F57C00;
}


.active-filters-card {
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
}

.active-filters-header {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    color: white;
    border-bottom: none;
}

.active-filters-body {
    padding: 4px;
    background: linear-gradient(145deg, #ffffff, #f8fffe);
}

.filter-tag {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
    border: 1px solid #4CAF50;
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 0.875rem;
    color: #2E7D32;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.filter-tag-remove-btn {
    border: none;
    background: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-tag-remove-btn:hover {
    background-color: #388E3C;
    transform: scale(1.1);
}


.mobile-logo-container {
    height: 120px;
    position: relative;
}

.mobile-club-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-icon-mobile {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}


.sidebar-logo-container {
    height: 100px;
    position: relative;
}

.sidebar-club-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.map-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    background: #fff;
    z-index: 1050;
}

.map-sidebar {
    width: 375px;
    min-width: 375px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 20px rgba(0,0,0,0.1);
    z-index: 1001;
    position: relative;
}

/* ===== MOBILE SEARCH HEADER STYLES ===== */

.mobile-search-header {
    background: linear-gradient(135deg, #ffffff, #f8fffe);
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 0;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


.mobile-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mobile-count-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mobile-count-section .count-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2E7D32;
    line-height: 1;
    margin-bottom: 2px;
}

.mobile-count-section .count-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4CAF50;
    line-height: 1;
    margin-bottom: 1px;
}

.mobile-count-section .count-subtext {
    font-size: 0.8rem;
    color: #666;
    line-height: 1;
}

.mobile-back-btn {
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    border: 1px solid #ddd;
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-back-btn:hover {
    background: linear-gradient(135deg, #e8e8e8, #ddd);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    color: #333;
}


.mobile-controls-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.mobile-filter-btn,
.mobile-map-btn,
.mobile-clear-all-btn {
    flex: 1;
    background: linear-gradient(135deg, #ffffff, #f8fffe);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
}

.mobile-filter-btn:hover,
.mobile-map-btn:hover,
.mobile-clear-all-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.mobile-filter-btn.has-filters {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
    border-color: #4CAF50;
    color: #2E7D32;
}

.mobile-filter-btn i {
    font-size: 1rem;
}

.mobile-filter-count {
    background: #4CAF50;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -6px;
    right: -6px;
}

.mobile-map-btn.active {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    border-color: #2196F3;
    color: #1565C0;
}

.mobile-clear-all-btn {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2);
    border-color: #F44336;
    color: #C62828;
}

.mobile-clear-all-btn:hover {
    background: linear-gradient(135deg, #FFCDD2, #EF9A9A);
}


.mobile-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.mobile-filter-chip {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
    border: 1px solid #4CAF50;
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #2E7D32;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.1);
}

.mobile-filter-chip .filter-text {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-filter-chip .filter-remove {
    background: #4CAF50;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.mobile-filter-chip .filter-remove:hover {
    background: #388E3C;
    transform: scale(1.1);
}


.price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
}



.bg-gradient {
    background: linear-gradient(145deg, #ffffff, #f8fffe) !important;
}

.spinner-border-lg {
    width: 3rem;
    height: 3rem;
}


.mobile-card-body {
    height: 120px;
}


.mobile-result-card {
    background: linear-gradient(145deg, #ffffff, #f8fffe);
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
    max-width: 100%;
    margin-bottom: 1rem;
}

.mobile-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.mobile-result-card .card-body {
    padding-bottom: 8px !important;
}

.mobile-result-card .row {
    min-height: 120px;
}



.mobile-favorite-heart {
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.mobile-favorite-heart:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}


.mobile-logo-wrapper {
    height: 120px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.mobile-club-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}


.mobile-sport-info {
    font-size: 0.875rem;
}

.mobile-sport-info i {
    font-size: 0.875rem;
    width: 16px;
}

.mobile-bottom-button {
    padding: 0;
    margin-top: auto;
}

.mobile-bottom-button .btn {
    padding: 12px 16px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.mobile-bottom-button .btn:hover {
    background: linear-gradient(90deg, #218838 0%, #0056b3 100%) !important;
    transform: translateY(-1px);
}

/* Mobile Result Card  */
.mobile-result-card .card-body {
    padding-bottom: 8px !important;
}

.mobile-result-card .row {
    min-height: 120px;
}


.icon-wrapper-desktop {
    width: 40px;
    height: 40px;
}

.icon-wrapper-desktop.success {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
}

.icon-wrapper-desktop.primary {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
}

.icon-wrapper-desktop.warning {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
}


.contact-icon-mobile {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon-mobile.success {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
}

.contact-icon-mobile.primary {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
}


.contact-icon-desktop {
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease;
}

.contact-icon-desktop.success {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
}

.contact-icon-desktop.primary {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
}

.contact-icon-desktop.warning {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
}

.contact-icon-desktop:hover {
    transform: translateY(-2px);
}


.favorite-icon-desktop {
    width: 44px;
    height: 44px;
    transition: all 0.3s ease;
}

.favorite-icon-desktop:hover {
    transform: scale(1.1);
}


.no-results-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
}


.cursor-pointer {
    cursor: pointer;
}

/* ===== MOBILE RESULT CARD STYLES ===== */


.mobile-result-card {
    background: linear-gradient(145deg, #ffffff, #f8fffe);
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

.mobile-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}


.mobile-favorite-heart {
    z-index: 10;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-favorite-heart:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}


.mobile-logo-wrapper {
    height: 120px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.mobile-club-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}


.mobile-sport-info {
    font-size: 0.875rem;
}

.mobile-sport-info i {
    font-size: 0.875rem;
    width: 16px;
}


.mobile-bottom-button {
    padding: 0;
    margin-top: auto;
}

.mobile-bottom-button .btn {
    padding: 12px 16px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.mobile-bottom-button .btn:hover {
    background: linear-gradient(90deg, #218838 0%, #0056b3 100%) !important;
    transform: translateY(-1px);
}

/* Map Popup Card  */
   .marker-card .card-header {
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 50%, #66BB6A 100%) !important;
    padding: 1rem 1rem !important;
    color: white !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: none !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 70px !important;
}

   .marker-card .card-header h5 {
    margin: 0 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    color: white !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
    letter-spacing: 0.3px !important;
    position: relative !important;
    z-index: 2 !important;
}
