/* Report Card Header Fix - Better fonts and spacing */

/* Report Card in Report Center */
.report-card {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.report-card-header {
    padding: 16px 20px;
}

.report-card-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #a78bfa;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.report-card-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0;
}

/* Stats Section - Better spacing */
.report-stats {
    display: flex;
    gap: 24px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.report-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 70px;
}

.report-stat-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.report-stat-value {
    font-family: 'SF Mono', 'JetBrains Mono', Consolas, monospace;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

/* Report Viewer Header */
.report-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.report-viewer-info {
    flex: 1;
    min-width: 0;
}

.report-viewer-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.report-viewer-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

/* Stats Container in Viewer - Horizontal layout with proper spacing */
#reportStats,
.report-viewer-stats {
    display: flex;
    gap: 32px;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-left: 24px;
    flex-shrink: 0;
}

#reportStats .report-stat-item,
.report-viewer-stats .report-stat-item {
    text-align: center;
    min-width: 80px;
}

#reportStats .report-stat-label,
.report-viewer-stats .report-stat-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

#reportStats .report-stat-value,
.report-viewer-stats .report-stat-value {
    font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 20px;
    font-weight: 700;
    color: #a78bfa;
}

/* Responsive: Stack stats on smaller screens */
@media (max-width: 900px) {
    .report-viewer-header {
        flex-direction: column;
        gap: 16px;
    }
    
    #reportStats,
    .report-viewer-stats {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }
}

