/* Main container with high specificity */
div.qsr-reports-container {
    max-width: 1000px;
    margin: 40px auto;
    color: #333;
}

.qsr-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.qsr-tabs {
    display: flex;
    gap: 15px;
}

.qsr-tab-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    min-width: 80px;
}

.qsr-tab-btn:hover {
    border-color: #923DB6;
    color: #923DB6;
}

.qsr-tab-btn.active {
    background: #923db6 !important;
    color: #fff !important;
    border-color: #923db6 !important;
}

.qsr-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #8E95A2;
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.qsr-reports-list {
    margin-bottom: 40px;
}

.qsr-report-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s ease;
}

.qsr-report-item:last-child {
    border-bottom: none;
}

.qsr-report-name {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.qsr-report-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.qsr-report-date {
    color: #8E95A2;
    font-size: 14px;
}

.qsr-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #923DB6;
    border-radius: 6px;
    color: #923DB6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.qsr-download-btn:hover {
    background: #923DB6;
    color: #fff;
}

.qsr-download-btn svg {
    width: 14px;
    height: 14px;
}

.qsr-type-content {
    display: none !important;
}

.qsr-type-content.active {
    display: block !important;
    animation: qsr-fadeIn 0.5s ease-out forwards;
}

@keyframes qsr-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qsr-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fcfaff;
    border: 2px dashed #e0d0eb;
    border-radius: 12px;
}

.qsr-empty-state p {
    color: #923DB6;
    font-size: 18px;
    font-weight: 500;
}

.qsr-load-more-wrapper {
    text-align: center;
    margin: 40px 0;
}

.qsr-load-more-btn {
    background: #fff;
    border: 1px solid #923DB6;
    color: #923DB6;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.qsr-load-more-btn:hover {
    background: #923DB6;
    color: #fff;
}

.qsr-load-more-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsiveness */
@media (max-width: 768px) {
    .qsr-report-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .qsr-report-actions {
        width: 100%;
        justify-content: space-between;
    }

    .qsr-tabs {
        overflow-x: auto;
        padding-bottom: 10px;
        width: 100%;
        justify-content: flex-start;
    }

    .qsr-tab-btn {
        flex: 0 0 auto;
    }
}