#chat-container { width: 100%; min-height: 100vh; /*max-width: 600px;*/ margin: auto; font-family: "Roboto", Sans-serif;}
#chat-history { height: calc(100vh - 250px); overflow-y: auto; padding: 20px; background-color: rgba(0,0,0,0.5); border-top-left-radius: 10px; border-top-right-radius: 10px;display: flex;flex-direction: column;}
.user-message { background: #4a4c4f; color: white; padding: 8px; margin: 5px; border-radius: 5px; text-align: left; max-width: 80%; display: block; align-self: end; zoom: 0.85;}
.assistant-message { /*background: #e7f7d1;*/ padding: 8px; margin: 5px; border-radius: 5px; text-align: left; max-width: 80%; display: block; align-self: start; color: #aadafa; zoom: 0.85;}
.error-message { background: #fdd1d1; color: red; padding: 8px; margin: 5px; border-radius: 5px; zoom: 0.85;}

#chat-container a{
    color: #fcf192;
    text-decoration: underline;
}


/* Animation de chargement */
.loading-message {
    align-self: center;
    font-style: italic;
    color: white;
}

/* Champ de saisie */
#openai-chat-form {
    display: flex;
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,0.5);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
}

#loading{
    position: absolute;
    margin-top: -40px;
    margin-left: 20px;
    color: white;
}

#message {
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
    resize: none;
    height: 50px;
}

#send-message, .gptButton {
    background: black;
    color: white;
    border: none !important;
    padding: 10px 15px;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 5px !important;
}

#send-message:hover, .gptButton:hover {
    background: #0056b3 !important;
    color: white !important;
}

