/* Floating Bubble */

#gmweb-chat-window,
#gmweb-chat-window * {
    font-family: Verdana  !important;
}
#gmweb-chat-window,
#gmweb-chat-window * {
    font-family: Verdana  !important;
}


#gmweb-chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
     background: var(--gmweb-chat-primary);
    border-radius: 50%;
    cursor: pointer;
    z-index: 99999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#gmweb-chat-bubble::before {
    content: "💬";
    font-size: 28px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Chat Window */
#gmweb-chat-window {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 350px;
    height: 450px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 99999;
    overflow: hidden;

    display: none;          /* Hidden by default */
    flex-direction: column; /* Will apply when opened */
}

/* Header */
#gmweb-chat-header {
     background: var(--gmweb-chat-primary);
    color: #fff;
    padding: 12px;
    font-weight: 600;
    flex: 0 0 auto;         /* Prevent resizing */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#gmweb-chat-close {
    cursor: pointer;
    font-size: 20px;
}

/* Messages area */
#gmweb-messages {
    flex: 1 1 auto;         /* Take remaining space */
    padding: 15px;
    overflow-y: auto;
    font-size: 14px;
}

/* Input area */
#gmweb-chat-input-wrap {
    flex: 0 0 auto;         /* Lock height */
    border-top: 1px solid #ddd;
    padding: 12px;
    background: #fff;
}

#gmweb-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.gmweb-powered-by {
    margin-top: 6px;
    font-size: 11px;
    text-align: center;
    color: #888;
}

.gmweb-powered-by a {
    color: #0073aa;
    text-decoration: none;
    font-size:10px;
}

.gmweb-powered-by a:hover {
    text-decoration: underline;
}

#gmweb-send-btn {
     background: var(--gmweb-chat-primary);
    color: #fff;
    border: none;
    padding: 0 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

#gmweb-send-btn:hover {
    background: var(--gmweb-chat-primary);
}

.gmweb-chat-link {
    color: var(--gmweb-chat-primary);
}


#gmweb-clear-btn {
    background:var(--gmweb-chat-primary);
    border: none;
	color: #fff;
    padding: 0 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

#gmweb-clear-btn:hover {
    background: #bbb;
}

#gmweb-chat-callout {
   font-family: Verdana  !important;
	position: fixed;
    bottom: 90px;
    right: 50px;
    background: #fff;
    color: #333;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
    max-width: 240px;
    display: none;
    font-size: 14px;
    z-index: 9998;
}

#gmweb-chat-callout:after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 25px;
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

#gmweb-callout-close {
    position: absolute;
    top: 6px;
    right: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #999;
}

#gmweb-callout-close:hover {
    color: #333;
}




/* ==========================
   INLINE MODE STYLES
========================== */

#gmweb-inline-chatbot #gmweb-chat-window {
	
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 800px;
    margin: 20px 0;

    box-shadow: none;
    border-radius: 0px;

    display: flex !important;
}

#gmweb-inline-chatbot #gmweb-chat-close {
    display: none !important;
}