﻿#chatWidget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    font-family: Inter, sans-serif;
}

/* FLOATING BUTTON */
.chat-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1f1f1f; /* LIGHT BLACK */
    color: #fff;
    padding: 14px 18px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0,0,0,.35);
    transition: background .3s ease;
}

    .chat-cta:hover {
        background: #2a2a2a;
    }

.chat-icon {
    font-size: 22px;
}

.chat-text {
    font-weight: 600;
}

/* CHAT BOX */
#chatBox {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    height: 460px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,.35);
    overflow: hidden;
}

/* HEADER */
.chat-header {
    background: #1f1f1f; /* LIGHT BLACK */
    color: #fff;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#closeChat {
    cursor: pointer;
}

/* BODY */
.chat-body {
    height: calc(100% - 120px);
    overflow-y: auto;
    padding: 12px;
}

/* BOT MESSAGE */
.bot-msg {
    background: #f1f1f1;
    color: #111;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 6px;
}

/* USER MESSAGE */
.user-msg {
    background: #1f1f1f; /* LIGHT BLACK */
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 6px;
    text-align: right;
}

/* INPUT */
.chat-input {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    border-top: 1px solid #eee;
}

    .chat-input input {
        flex: 1;
        border: none;
        padding: 12px;
        outline: none;
    }

    .chat-input button {
        border: none;
        background: #1f1f1f; /* LIGHT BLACK */
        color: #fff;
        padding: 0 16px;
        cursor: pointer;
        transition: background .3s ease;
    }

        .chat-input button:hover {
            background: #2a2a2a;
        }
