body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 8px;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 5px 5px 0 0;
    margin-bottom: 10px;
}

.header h1 {
    margin: 0;
    font-size: 1.5rem;
}

.chat-window {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    max-width: 80%;
    word-wrap: break-word;
}

.user-message {
    background-color: #007bff;
    color: white;
    margin-left: auto;
}

.agent-message {
    background-color: #e9e9e9;
    color: #333;
}

.suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.suggestion-chip {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 5px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestion-chip:hover {
    background-color: #e0e0e0;
}

.input-area {
    display: flex;
    gap: 10px;
}

#user-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    min-height: 40px;
    max-height: 120px;
    background-color: #f0f0f0;
}

#send-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#send-button:hover {
    background-color: #0056b3;
}

.viz-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #007bff;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 500;
}

.viz-trigger:hover {
    text-decoration: underline;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 900px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.graph-container {
    width: 100%;
    height: 500px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 15px 0;
}

.graph-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.graph-controls button {
    padding: 8px 15px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.graph-controls button:hover {
    background-color: #e0e0e0;
}
