/* Debug Modal Styles */
#debugModal .modal-content {
    width: 90vw;
    max-width: 1400px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: #f8f9fa;
    position: relative;
}

.debug-content {
    flex: 1;
    overflow-y: auto;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    white-space: pre-wrap;
    font-family: monospace;
}

/* Debug Content Styling */
.debug-content pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: normal;
    font-size: 14px;
    line-height: 1.6;
}

.debug-content code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    color: var(--text-color);
}

/* Syntax Highlighting */
.debug-text .section-header {
    color: var(--success-color);
    font-weight: bold;
    display: inline-block;
    margin: 0.5em 0;
}

.debug-text .json-content { 
    color: #032f62; 
}

.debug-text .key { 
    color: #e36209;
}

/* Scrollbar Styling */
.debug-content::-webkit-scrollbar {
    width: 12px;
}

.debug-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.debug-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 6px;
    border: 3px solid #f1f1f1;
}

.debug-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Debug Modal Header */
#debugModalTitle {
    font-size: 1.25rem;
}

/* Responsive Adjustments for Debug Modal */
@media (max-width: 768px) {
    #debugModal .modal-content {
        width: 95vw;
        padding: 1rem;
    }
    
    #debugModalTitle {
        padding-right: 2rem;
    }
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}