/* Response Inspector 样式 */
.response-inspector-section {
    margin-bottom: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
}

.response-inspector-section.compact {
    margin-bottom: 1rem;
    padding: 0.75rem;
}

.response-inspector-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.response-inspector-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    margin: 0;
}

.response-inspector-compact-grid span {
    font-size: 0.875rem;
    padding: 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.response-inspector-stat {
    text-align: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.response-inspector-stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.response-inspector-stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
}

.response-inspector-content-item {
    margin-bottom: 1rem;
}

.response-inspector-collapse-header {
    cursor: pointer;
    padding: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    transition: background-color 0.2s;
    font-weight: 500;
}

.response-inspector-collapse-header:hover {
    background: #e9ecef;
}

.response-inspector-collapse-icon {
    display: inline-block;
    width: 1rem;
    text-align: center;
    margin-right: 0.5rem;
    transition: transform 0.2s;
}

.response-inspector-collapse-content {
    margin-left: 1rem;
    padding: 0.5rem;
    border-left: 3px solid #dee2e6;
}

.response-inspector-content-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 0.75rem;
    margin: 0.5rem 0;
}

.response-inspector-text, .response-inspector-json {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.response-inspector-errors {
    border-color: #dc3545;
    background: #f8d7da;
}

@media (max-width: 768px) {
    .response-inspector-compact-grid {
        grid-template-columns: 1fr;
    }
    
    .response-inspector-stat {
        margin-bottom: 0.5rem;
    }
    
    .response-inspector-collapse-content {
        margin-left: 0.5rem;
    }
}