/**
 * Nearby Wishlists Page Styles
 */

/* Page Header */
.page-header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #db34a3, #c02d91);
    color: white;
    margin-bottom: 40px;
    border-radius: 10px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Filter Section */
.filter-section {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.location-filter-form {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.location-filter-form label {
    font-weight: bold;
    color: #333;
}

.location-filter-form select {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    min-width: 200px;
    background-color: white;
}

.btn-filter,
.btn-clear {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-filter {
    background-color: #db34a3;
    color: white;
}

.btn-filter:hover {
    background-color: #c02d91;
}

.btn-clear {
    background-color: #666;
    color: white;
}

.btn-clear:hover {
    background-color: #555;
}

/* Results Section */
.results-section {
    margin-bottom: 40px;
}

.results-count {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    border-radius: 4px;
}

.results-count p {
    margin: 0;
    color: #333;
}

.results-count strong {
    color: #2e7d32;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.no-results p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
}

/* Wishlist Grid */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Wishlist Card */
.wishlist-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wishlist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
}

.card-content .location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.card-content .bio {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.card-content .wishlist-count {
    font-size: 1rem;
    color: #db34a3;
    margin-bottom: 0;
}

/* Card Actions */
.card-actions {
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

.btn-view,
.btn-flier {
    flex: 1;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-view {
    background-color: #1a529f;
    color: white;
}

.btn-view:hover {
    background-color: #143d7a;
}

.btn-flier {
    background-color: #db34a3;
    color: white;
}

.btn-flier:hover {
    background-color: #c02d91;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .subtitle {
        font-size: 1rem;
    }

    .location-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .location-filter-form select {
        width: 100%;
    }

    .wishlist-grid {
        grid-template-columns: 1fr;
    }

    .card-actions {
        flex-direction: column;
    }

    .btn-view,
    .btn-flier {
        width: 100%;
    }
}

