/*#chat-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}*/

#chat-container body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

#chat-container button {
    cursor: pointer;
}

#chat-container a {
    color: #2196F3;
    text-decoration: none;
}

#chat-container a:hover {
    text-decoration: underline;
}

#chat-container .hidden {
    display: none !important;
}

#chat-container .flex {
    display: flex;
}

#chat-container .flex-column {
    display: flex;
    flex-direction: column;
}

#chat-container .items-center {
    align-items: center;
}

#chat-container .justify-center {
    justify-content: center;
}

#chat-container .gap-1 {
    gap: 0.25rem;
}

#chat-container .gap-2 {
    gap: 0.5rem;
}

#chat-container p {
    margin-bottom: 1rem;
}

#chat-container code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f1f1f1;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

#chat-container pre {
    background-color: #f1f1f1;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

#chat-container pre code {
    background-color: transparent;
    padding: 0;
}

#chat-container ul, #chat-container ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

#chat-container blockquote {
    border-left: 4px solid #ddd;
    padding-left: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

#chat-container h1, #chat-container h2, #chat-container h3, #chat-container h4, #chat-container h5, #chat-container h6 {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

#chat-container h1 {
    font-size: 2rem;
}

#chat-container h2 {
    font-size: 1.5rem;
}

#chat-container h3 {
    font-size: 1.25rem;
}

#chat-container h4 {
    font-size: 1rem;
}

#chat-container table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1rem;
}

#chat-container th, #chat-container td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: left;
}

#chat-container th {
    background-color: #f1f1f1;
}

@media (max-width: 768px) {
    #chat-container .documents-section,
    #chat-container .chat-history-section,
    #chat-container .metrics-row,
    #chat-container .charts-row {
        flex-direction: column;
    }
    
    #chat-container .ChatApp.expanded {
        width: 90vw;
        height: 80vh;
    }
}
