.u-header {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2em;
}

.answer .title {
    font-size: 1.1em;
    font-weight: bold;
    padding: 1em;
    margin-left: -1em;
}
.answer {
    padding: 1em;
}

#chat-input-section {
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
}
#chat-input-section textarea {
    width: 100%
}
#chat-input-section .question {
    max-width: 300px;
    padding: 1em;
}

#chat-input-section .question.edit-mode {
    max-width: 700px;
    width: 100%;
    min-width: min(100vw, 400px);
}
#chat-input-section .question button {
    font-size: 1em;
    padding: 0.5em 1em;
}
#chat-input-section .question button .htmx-indicator {
    width: 100%;
}
#custom-chat-input-section {
    width: 100%;
    display: flex;
    justify-content: center;
}
#file-upload-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
}
#file-upload-container form {
    display: flex;
    flex-wrap: wrap;
    padding: 2em 0.5em;
}

#file-upload-container form input[type="file"],
#file-upload-container form input[type="file"]::file-selector-button {
    margin-bottom: 0.5em;
    margin-right: 0.5em;
}

#chat-history {
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: column;
    font-family: math;
    color: white;
}
#chat-history .answer {
    padding: 1em;
    display: inline-flex;
    flex-direction: column;
}
#chat-history .answer table {
    margin: 0.5em;
    margin-bottom: 2.5em;
}
#chat-history .answer table tr:first-child {
    font-weight: bold;
}
#chat-history .answer table trtr:nth-child(even) {
    background-color: #32224f;
}
#chat-history .answer table td {
    padding: 0.2em 0.3em;
}


.htmx-indicator{
    display: none;
}

.htmx-request .htmx-indicator .htmx-indicator-file-upload {
    display: inherit;
}
.htmx-indicator.loading-container .harbr-loading {
    margin-top: 0;
    height: 20px;
}
.harbr-loading div {
    top: 10px !important;
}