body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    flex-direction: column;
    height: 100vh;
}

.logos {
    width: 100%;
    height: 10%;
    background-color: rgba(55, 72, 86, 1);
    color: white;
    text-align: center;
    display: flex;
    justify-content:center;
    align-items: center;
    padding: 5px 0;
}

.logos-images {
    max-width: auto;
    height: auto;
    max-height: 40%;
    margin: 20px;
}

  
@media (max-width: 810px) {
    .logos-images {
        max-width: 30%;
        height: auto;
        max-height: 40%;
        margin: 20px;
    }

    .logos p {
        font-size: 1em;
    }
}

.main {
    width: 100%;
    height: 90%;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    /*border: 5px solid #000000;*/
    display: flex;
    justify-content: space-between;
}

.box1 {
    width: 20%; /* Set width of each section */
    height: 95%;
    margin: 10px auto;
    /*border: 5px solid #000000;*/
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box2 {
    width: 900px; /* Set width of each section */
    height: 95%;
    margin: 10px auto;
    /*border: 5px solid #000000;*/
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 580px) {
    .box2 {
        min-width: 90%;
        margin: 0 auto;
        margin-top: 20px;
    }
}

.chat-container {
    /* border: 5px solid #000000; */
    width: 90%;
    height: calc(98% - 10px);
    background-color: rgb(255, 255, 255);
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
}

.chat-box {
    /* border: 5px solid #940a0a; */
    height: 90%;
    width: auto;
    overflow-y: scroll;
}

.chat-message {
    /* border: 5px solid #2433d7; */
    height: auto;
    width: auto;
    margin-top: 5px;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

.image-container {
    /* border: 5px solid #28885a; */
    height: 30px;
    width: 30px;
    margin-top: 5px;
    display: inline-block;
}

.user-message {
    max-width: 60%;
    margin-top: 5px;
    margin-left: auto;
    margin-right: 5px;
    background-color: #354048;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    word-wrap: break-word;
}

.bot-message {
    max-width: 60%;
    margin-top: 5px;
    margin-right: auto;
    margin-left: 5px;
    background-color: #A83B42;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    word-wrap: break-word;
    white-space: pre-line;
}

.gradual-bot-container {
    max-width: 60%;
    margin-top: 5px;
    margin-right: auto;
    margin-left: 5px;
    background-color: #dc3545;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    word-wrap: break-word;
}

.input-container {
    height: 10%;
    display: flex;
    align-items: center;
    border-top: 1px solid #ccc;
}

.input-field {
    width: 70%;
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
}

.input-textarea {
    resize: none;
    overflow: auto;
    width: 70%;
    max-height: 100%;
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
}

#sendButton {
    width: 20%;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}

#resetButton {
    width: 20%;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    background-color: #A83B42;
    color: #fff;
    cursor: pointer;
}


/* ----------------------------------------------------------------------------- */

.files-container {
    width: 98%;
    height: 100%;
    text-align: center;
    /* border: 1px solid #ccc; */
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.addfiles-button {
    height: auto;
    width: auto;
    position: relative;
    margin: 10px;
    top: 10px;
    /* left: 10px;  */
}

.drag-drop-container {
    height: 25%;
    width: 70%;
    background-color: #f0eaea;
    border: 2px dashed #aaa;
    border-radius: 10px;
    margin-top: 10px;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    overflow-y: auto;
}

.file-selector {
    height: auto;
    width: auto;
    position: relative;
    margin: 10px;
    top: 10px;
    /* left: 10px;  */
}

.upload-files-button {
    height: auto;
    width: auto;
    position: relative;
    margin-top: 5px;
    margin-bottom: 10px;
    top: 10px;
    /* left: 10px;  */
}

.files-uploaded-container {
    height: 40%;
    width: 80%;
    background-color: #f0eaea;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-top: 15px;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin-top: 10px;
    overflow-y: auto;
}

.send-files-button {
    position: relative;
    margin-top: 5px;
    top: 10px;
    /* left: 10px;  */
}

.cancel-button {
    position: relative;
    margin-top: 5px;
    top: 10px;
    /* left: 10px;  */
}


/* ----------------------------------------------------------------------------- */

.database-info-button {
    height: auto;
    width: auto;
    position: relative;
    margin: 10px;
    top: 10px;
    /* left: 10px;  */
}

.files-in-db-container {
    height: 35%;
    width: 80%;
    background-color: #f0eaea;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin: 10px;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin-top: 10px;
    overflow-y: auto;
    flex-direction: column;
}

.new-files-in-db-container {
    height: 35%;
    width: 80%;
    background-color: #f0eaea;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin: 10px;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin-top: 10px;
    overflow-y: auto;
    flex-direction: column;
}

.resetRAG-button {
    position: relative;
    margin-top: 5px;
    top: 10px;
    /* left: 10px;  */
}

.confirmation-popUp {
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    background-color: rgb(225, 224, 224);
    padding: 20px;
    border: 5px solid #000000;
    border-radius: 10px;
}

/* .confirmation-popUp-content {
    text-align: center;
    width: auto;
    height: auto;
} */

.modal {
    position: fixed;
    z-index: 2; /* Ensure modal is on top of overlay */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(225, 224, 224);
    padding: 20px;
    border: 5px solid #000000;
    border-radius: 10px;
    text-align: center;
    width: auto;
    height: auto;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#overlay {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* Semi-transparent black */
}

.dd-text {
    font-size: 14px;
    font-weight: bold;
    opacity: 0.6;
    color: rgb(0, 0, 0);
    text-align: center;
}

.highlight {
    border-color: #2196F3;
}

.list {
    font-size: 15px;
}

.list li {
    margin-bottom: 10px; /* Change to desired spacing */
}

/* #fileList {
    list-style: none;
    padding: 0;
}
#fileList li {
    margin-bottom: 5px;
} */