/* lb-chatbot-style.css */

#lb-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #E50914; /* ROSSO NETFLIX */
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

#lb-chatbot-container:hover {
    background-color: #B20710; /* Rosso Netflix più scuro */
}

#lb-chatbot-container .uk-icon {
    width: 30px;
    height: 30px;
    color: white;
}

.lb-chatbot-modal .uk-modal-dialog {
    width: 400px;
    max-width: 90%;
    border-radius: 8px;
    overflow: hidden;
}

.lb-chatbot-messages {
    height: 400px;
    overflow-y: auto;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
}

.lb-chatbot-message {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 90%;
    line-height: 1.4;
}

.lb-chatbot-message.user {
    background-color: #e0e0e0;
    color: #333;
    align-self: flex-end;
    margin-left: auto;
}

.lb-chatbot-message.bot {
    background-color: #E50914; /* ROSSO NETFLIX */
    color: white;
    align-self: flex-start;
    margin-right: auto;
}

/* === INIZIO BLOCCO MODIFICATO === */

/* 1. Regola per allargare i messaggi che contengono le tabelle delle tariffe */
.lb-chatbot-message.bot.lb-tariff-info {
    max-width: 100%;
    background-color: transparent; /* Rende la "bolla" del messaggio trasparente */
    padding: 0;
}

/* 2. Regola per non mandare a capo il testo nelle celle della tabella */
.lb-chatbot-message .uk-table th,
.lb-chatbot-message .uk-table td {
    white-space: nowrap;
}

.lb-chatbot-message .uk-table {
    background-color: white;
    color: #333;
    border-radius: 5px;
}
.lb-chatbot-message .uk-table th {
    color: #333;
}

/* === FINE BLOCCO MODIFICATO === */


.lb-chatbot-input {
    padding: 15px;
    display: flex;
    gap: 10px;
    background: #f9f9f9;
}

.lb-chatbot-input input[type="text"] {
    flex-grow: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    background-color: #fff;
    color: #333;
}

.lb-chatbot-input button {
    border-radius: 20px;
    background-color: #E50914; /* ROSSO NETFLIX */
    color: white;
}
.lb-chatbot-input button:hover {
    background-color: #B20710; /* Rosso Netflix più scuro */
}

.lb-chatbot-quick-replies {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
}

.lb-chatbot-quick-replies button {
    margin-top: 5px;
    margin-right: 5px;
    background-color: white;
    border: 1px solid #E50914; /* ROSSO NETFLIX */
    color: #E50914; /* ROSSO NETFLIX */
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 0.875rem;
}

.lb-chatbot-quick-replies button:hover {
    background-color: #E50914; /* ROSSO NETFLIX */
    color: white;
}

/* Stili per le card delle operatrici dentro il chatbot */
.lb-chatbot-suggestions .uk-card-secondary {
    background: #fff;
    color: #666;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.lb-chatbot-suggestions .labelnome, .lb-chatbot-suggestions .uk-h3 {
    color: #E50914 !important; /* ROSSO NETFLIX */
}