.chat-toggle {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background-color: #007bff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    animation: pulse 1.5s infinite ease-in-out; /* Adiciona a animação de pulsação */
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.chat-icon {
    width: 30px;
    height: 30px;
    fill: white;
}

.chat-container {
    width: 250px;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    position: fixed;
    bottom: 90px;
    right: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

.chat-header {
    background-color: #f0f0f0;
    padding: 10px;
    display: flex;
    align-items: center;
}

.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.assistant-name {
    font-weight: bold;
}

.chat-messages {
    height: 250px;
    overflow-y: scroll;
    padding: 10px;
}

.message {
    padding: 10px 15px; /* Aumentei o padding para um espaçamento melhor */
    margin-bottom: 8px; /* Aumentei a margem inferior para mais espaço entre as mensagens */
    border-radius: 8px; /* Arredondei um pouco mais as bordas */
    display: inline-block;
    max-width: 80%; /* Aumentei a largura máxima */
    font-family: Arial, sans-serif; /* Defini a fonte como Arial */
    line-height: 1.6; /* Aumentei o espaçamento entre linhas */
}

.bot-message {
    background-color: #191970; /* Azul marinho */
    color: white;
    align-self: flex-start;
}

.user-message {
    background-color: #e0f7fa;
    align-self: flex-end;
}

.chat-input {
    display: flex;
    padding: 10px;
}

.chat-input input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.chat-input button {
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px;
}

.quick-reply-button {
    padding: 8px 12px;
    background-color: #e0f7fa;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

#close-chat {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: auto;
}