
#chatbot-toggle-button {
    position: fixed;
    bottom: 50px;
  /*  right: 20px; */
    left: 20px;
 /*   background: #ffffff;  Nền trắng nhẹ */
    border-radius: 50%;
    padding: 10px;
 /*   box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
    cursor: pointer;
    z-index: 99999;
 /*   transition: box-shadow 0.3s ease; */
}

#chatbot-toggle-button:hover {
 /*   box-shadow: 0 6px 12px rgba(0,0,0,0.3); */
 /* transform: scale(1.5); */
 transform: none !important;
}

#chatbot-toggle-button img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}

#chatbot-container {
    position: fixed;
    bottom: 120px;
    left: 50px;
    width: 300px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    z-index: 99999;
    display: none; /* Ẩn ngay từ đầu */
    flex-direction: column;
}


#chatbot-header {
    background: #0073aa;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

#chatbot-messages {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: #f9f9f9;
}

.user-message {
    text-align: right;
    margin: 10px 0;
    padding: 8px;
    background: #dcf8c6;
    border-radius: 8px;
}

.bot-message {
    text-align: left;
    margin: 10px 0;
    padding: 8px;
    background: #e5e5ea;
    border-radius: 8px;
}

#chatbot-input {
    width: 75%;
    border: none;
    padding: 10px;
    border-top: 1px solid #ccc;
}

#chatbot-send {
    width: 25%;
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}
#chatbot-send:hover {
    background: #005d8a;
}
.label-user {
    color: #007bff; /* Xanh dương nhẹ */
    font-weight: bold;
}
.label-bot {
    color: #f39c12; /* Cam đẹp */
    font-weight: bold;
}
#chatbot-userinfo-form input {
    width: 90%;
    margin: 5px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#chatbot-userinfo-form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
}
#chatbot-userinfo-form button:hover {
    background-color: #0056b3;
}

