/**
 * Property Filters Styling
 */

/* Result Count Header */
.properties-result-count {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.properties-result-count strong {
    color: #0000f0;
    font-weight: 700;
}

/* Quick Filter Buttons */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.quick-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-filter-btn:hover {
    border-color: #0000f0;
    color: #0000f0;
}

.quick-filter-btn.active {
    background-color: #0000f0;
    border-color: #0000f0;
    color: #fff;
}

.quick-filter-btn i {
    font-size: 0.9rem;
}

/* View Toggle Buttons */
.view-toggle {
    display: flex;
    gap: 0.25rem;
    background: #f0f0f0;
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.view-toggle-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    background: transparent;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.view-toggle-btn:hover {
    color: #333;
}

.view-toggle-btn.active {
    background: #fff;
    color: #0000f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.view-toggle-btn i {
    margin-right: 0.35rem;
}

/* Copy Link Button */
.copy-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-link-btn:hover {
    border-color: #0000f0;
    color: #0000f0;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: #fff;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification .toast-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast-notification::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    background: #22c55e;
    border-radius: 50%;
    font-size: 0.7rem;
    margin-right: 0.5rem;
}

/* Map Container */
#property-map-container {
    height: 600px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#property-list-map {
    height: 100%;
    width: 100%;
}

/* Map Popup styling */
.property-map-popup {
    min-width: 200px;
}

.property-map-popup img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.property-map-popup h6 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.property-map-popup .price {
    color: #0000f0;
    font-weight: 700;
    font-size: 1rem;
}

.property-map-popup .details {
    font-size: 0.8rem;
    color: #666;
    margin: 0.25rem 0;
}

.property-map-popup .actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.property-map-popup .actions a {
    flex: 1;
    text-align: center;
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
    text-decoration: none;
}

.property-map-popup .actions .btn-view {
    background: #0000f0;
    color: #fff;
}

.property-map-popup .actions .btn-directions {
    background: #f0f0f0;
    color: #333;
}

/* Filter Actions Bar */
.filter-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.filter-actions-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-actions-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-actions-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-actions-left,
    .filter-actions-right {
        justify-content: center;
    }

    .quick-filters {
        justify-content: center;
    }

    #property-map-container {
        height: 400px;
    }
}