/* Coupon Filter Styles */
.coupon-filter-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.filter-single-row {
    padding: 16px 20px;
    background: linear-gradient(135deg, #8a8acc 0%, #7777c2 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.filter-section-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.filter-label-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.filter-label-inline i {
    font-size: 16px;
}

.filter-tags-inline {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
}

.filter-divider-inline {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
}

.filter-tag {
    border: 1px solid #ddd;
    color: #666;
    border-radius: 16px;
    padding: 6px 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Area tags - Light blue theme */
.area-tag {
    background: #e8f4fd !important;
    border-color: #bbdefb !important;
    color: #1976d2 !important;
}

.area-tag:hover {
    background: #d1e7fd !important;
    color: #1565c0 !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.area-tag.active {
    background: #6496ff !important;
    border-color: #6496ff !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(100, 150, 255, 0.3);
}

/* Category tags - Light green theme */
.category-tag {
    background: #e8f5e8 !important;
    border-color: #c8e6c9 !important;
    color: #2e7d32 !important;
}

.category-tag:hover {
    background: #d7f0d7 !important;
    color: #1b5e20 !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.category-tag.active {
    background: #64c878 !important;
    border-color: #64c878 !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(100, 200, 120, 0.3);
}

.filter-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 20px 0;
}

.near_info {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-weight: 500;
}

.near_info p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.near_info p::before {
    content: "\F0450";
    font-family: "Material Design Icons";
    font-size: 18px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .filter-single-row {
        padding: 12px 16px;
        gap: 16px;
    }
    
    .filter-divider-inline {
        width: 2px !important;
        height: 25px !important;
        background: rgba(255, 255, 255, 0.6) !important;
        margin: 0 8px !important;
        display: block !important;
        flex-shrink: 0 !important;
    }
    
    .filter-tag {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .filter-label-inline {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .coupon-filter-container {
        margin: 0 -10px 20px -10px;
        border-radius: 0;
    }
    
    .filter-single-row {
        padding: 10px 16px;
        gap: 12px;
    }
    
    .filter-section-inline {
        gap: 8px;
    }
    
    .filter-tags-inline {
        gap: 4px;
    }
    
    .filter-tag {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .filter-label-inline {
        font-size: 12px;
    }
}

/* Focus animation for active tags */
@keyframes tagFocus {
    0% {
        transform: translateY(-1px) scale(1);
        box-shadow: 0 2px 8px rgba(100, 150, 255, 0.3);
    }
    50% {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 4px 16px rgba(100, 150, 255, 0.5);
    }
    100% {
        transform: translateY(-1px) scale(1);
        box-shadow: 0 2px 8px rgba(100, 150, 255, 0.3);
    }
}

/* Hide scrollbar for cleaner appearance */
.filter-single-row {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.filter-single-row::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}