/* ---------------------------
   Estilos do botão flutuante
---------------------------- */
#airis-botao {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    animation: pulse 2s infinite;
}

    #airis-botao img {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        border: 3px solid #5a3ed3;
        box-shadow: 0 0 10px #5a3ed3;
        background-color: #fff;
    }

/* Animação de destaque */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(90, 62, 211, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(90, 62, 211, 0);
    }

    100% {
        transform: scale(1);
    }
}

/* ---------------------------
   Estilos do Modal de Chat
---------------------------- */
.chat-modal {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 440px;
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 2000;
    font-family: 'Segoe UI', sans-serif;
}

.chat-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Header do Chat */
.chat-header {
    background-color: #5a3ed3;
    color: white;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    /* Botão fechar (X) */
    .chat-header .fechar {
        font-size: 20px;
        cursor: pointer;
    }

/* Área de mensagens */
.chat-mensagens {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: #121212;
    color: white;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .chat-mensagens .msg-usuario {
        align-self: flex-end;
        background-color: #5a3ed3;
        padding: 8px 12px;
        border-radius: 10px;
        max-width: 80%;
        color: white;
    }

    .chat-mensagens .msg-airis {
        align-self: flex-start;
        background-color: #333;
        padding: 8px 12px;
        border-radius: 10px;
        max-width: 80%;
        color: #eee;
    }

/* Campo de entrada e botão */
.chat-input {
    display: flex;
    border-top: 1px solid #444;
}

    .chat-input input {
        flex: 1;
        padding: 12px;
        font-size: 14px;
        background-color: #1e1e1e;
        border: none;
        color: white;
        outline: none;
    }

    .chat-input button {
        background-color: #5a3ed3;
        color: white;
        border: none;
        padding: 12px 16px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .chat-input button:hover {
            background-color: #4932a3;
        }
