.chatbot-area {
    position: fixed !important;
    z-index: 9999 !important;
    right: 24px !important;
    bottom: 24px !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: Arial, Helvetica, sans-serif;
}

.chatbot-area *,
.chatbot-area *::before,
.chatbot-area *::after {
    box-sizing: border-box;
}

.chatbot-area .chatprofile {
    display: inline-flex;
    min-width: 154px;
    min-height: 58px;
    align-items: center;
    gap: 11px;
    padding: 9px 16px 9px 10px;
    border: 0;
    border-radius: 18px;
    color: #172a3a;
    background: #fff;
    box-shadow: 0 8px 26px rgba(20, 42, 56, .2);
    cursor: pointer;
    text-align: left;
}

.chatbot-brand-mark {
    position: relative;
    display: inline-flex;
    width: 40px;
    height: 36px;
    flex: 0 0 40px;
    justify-content: center;
    align-items: center;
    border-radius: 11px;
    color: #fff;
    background: #07878b;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
}

.chatbot-brand-mark::after {
    position: absolute;
    bottom: -5px;
    left: 8px;
    width: 0;
    height: 0;
    border-top: 7px solid #07878b;
    border-right: 7px solid transparent;
    content: "";
}

.chatbot-launcher-copy,
.chatbot-panel-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chatbot-launcher-copy strong,
.chatbot-panel-title strong {
    color: #1d2c3b;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
}

.chatbot-launcher-copy small,
.chatbot-panel-title small {
    color: #078084;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.chatbot-area.expanded .chatprofile {
    display: none !important;
}

body .chatbot-area.expanded {
    width: min(390px, calc(100vw - 32px)) !important;
    overflow: hidden;
    border: 1px solid rgba(22, 53, 65, .1) !important;
    background: #fff !important;
    box-shadow: 0 14px 42px rgba(18, 38, 52, .24) !important;
}

.chatbot-panel-header {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 11px;
    padding: 14px 15px;
    border-bottom: 1px solid #e8edef;
    background: #fff;
}

.chatbot-panel-header .chatbot-brand-mark {
    width: 40px;
    height: 36px;
}

.chatbot-close,
#zerosvg.chatbot-close {
    position: static !important;
    display: inline-flex;
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #546372;
    background: transparent;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    opacity: 1 !important;
    cursor: pointer;
}

.chatbot-close:hover,
.chatbot-close:focus {
    color: #172a3a;
    background: #f0f4f5;
    outline: none;
}

.chatbot-area .demo-widget-body {
    padding: 0 14px 14px;
    background: #fff;
}

.chatbot-area #chatbot {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-area #chatbot-message {
    display: flex !important;
    width: 100% !important;
    max-height: min(350px, 44vh) !important;
    min-height: 136px;
    flex-direction: column;
    gap: 10px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 15px 3px 4px !important;
    border: 0 !important;
    background: #fff !important;
    scrollbar-color: #c9d6d9 transparent;
    scrollbar-width: thin;
}

.chatbot-area #chatbot-message p.chatbot-welcome {
    align-self: flex-start;
    max-width: 92%;
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 4px 15px 15px 15px;
    color: #354653 !important;
    background: #f0f5f6;
    font-size: 13px;
    line-height: 1.5;
}

.chatbot-area #chatbot-message p.from-bot,
.chatbot-area #chatbot-message p.from-user {
    display: flex !important;
    width: 100% !important;
    float: none !important;
    align-items: flex-start;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.chatbot-area #chatbot-message p.from-bot {
    justify-content: flex-start;
    color: #263a49 !important;
}

.chatbot-area #chatbot-message p.from-user {
    justify-content: flex-end;
    text-align: right !important;
}

.chatbot-area #chatbot-message p.from-bot > .user {
    display: none !important;
}

.chatbot-area #chatbot-message .msg,
.chatbot-area #chatbot-message p.from-user span.msg,
.chatbot-area #chatbot-message p.from-bot span.msg {
    position: static !important;
    display: inline-block !important;
    width: auto !important;
    max-width: 88% !important;
    float: none !important;
    margin: 0 !important;
    padding: 10px 13px !important;
    border: 0 !important;
    border-radius: 14px !important;
    color: #263a49 !important;
    background: #f0f5f6 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: left !important;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.chatbot-area #chatbot-message p.from-bot span.msg {
    border-top-left-radius: 4px !important;
}

.chatbot-area #chatbot-message p.from-user span.msg {
    border-top-right-radius: 4px !important;
    color: #fff !important;
    background: #087f83 !important;
}

.chatbot-area .chatbot-audience-label {
    display: flex !important;
    flex-direction: column;
    gap: 7px;
    margin: 0 !important;
    color: #455867;
    font-size: 12px !important;
    font-weight: 600;
}

.chatbot-area .chatbot-audience-label small {
    color: #86949d;
    font-size: 11px;
    font-weight: 400;
}

.chatbot-area .chatbot-audience-label select {
    width: 100% !important;
    max-width: none !important;
    height: 42px;
    margin: 0 !important;
    padding: 0 12px;
    border: 1px solid #d6dfe2 !important;
    border-radius: 9px !important;
    color: #40525f;
    background-color: #fff;
    font: inherit;
    font-size: 12px;
    outline: none !important;
}

.chatbot-area .chatbot-audience-label select:focus {
    border-color: #07878b !important;
    box-shadow: 0 0 0 3px rgba(7, 135, 139, .12);
}

.chatbot-area .chatbot-composer,
.chatbot-area .chatbot-composer .input-group {
    display: flex !important;
    width: 100% !important;
    align-items: stretch;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.chatbot-area .chatbot-composer input#chatbot-input {
    width: auto !important;
    min-width: 0;
    height: 44px;
    flex: 1 1 auto;
    float: none !important;
    margin: 0 !important;
    padding: 0 13px;
    border: 1px solid #d6dfe2 !important;
    border-radius: 9px !important;
    color: #263a49;
    background: #fff;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 13px;
}

.chatbot-area .chatbot-composer input#chatbot-input:focus {
    border-color: #07878b !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(7, 135, 139, .12) !important;
}

.chatbot-area .chatbot-composer .input-group-btn {
    display: flex !important;
    width: auto !important;
    flex: 0 0 auto;
    float: none !important;
}

.chatbot-area .chatbot-composer button#chatbot-submit {
    width: auto !important;
    min-width: 76px;
    height: 44px;
    margin: 0 !important;
    padding: 0 15px;
    border: 1px solid #087f83 !important;
    border-radius: 9px !important;
    color: #fff !important;
    background: #087f83 !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: background-color .15s ease, transform .15s ease;
}

.chatbot-area .chatbot-composer button#chatbot-submit:hover,
.chatbot-area .chatbot-composer button#chatbot-submit:focus {
    border-color: #06696c !important;
    background: #06696c !important;
}

.chatbot-area .chatbot-composer button#chatbot-submit:disabled,
.chatbot-area .chatbot-composer input#chatbot-input:disabled {
    opacity: .65;
    cursor: wait;
}

@media (max-width: 480px) {
    .chatbot-area {
        right: 14px !important;
        bottom: max(14px, env(safe-area-inset-bottom)) !important;
    }

    body .chatbot-area.expanded {
        width: calc(100vw - 28px) !important;
    }

    .chatbot-area #chatbot-message {
        max-height: min(42vh, 310px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chatbot-area *,
    .chatbot-area *::before,
    .chatbot-area *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
