body {
    font-family: Calibri, sans-serif;
    background: #ADD8E6;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    margin: 0;
    padding: 0;
}

header {
    background-color: #2A2A2A;
    color: white;
    padding: 15px;
    text-align: center;
}

.site-name {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-name .logo {
    height: 40px;
    margin-right: 10px;
}

.main-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 10px;
}

.chat-column {
    flex: 2;
}

.chat-container {
    background: white;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 70vh;
}

.messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    border-bottom: 1px solid #6998AD;
    background-color: #F5F5F5;
    scrollbar-width: thin;
}

.messages::-webkit-scrollbar {
    width: 8px;
}

.messages::-webkit-scrollbar-thumb {
    background: #6998AD;
    border-radius: 10px;
}

.message {
    margin: 5px 0;
    padding: 10px;
    border-radius: 10px;
    max-width: 75%;
}

.user-message {
    background-color: #6998AD;
    color: white;
    align-self: flex-end;
}

.ia-message {
    background-color: #2A2A2A;
    color: white;
    align-self: flex-start;
}

.chat-form {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-top: 1px solid #6998AD;
}

.button-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.chat-form button, .voice-button {
    background-color: #2A2A2A;
    border: none;
    padding: 10px 15px;
    color: white;
    border-radius: 20px;
    cursor: pointer;
}

.chat-form button:hover, .voice-button:hover {
    background-color: #6998AD;
}

#message-input {
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #6998AD;
    margin-bottom: 10px;
}

.info-column {
    flex: 1;
    background: #f9f9f9;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-box h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2A2A2A;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #2A2A2A;
}

footer {
    font-size: 12px;
    background-color: #2A2A2A;
    color: white;
    text-align: center;
    padding: 5px;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* S'assure que l'indicateur est caché correctement */
.waiting-indicator {
    display: none; /* Caché par défaut */
    font-size: 16px;
    color: #6998AD;
    text-align: center;
    margin-top: 10px;
}

/* Animation pour les points de suspension */
.dots::after {
    content: '';
    display: inline-block;
    animation: dots-animation 1s steps(3, end) infinite;
}

@keyframes dots-animation {
    0% { content: ''; }
    33% { content: '.'; }
    66% { content: '..'; }
    100% { content: '...'; }
}

/* Animation pour faire apparaître doucement l'indicateur */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
