/**
 * JSON View Mode Styles - v0.1.6
 */

.json-view-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.json-view-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.json-view-content {
    flex: 1;
    overflow: auto;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    min-height: 0; /* Allow content to scroll properly */
}

.syntax-output {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    display: block; /* Ensure block-level element */
    height: 1px;    /* todo: figure out a better way to prevent the .syntax-output from overflowing the current height */
}