/* Compact Filters (App-Like) */
.compact-filter-section {
    background: #fff;
    padding: 8px;
    /* Reduced from 10px */
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.compact-filter-row {
    display: flex;
    align-items: center;
}

/* Row 1, 2 flex helpers */
.flex-nowrap-md {
    display: flex;
    flex-wrap: nowrap;
}

/* Inputs */
.filter-input-sm {
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.75rem;
    /* Reduced from 0.8rem */
    height: 40px;
    /* Increased from 35px */
    line-height: 40px;
    /* Match new height */
    background: #f9f9f9;
    box-sizing: border-box;
    /* Ensure padding included */
    vertical-align: middle;
}

.filter-input-sm:focus {
    background: #fff;
    border-color: #007bff;
    outline: none;
}

/* Chips (Row 3: Type) */
.chip-scroll-container {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
    /* Ensure single line */
    align-items: center;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.chip-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Filter Label */
.filter-label-sm {
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    margin-right: 5px;
    white-space: nowrap;
}

.filter-chip {
    padding: 1px 3px;
    /* Specific request: 1px 3px */
    border: 1px solid #e91e63;
    /* Pink/Redish outline */
    background: #fff;
    color: #e91e63;
    border-radius: 10px;
    /* Matching mini/cashback style */
    font-size: 0.65rem;
    /* Reduced from 0.7rem */
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-weight: 600;
}

.filter-chip.active,
.filter-chip:hover {
    background: #e91e63;
    color: #fff;
}

/* Mini Chips (Row 2: Availability) */
.chip-group-mini {
    display: flex;
    gap: 3px;
    /* Reduced from 4px */
}

.filter-chip-mini {
    padding: 1px 3px;
    /* Reduced from 2px 6px */
    border: 1px solid #e91e63;
    background: #fff;
    color: #e91e63;
    border-radius: 4px;
    font-size: 0.75rem;
    /* Reduced from 0.8rem */
    cursor: pointer;
    min-width: 20px;
    /* Reduced from 24px */
    text-align: center;
    transition: all 0.2s;
}

.filter-chip-mini.active,
.filter-chip-mini:hover {
    background: #e91e63;
    color: #fff;
}

/* Pagination Controls */
.pagination-btn, .offer-pagination-btn, .history-pagination-btn {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #333;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled), .offer-pagination-btn:hover:not(:disabled), .history-pagination-btn:hover:not(:disabled) {
    background: #f0f0f0;
    border-color: #bbb;
}

.pagination-btn:disabled, .offer-pagination-btn:disabled, .history-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #999;
}

.pagination-info {
    font-weight: 500;
    color: #666;
    font-size: 0.85rem;
}