/* Focused dev view: make the chatbot fill the viewport */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 0;
}

.content-header {
    flex-shrink: 0;
    padding: 20px 24px;
    margin-bottom: 0;
    background: #fff;
    border-bottom: 1px solid #e8eaed;
}

.chat-card {
    flex: 1;
    border-radius: 0;
    border: none;
    box-shadow: none;
    min-height: 0;
}

.chat-body {
    min-height: auto;
    max-height: none;
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.chat-input-area {
    flex-shrink: 0;
    padding: 16px 24px;
    background: #fff;
    border-top: 1px solid #e8eaed;
}

@media (max-width: 768px) {
    .chat-body {
        padding: 16px;
    }
    .content-header,
    .chat-input-area {
        padding: 16px;
    }
}


/* Center the whole chat area */
.content-area {
  /* Was min-height: 100vh - that ignored the site header stacked above it and
     pushed the document 82px past the viewport (header + 100vh). The area is
     already a flex:1 item of the column body, so it should fill what is left. */
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Make the card sit inside a centered, wider box */
.content-area > * {
  width: 100%;
  max-width: 960px;   /* increase this if you want an even larger box */
}

/* Bolder border + stronger shadow around the chat card */
.chart-card {
  border: 3px solid #2c3e50;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
/* Chat area content width - cap the conversation card and center it */
.chat-card {
    width: 100%;
    max-width: 1226px;
    margin: 0 auto;
}
