/* Coupon Filter Tabs */
.coupon-filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

.coupon-filter-tab {
    flex: 0 1 auto;
    min-width: 90px;
    padding: 8px 16px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    color: #666;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.coupon-filter-tab:hover {
    border-color: #ed174f;
    color: #ed174f;
    transform: translateY(-2px);
}

.coupon-filter-tab.active {
    background: #ed174f;
    border-color: #ed174f;
    color: #fff;
    box-shadow: 0 4px 12px rgba(237, 23, 79, 0.3);
}

.coupon-filter-tab .count {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 11px;
}

.coupon-filter-tab.active .count {
    background: rgba(255, 255, 255, 0.3);
}

/* Hide coupons by filter */
.coupon-item {
    display: block;
    transition: opacity 0.3s ease;
}

.coupon-item.hidden {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .coupon-filter-tabs {
        gap: 6px;
        padding: 6px;
    }

    .coupon-filter-tab {
        flex: 1 1 calc(50% - 6px);
        min-width: auto;
        padding: 7px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .coupon-filter-tab {
        flex: 1 1 100%;
    }
}

/* Loading state */
.coupon-filter-tabs.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* No results message */
.no-coupons-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-coupons-message i {
    font-size: 48px;
    color: #ed174f;
    margin-bottom: 15px;
    display: block;
}

.no-coupons-message h4 {
    margin-bottom: 10px;
    color: #333;
}
