/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.location-filter-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Hind Siliguri', 'SolaimanLipi', 'Nikosh', Arial, sans-serif;
}

/* Filter Bar */
.filter-bar {
    background: linear-gradient(135deg, #1e3c2c 0%, #0f2a1a 100%);
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ffd966;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.filter-group select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,217,102,0.3);
    transform: translateY(-2px);
}

.filter-group select:disabled {
    background: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.filter-actions {
    display: flex;
    gap: 10px;
    min-width: 180px;
}

.search-btn, .reset-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    flex: 1;
}

.search-btn {
    background: #ffd966;
    color: #1e3c2c;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.search-btn:hover {
    background: #ffe699;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.reset-btn {
    background: #dc3545;
    color: white;
}

.reset-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Stats Bar */
.stats-bar {
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border-left: 4px solid #ffd966;
}

.total-count {
    font-weight: 600;
    color: #1e3c2c;
}

.total-count i {
    color: #ffd966;
    margin-right: 8px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #f0f0f0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    line-height: 1.4;
}

.news-title a {
    color: #1e3c2c;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.news-title a:hover {
    color: #ffd966;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #888;
    flex-wrap: wrap;
}

.news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-excerpt {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ffd966;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #1e3c2c;
    gap: 8px;
}

/* Loading Spinner */
.loading {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ffd966;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    margin-top: 15px;
    color: #666;
}

/* Pagination */
.pagination-links {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #1e3c2c;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.page-link:hover {
    background: #ffd966;
    border-color: #ffd966;
    color: #1e3c2c;
    transform: translateY(-2px);
}

.page-link.active {
    background: #ffd966;
    border-color: #ffd966;
    color: #1e3c2c;
    font-weight: 600;
}

/* No Results */
.no-news {
    text-align: center;
    padding: 80px 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.no-news i {
    font-size: 48px;
    color: #ffd966;
    margin-bottom: 20px;
}

.no-news h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.no-news p {
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .filter-group {
        min-width: 150px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .filter-bar {
        padding: 15px;
    }
    
    .filter-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-actions {
        width: 100%;
    }
    
    .search-btn, .reset-btn {
        padding: 10px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .news-title {
        font-size: 16px;
    }
    
    .page-link {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    animation: fadeInUp 0.5s ease forwards;
}
/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin: 20px 0;
}

.empty-state i {
    font-size: 64px;
    color: #ffd966;
    margin-bottom: 20px;
    opacity: 0.7;
}

.empty-state h3 {
    font-size: 24px;
    color: #1e3c2c;
    margin-bottom: 10px;
    font-weight: 600;
}

.empty-state p {
    color: #666;
    font-size: 16px;
}

/* Page Dots */
.page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: #666;
}