/* 🔹 Butonul de activare chatbot */
.chat-ai-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.chat-ai-button:hover {
    transform: scale(1.1);
}

/* 🔹 Container chatbot */
.chat-ai-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    height: 420px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

/* 🔹 Header chatbot */
.chat-ai-header {
    background: #007bff;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    position: relative;
}

/* 🔹 Buton de închidere */
.chat-ai-close {
    position: absolute;
    right: 10px;
    top: 5px;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* 🔹 Zona de mesaje */
.chat-ai-box {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 🔹 Mesaje */
.chat-ai-message {
    padding: 8px;
    border-radius: 10px;
    max-width: 80%;
}

.chat-ai-bot-message {
    background: #060708;
    color: white;
    align-self: flex-start;
}

.chat-ai-user-message {
    background: #28a745;
    color: white;
    align-self: flex-end;
    text-align: right;
}

/* 🔹 Zona de input */
.chat-ai-input-container {
    display: flex;
    padding: 10px;
    background: #f1f1f1;
}

.chat-ai-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.chat-ai-send-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 5px;
}
