.chat-container {
    display: grid;
    grid-template-rows: 80px 80px 1fr 80px;
    max-height: 99vh;
}

.form-chat {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
}

.add-chart {
    position: absolute;
    bottom: -5px;
    left: 8px;
}

.message-container {
    display: flex;
    flex-direction: column;
    /* overflow-y: scroll; */
    overflow-x: hidden;
    padding: 10px 5px;
}

.message {
    margin-bottom: 10px;
}

.user-message {
    padding: 8px;
    border-radius: 5px;
    max-width: 70%;
    color: #fff;
    align-self: flex-end;
    background-color: #41243b !important;
    font-size: .875rem !important;
    padding: 0.5rem !important;
}

.bot-message {
    background-color: #485474 !important;
    color: #fff;
    padding: 8px;
    border-radius: 5px;
    max-width: 90%;
    align-self: flex-start;
}

.bot-message table {
    /* --bs-table-color: #7C8FAC; */
    --bs-table-color: #fff;
    --bs-table-bg: transparent;
    --bs-table-border-color: #333F55;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-body-color);
    --bs-table-striped-bg: #191e29;
    --bs-table-active-color: var(--bs-body-color);
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: var(--bs-body-color);
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
    width: 100%;
    margin-bottom: 1rem;
    color: var(--bs-table-color);
    vertical-align: top;
    border-color: var(--bs-table-border-color);
}

.bot-message table> :not(caption)>*>* {
    padding: 16px 12px;
    background-color: var(--bs-table-bg);
    border-bottom-width: var(--bs-border-width);
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.bot-message table,
.bot-message tbody,
.bot-message td,
.bot-message tfoot,
.bot-message th,
.bot-message thead,
.bot-message tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    text-align: center;
}

.content-bot-message {
    overflow-x: auto;
}

.bot-message-chart {
    position: relative;
    padding: 8px;
    border-radius: 5px;
    max-width: 90%;
    min-width: 380px;
    /* align-self: flex-start; */
    /* border: 1px solid #465879; */
}

.box-message {
    border: 1px solid #465879;
    border-radius: 5px;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    width: 98%;
    margin: 2px auto;
}

.input-message {
    width: 100%;
    padding: 10px;
    border: none !important;
    box-sizing: border-box;
    resize: none;
    box-shadow: none !important;
}

#btn-send-message {
    margin-bottom: 10px;
    margin-right: 8px;
    margin-left: 15px;
}


#message-container {
    scrollbar-width: thin;
    scrollbar-color: darkgray var(--bs-body-bg);
}

.image-right {
    position: absolute;
    top: 10px;
    right: 20px;
}

.container-generated-questions {
    position: absolute;
    display: flex;
    width: 97%;
    bottom: 80px;
    left: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    overflow: auto;
}

.container-generated-questions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1;
    border-radius: 6px;
}

.choice-questions {
    position: relative;
    display: flex;
    /* width: 100%; */
    padding: .5rem;
    align-items: center;
}

.card-question {
    position: relative;
    max-width: 300px;
    min-width: 160px;
    border-radius: 5px;
    background-color: rgba(148, 29, 126, 0.5);
    color: #fff;
    padding: 5px;
    margin-right: 15px;
    z-index: 2;
    text-align: center;
}

.z-2 {
    z-index: 2;
}

.btn-close {
    color: #fff;
    z-index: 2;
    position: absolute;
    right: 6px;
    top: 2px;
    cursor: pointer;
}

.button-question-edit{
    position: absolute;
    bottom: 0;
    right: -4px;
}