body { font-family: Arial, sans-serif; margin: 1rem; }

#chat { border: 1px solid #ccc; height: 400px; overflow-y: auto; margin-top: 1rem; border-radius: 6px; font-size: 12px; }

.message { margin-bottom: 1rem; }

.user { font-weight: bold; color: navy; }

.assistant { font-weight: normal; color: rgb(0, 21, 128); }  

.followup-buttons button {
    margin: 0.3em;
    padding: 0.5em 1em;
    border-radius: 8px;
    border: 1px solid #aaa;
    background: #eef;
    cursor: pointer;
}

.followup-buttons button:hover {
    background: #dde;
}

.followup-buttons {
    margin-top: 10px;
}

.followup-buttons button {
    margin: 0.3em;
    padding: 0.5em 1em;
    border-radius: 8px;
    border: 1px solid #aaa;
    background: #eef;
    cursor: pointer;
}

.followup-buttons button:hover {
    background: #dde;
}

.topic-buttons {
    margin-bottom: 1rem;
}

.topic-buttons button {
    margin-right: 0.5em;
    padding: 0.4em 0.8em;
    font-size: 14px;
    text-align: left;
    margin-top: 1vh;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #aaa;
    background: rgb(221, 232, 255);
    cursor: pointer;
}

.topic-buttons button:hover {
    background: rgb(141, 177, 255);
}

#topic-buttons {
  max-height: 300px;
  overflow: hidden;
  transition: max-height 3s ease, opacity 3s ease, margin 3s ease;
}

#topic-buttons.collapsed {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
}

#messageInput {
    height: 50px;
    font-size: 12px;
    background: rgb(221, 232, 255);
}

.summary-box {
    background-color: #f6fafd;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 4px solid #007acc;
    border-radius: 6px;
}

.input-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-top: 10px;
}

#messageInput {
    flex: 1;
    resize: none;
    overflow-y: auto;
    height: 5vh;
    font-size: 13px;
    border-radius: 6px;
    background: rgb(221, 232, 255);
    padding: 8px;
    border: 1px solid #aaa;
    border-radius: 6px;
}

.send-button {
    height: 56px;
    padding: 0 16px;
    height: 7vh;
    background: blue;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.send-button:hover {
    background: darkblue;
 }