:root {
    --accent: #12c2a1;
    --bot-bg: #ffffff;
    --user-bg: #12c2a1;
    --muted: #9aa6ae;
    --panel: #f7f7f7;
    --card: #fff;
}

#block-crmdoctor-crmchatbot {
    position: fixed;
    right: 20px;
    bottom: 95px;
    z-index: 10;
}

#crm-chatbot-icon, #crm-chatbot-close {
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #33ed88;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

#crm-chatbot-icon img, #crm-chatbot-close img {
    width: 30px;
}

.chat-shell {
    width: 380px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    background: var(--card)
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--green-color);
    /* background: linear-gradient(90deg, var(--accent), #06b6a4); */
    color: var(--blue-color);
}

.bot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent)
}

.header-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--blue-color);
}

.header-sub {
    font-size: 12px;
    color: var(--blue-color);
}

.chat-body {
    height: 300px;
    padding: 14px;
    overflow: auto;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(#f8fafb, #f7f7f7)
}

.bubble {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 90%;
    margin-bottom: 12px;
    line-height: 1.35;
    position: relative
}
.chat-message,
.chat-contact {
    margin-bottom: 10px;
}
.chat-message {
    line-height: 24px;
}
.pricingenqform .form-item {
    border-bottom: 1px solid #d3d2d2;
}
.pricingenqform .form-item input {
    border-bottom: none;
}

.msg-bot {
    background: var(--bot-bg);
    border: 1px solid #e6eef0;
    color: #033;
    align-self: flex-start;
    clear: both;
    display: block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-family: "Poppins", sans-serif;
}
.bubble.msg-bot.msg-input {
    border-top-right-radius: 4px;
}
.bubble.msg-bot.msg-output {
    border-top-left-radius: 4px;
}

.msg-user {
    background: var(--user-bg);
    color: #fff;
    margin-left: auto
}

.meta {
    font-size: 11px;
    color: var(--muted);
    margin-top: 6px
}

.actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    font-size: 13px;
}
.form-item-appointment-title {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}
.booking-form .form-item {
    border-bottom: 1px solid #c1bfbf;
    padding: 10px 13px;
}
.booking-form .form-item input {
    outline: none;
}

.quick-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    text-align: left;
    margin-bottom: 10px;
    font-size: 14px;
}

.chat-footer {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: transparent;
    border-top: 1px solid #eee
}

.text-input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 20px;
    border: 1px solid #ddd;
    outline: none
}

.send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 18px;
    cursor: pointer
}

.mic-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer
}

.speaker-icon {
    margin-left: 8px;
    font-size: 18px;
    color: var(--accent);
    cursor: pointer
}

.loading {
    display: inline-block;
    color: var(--muted);
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 10px;
    background: linear-gradient(90deg, #f2f7f7, #f9fbfb);
    border: 1px solid #eef6f5
}

/* small responsive */
@media (max-width:420px) {
    .chat-shell {
        width: 92vw
    }
}