/* Responsive CSS modifications */

/* Chatbot container: full width on small devices, up to 750px on larger ones */
.chatbot-container {
    margin-top: 10px;
    width: 100%;
    max-width: 750px;
    box-sizing: border-box;
}

/* Chat example question styling */
.chatQuestion {
    background-color: #f1f0f0;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    color: #212529; /* ensure readable text in light mode */
}

.chatQuestionTitle {
    color: #212529; /* ensure readable text in light mode */
    font-weight: 600;
    margin: 10px 10px 0;
}

/* Button within a chat question */
.chatQuestion button {
    width: 100%;
    max-width: 100px;
    height: 50px;
    margin: 10px 0;
    box-sizing: border-box;
}

/* Examples container: relative width with a max-width for larger screens */
.examples-container {
    height: 78vh;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    padding: 10px;
}

/* A container for both the examples and the chatbot */
.responsive-chat-container {
    display: flex;
    flex-direction: column;
    /* Stack vertically by default (mobile-first) */
    align-items: center;
    gap: 20px;
}

/* On medium screens and larger, display side-by-side */
@media (min-width: 768px) {
    .responsive-chat-container {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        width: 1500px;
    }
}

/* Chatbot container: full width on small devices, up to 750px on larger ones */
.chatbot-container {
    margin-top: 10px;
    width: 100%;
    max-width: 750px;
    box-sizing: border-box;
}

#modelDescription {
    margin-top: 10px;
    margin-bottom: 10px;
}
