.container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    border-radius: 10px;
    height: 72%;
    overflow-y: auto;
}

.questions-list {
    flex: 1;
}

.questions-list button {
    display: block;
    margin: 5px 0 0 20px;
    padding: 10px;
    background-color: #1e90ff26;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
    font-size: .18rem;
}
.input-container{
    margin-top: .2rem;
    width: 100%;
}
.input-container input{
    width: 80%;
    margin: auto;
    height: 0.4rem;
    margin-left: .5rem;
    box-sizing: border-box;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.chat-container {
    width: 10rem;
    background-color: #131d41d1;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #0D2D60;
    display: flex;
    flex-direction: column;
    height: 7rem;
    position: relative;
    overflow: hidden;
    padding: 0px!important;
}

.close-button {
    width: .3rem;
    height: .3rem;
    line-height: .3rem;
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #ccc;
    padding: 0!important;
}

.chat-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    overflow-y: auto;
    /* background-color: #021574ba; */
    margin-top: 30px;
}

.message-bubble {
    padding: 10px;
    border-radius: 15px;
    margin: 5px 0;
    max-width: 70%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 18px;
}

.message-bubble pre {
    margin: 0;
    white-space: pre-wrap;
}

.user-message {
    align-self: flex-end;
    background-color: #2a4c8087;
}

.assistant-message {
    align-self: flex-start;
    background-color: #151735a8;
}

.input-area {
    display: flex;
    padding: 10px;
}

input {
    flex: 1;
    padding: 10px;
    border: 2px solid #1972CE;
    border-radius: 25px;
    margin-right: 10px;
    outline: none;
    background-color: #061635;
    color: #1E90FF;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    background-color: #1e90ff;
    color: white;
    cursor: pointer;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: auto;
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.ai-profile{
    position: absolute;
    right: 2.5rem;
    width: 1.8rem;
    height: 1.8rem;
    /* right: 1.5rem; */
    /* width: 3rem;
    height: 3rem; */
}
