* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.main-card {
    margin: 0 auto 0;
    border-radius: 18px;
}

.filter-bar {
    display: flex;
    background: transparent;
    border-radius: 0;
    padding: 12px 16px;
    border: none;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
}

.filter-buttons {
    display: flex;
    gap: 0;
    width: 100%;
    background: #eef1f6;
    border-radius: 10px;
    padding: 3px;
}

.filter-btn {
    padding: 8px 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #8c99b3;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    position: relative;
    outline: none;
    flex: 1;
    text-align: center;
}

.filter-btn:hover {
    color: #4e6ef2;
    background: rgba(255, 255, 255, 0.5);
}

.filter-btn.active {
    background: #fff;
    color: #4e6ef2;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(78, 110, 242, 0.15);
}

.coupon-list {
    margin: 0 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.coupon-card {
    display: flex;
    align-items: center;
    background: #f8fbfc;
    border-radius: 11px;
    box-shadow: 0 2px 13px rgba(70, 120, 220, .06);
    padding: 13px 16px 13px 11px;
    gap: 12px;
    position: relative;
    transition: box-shadow .13s;
}

.coupon-card:hover {
    box-shadow: 0 3px 15px rgba(70, 120, 220, .10);
}

.coupon-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: linear-gradient(135deg, #eef2ff 0%, #e9f2fa 100%);
    box-shadow: 0 2px 8px rgba(70, 120, 220, .06);
    flex-shrink: 0;
    border: 1px solid rgba(78, 110, 242, .06);
}

.coupon-info {
    flex: 1;
    min-width: 0;
}

.coupon-redeem-remark {
    color: #888;
    font-family: 'Consolas', 'Menlo', monospace;
}

.coupon-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 12px;
}

.coupon-name {
    font-size: 1.04rem;
    font-weight: 600;
    color: #2442cf;
    margin-bottom: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.coupon-meta {
    font-size: .92rem;
    color: #5b6a92;
    margin-bottom: 4px;
    flex-wrap: wrap;
    gap: 16px;
}

.coupon-date, .tenant-name {
    color: #8c99b3;
}



.coupon-expire, .used-date {
    font-size: .92rem;
    color: #bbbbbb;
    margin-top: 1px;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    display: none;
}