#chat-launcher{
    position: fixed;
    bottom: 20px;
    right: 20px;

    display: flex;
    align-items: center;

    cursor: pointer;
    z-index: 999999;
}

/* Blue bubble */
.chat-label{
    background: #000000;
    color: #fff;

    padding: 10px 18px;

    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 8px;

    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;

    position: relative;
    z-index: 2;

    margin-right: -20px;
    margin-top: -99px;
}
/* Tail */
.chat-label::after{
    content: '';

    position: absolute;

    right: -6px;
    bottom: 1px;

    width: 14px;
    height: 10px;

    background: #000000;

    transform: rotate(60deg);

    border-radius: 0 0 8px 0;
}

/* Avatar */
.chat-avatar{
    width: 72px;
    height: 72px;

    border-radius: 50%;

    overflow: hidden;

    border: 1px solid #7a7a7a;
    background: #fff;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}



.chat-avatar img{
    width: 80%;
    height: 80%;
    object-fit: cover;
}

/* Online dot */
.online-dot{
    position: absolute;

    top: 6px;
    right: 2px;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: #28c840;
    border: 2px solid #fff;
}

#chat-window{
    position: fixed;

    right: 20px;
    bottom: 50px;

    width: 520px;
    height: 700px;

    background: #fff;

    border-radius: 20px;

    display: none;

    overflow: hidden;

    z-index: 999999;

    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.chat-header{
    height:75px;

    background:#e0f0ff;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 15px;
}

.chat-header-left{
    display:flex;
    align-items:center;
}

.chat-header-avatar{
    width:45px;
    height:45px;

    border-radius:50%;
     border: 1px solid #7a7a7a;

    margin-right:10px;

    background:#fff;
}

.chatbot-name{
    color:#000;
    font-weight:700;
    font-size:16px;
    line-height: 1.1;
    margin-bottom: 2px;
}

.chatbot-status{
    color:#000;
    font-size:12px;
    line-height: 1;
    margin-top: 0;
}

.chat-header-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.chat-header-actions button{
    border:none;
    background:none;
    color:#000;
    cursor:pointer;
}

.chat-header-actions i{
    font-size:22px;
}

#close-chat{
    background:none;
    border:none;
    color:white;
    font-size:24px;
    cursor:pointer;
}

#close-chat i {
    color: #000;
    font-size: 20px;
}

.chat-body{
    height:565px;
    overflow-y:auto;
    padding:15px;
    background:#f5f5f5;
}


.chat-footer{
    height:60px;
    display:flex;
    border-top:1px solid #eee;
}

.chat-footer input{
    flex:1;
    border:none;
    padding:15px;
    outline:none;
}

.chat-footer button{
    width:60px;
    border:none;
    background:#0A84FF;
    color:white;
}
.message-row{
    width:100%;
    display:flex;
    margin:10px 0;
}

.user-row{
    justify-content:flex-end;
}

.bot-row{
    justify-content:flex-start;
}

.user-message{
    background:#2186eb;
    color:#fff;
    padding:12px 16px;
    border-radius:18px 18px 0 18px;
    max-width:75%;
    word-break:break-word;
}

.bot-message{
    background:#fff;
    color:#333;
    padding:12px 16px;
    border-radius:18px 18px 18px 0;
    max-width:75%;
    word-break:break-word;
}
.options-wrapper{
    margin-top:10px;
}

.options-container{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.option-chip{
    background:#EAF4FF;
    border:1px solid #6cb2f8;
    color:#1E6FD9;

    padding:8px 14px;

    border-radius:20px;

    font-size:13px;
    font-weight:600;

    cursor:pointer;
}

.chat-contact-form{
    margin-top:15px;
}

.chat-contact-form input{

    width:100%;
    padding:10px;
    margin-bottom:10px;

    border:1px solid #ddd;

    border-radius:8px;

    outline:none;

    box-sizing:border-box;
}

.chat-contact-form button{

    width:100%;

    padding:10px;

    border:none;

    border-radius:8px;

    background:#16a34a;

    color:#fff;

    cursor:pointer;

    font-weight:600;
}

.chat-options, .chat-question {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.chat-option {
    padding: 8px 14px;
    border: 1px solid #6f63ff;
    border-radius: 18px;
    background: #fff;
    color: #6f63ff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    width: auto;
}

.chat-option:hover, .chat-question:hover {
    background: #6f63ff;
    color: #fff;
}

.chat-question {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #7b61ff;
    border-radius: 18px;
    background: #fff;
    color: #7b61ff;
    cursor: pointer;
    transition: 0.25s;
}

.chat-question:hover {
    background: #7b61ff;
    color: #fff;
}


.chat-quotation-form{
    margin-top:15px;
}

.chat-quotation-form input,
.chat-quotation-form select{

    width:100%;
    padding:10px;
    margin-bottom:10px;

    border:1px solid #ddd;
    border-radius:8px;

    outline:none;
    box-sizing:border-box;
}

.chat-quotation-form button{

    width:100%;
    padding:10px;

    border:none;
    border-radius:8px;

    background:#16a34a;
    color:#fff;

    font-weight:600;
    cursor:pointer;
}

.chat-back-main,
.chat-back-previous{
    display: inline-block;

    margin-top: 10px;

    padding: 8px 14px;

    border: 1px solid #7b61ff;
    border-radius: 18px;

    background: #fff;
    color: #7b61ff;

    font-size: 18px;
    font-weight: 500;

    cursor: pointer;

    transition: 0.25s;
}

.chat-back-main:hover,
.chat-back-previous:hover{
    background: #7b61ff;
    color: #fff;
}

.chat-back-previous{
    padding: 8px 14px;
    border: 1px solid #7b61ff;
    border-radius: 18px;
    background: #fff;
    color: #7b61ff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: .25s;
}

.chat-back-previous:hover{
    background: #7b61ff;
    color: #fff;
}

.header-btn {
    position: relative;
}

.header-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 9999;
}

.header-btn:hover::after {
    opacity: 1;
    visibility: visible;
}