/* Landing Page Search Styles */

.bide-landing-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.bide-landing-page h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

/* Results Container */
#bide-landing-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Results Grid - Matches SearchBar pattern */
.landing-results-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    width: 100%;
    justify-items: center;
    align-items: center;
}

.landing-results-grid .result-card {
    width: 100%;
    max-width: 400px;
}

/* No Results Message */
.bide-landing-page .no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 1.1em;
}

/* Loading State */
.bide-landing-page .loading {
    text-align: center;
    padding: 40px 20px;
}

/* Sort By Bar Styling */
.sort-by-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    padding: 16px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sort-by-bar label {
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
    margin-bottom: 0;
    letter-spacing: 0.01em;
}

.sort-by-bar select {
    font-size: 1em;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f9f9f9;
    color: #222;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    outline: none;
    margin-left: 8px;
}

.sort-by-bar select:focus {
    border-color: #0078d4;
    box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.12);
}

.landing-page-map.visible {
    display: block;
}

.landing-page-map {
    display: none;
}

#show-map-button {
    font-size: 1em;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f9f9f9;
    color: #222;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    outline: none;
    margin-left: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

@media (max-width: 600px) {
    .sort-by-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px 8px;
    }

    .sort-by-bar label {
        margin-bottom: 4px;
    }

    .sort-by-bar select {
        width: 100%;
        margin-left: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .landing-results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bide-landing-page {
        padding: 10px;
    }
}