/* =========================
   MESSAGE ICON
========================= */
#chatbot-icon {
       width: 58px;
    height: 58px;

    background: #C62828;
    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.25);

    cursor: pointer;

    position: relative;
}

#chatbot-icon:hover {
    transform: scale(1.08) !important;
}


/* =========================
   WHATSAPP ICON
========================= */
.whatsapp-icon {
    position: fixed;

    right: 20px;
    bottom: 80px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    z-index: 9999;

    box-shadow: 0px 6px 16px rgba(0,0,0,0.25);

    transition: all 0.3s ease;
}

.whatsapp-icon:hover {
    transform: scale(1.08);
}


/* =========================
   CONTACT BUTTON
========================= */
.contact-btn {
    position: fixed;

    right: 20px;
    bottom: 10px;

    z-index: 9999;

    box-shadow: 0px 6px 16px rgba(0,0,0,0.25);

    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: scale(1.03);
}


/* =========================
   CHATBOX
========================= */
#chatbot-box {
    position: fixed;

    right: 20px;
    bottom: 225px;

    width: 320px;
    height: 420px;

    background: #fff;

    border-radius: 14px;

    display: none;
    flex-direction: column;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.25);

    z-index: 99999;
}


/* =========================
   CHAT HEADER
========================= */
.chat-header {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);

    color: white;

    padding: 14px;

    font-size: 16px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================
   CHAT MESSAGES
========================= */
#chat-messages {
    flex: 1;

    padding: 12px;

    overflow-y: auto;

    background: #f8f9fb;

    font-size: 14px;
}

.user-msg {
    text-align: right;
    margin: 8px 0;
}

.bot-msg {
    text-align: left;
    margin: 8px 0;
}


/* =========================
   CHAT INPUT
========================= */
.chat-input {
    display: flex;

    border-top: 1px solid #ddd;

    background: white;
}

.chat-input input {
    flex: 1;

    padding: 12px;

    border: none;
    outline: none;

    font-size: 14px;
}

.chat-input button {
    background: #ff3b30;

    color: white;

    border: none;

    padding: 12px 16px;

    cursor: pointer;

    transition: 0.3s ease;
}

.chat-input button:hover {
    opacity: 0.9;
}


/* =========================
   ACTION BUTTONS
========================= */
.chat-actions {
    padding: 8px;

    text-align: center;

    background: #fff;
}

.chat-actions button {
    background: #f3f4f6;

    border: none;

    padding: 7px 12px;

    border-radius: 8px;

    cursor: pointer;

    transition: 0.3s ease;
}

.chat-actions button:hover {
    background: #e5e7eb;
}


/* =========================
   WELCOME POPUP
========================= */
#chatbot-popup {
     position: fixed;

    right: 90px;
    bottom: 210px;

    background: #fff;
    color: #222;

    padding: 12px 16px;

    border-radius: 14px;

    font-size: 14px;

    box-shadow: 0 4px 18px rgba(0,0,0,0.18);

    z-index: 99999;

    display: none;

    max-width: 320px;
}

#chatbot-popup span {
    margin-left: 8px;

    cursor: pointer;

    color: red;

    font-weight: bold;
}
.user-msg {
    text-align: right;
    margin: 10px 0;
    font-size: 15px;
}

.bot-msg {
    text-align: left;
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.5;
}