.search-container {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-form input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 250px;
    background: white;
}

.search-form input[type="text"]:focus {
    border-color: #ab8663;
    box-shadow: 0 0 0 3px rgba(171, 134, 99, 0.1);
    outline: none;
}

.filter-section {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-option:hover {
    background-color: #f0e6dd;
    border-color: #c79a65;
}

.filter-option input[type="checkbox"] {
    margin-right: 5px;
}

.filter-option i {
    color: #ab8663;
}

.filter-heading {
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #555;
    grid-column: 1 / -1;
}

.rating-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
    grid-column: 1 / -1;
}

.rating-filter label {
    font-weight: 600;
    color: #555;
}

.rating-filter select {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    color: #333;
}

.search-btn, .reset-btn {
    padding: 12px 16px;
    border-radius: 6px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn {
    background-color: #ab8663;
    color: white;
}

.search-btn:hover {
    background-color: #8d6e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(171, 134, 99, 0.3);
}

.reset-btn {
    background-color: #6c757d;
    color: white;
    text-decoration: none;
}

.reset-btn:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.filter-toggle {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #ab8663;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.filter-toggle:hover {
    background-color: #f0e6dd;
}

.filter-section {
    display: none;
}

.filter-section.show {
    display: grid;
}

.search-results-info {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.highlight {
    background-color: #ffe082;
    padding: 2px 0;
    border-radius: 3px;
}

/* Cafe List Page Styles */
.cafe-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cafe-list-container h1 {
    color: #8d6e50;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.2rem;
}

.cafe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.cafe-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.cafe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.cafe-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.cafe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cafe-card:hover .cafe-image img {
    transform: scale(1.1);
}

.cafe-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cafe-info h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.cafe-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.cafe-rating i.fas.fa-star, 
.cafe-rating i.fas.fa-star-half-alt {
    color: #ffc107;
}

.cafe-rating i.far.fa-star {
    color: #e0e0e0;
}

.rating-value {
    font-weight: 600;
    color: #333;
}

.review-count {
    color: #777;
    font-size: 0.85rem;
}

.cafe-location, .cafe-hours {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
    gap: 8px;
}

.cafe-location i, .cafe-hours i {
    color: #ab8663;
    margin-top: 3px;
}

.cafe-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.facility {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
    color: #777;
}

.facility:hover {
    background-color: #e6c9a8;
    color: #fff;
    transform: scale(1.1);
}

.facility i {
    font-size: 1rem;
    color: #ab8663;
}

/* Highlighted facility that matches filter */
.highlighted-facility {
    background-color: #ab8663;
    color: white;
    transform: scale(1.1);
}

.highlighted-facility i {
    color: white;
}

.detail-btn {
    margin-top: auto;
    background-color: #ab8663;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

.detail-btn:hover {
    background-color: #8d6e50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 110, 80, 0.2);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    margin: 30px 0;
}

.empty-state i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-state p {
    color: #777;
    font-size: 1.2rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-toggle {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .search-btn, .reset-btn {
        width: 100%;
        justify-content: center;
    }
    
    .filter-section {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .filter-section {
        grid-template-columns: 1fr;
    }
}