/** BreezChat by ChatGPT | Breezlab Team | https://chat.breezlab.ai */

body button.chatbot-toggler {
    position: fixed;
    bottom: 20px;
    right: 20px;
    outline: 0;
    border: none;
    height: 70px;
    width: 70px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1979c3;
    transition: .2s;
    z-index: 99
}

body button.chatbot-toggler:hover,
button.chatbot-toggler:hover {
    background: #1979c3;
    opacity: .9;
    border: unset
}

.chatbot,
.chatbot-toggler span:last-child,
body.show-chatbot .chatbot-toggler span:first-child {
    opacity: 0
}

body.show-chatbot .chatbot-toggler {
    transform: rotate(90deg)
}

.chatbot-toggler span {
    color: #fff;
    position: absolute
}

body.show-chatbot .chatbot-toggler span:last-child {
    opacity: 1;
    font-size: 35px
}

.chatbot {
    position: fixed;
    right: 100px;
    bottom: 100px;
    width: 420px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    pointer-events: none;
    transform: scale(.5);
    transform-origin: bottom right;
    box-shadow: 0 0 128px 0 rgb(0 0 0 / .1), 0 32px 64px -48px rgb(0 0 0 / .5);
    transition: .1s
}

body.show-chatbot .chatbot {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    z-index: 999999
}

.chatbot header {
    padding: 15px 0;
    position: relative;
    text-align: center;
    color: #fff;
    background: #1979c3;
    box-shadow: 0 2px 10px rgb(0 0 0 / .1);
    cursor: pointer
}

.chatbot header span {
    position: absolute;
    right: 15px;
    top: 50%;
    display: none;
    cursor: pointer;
    transform: translateY(-50%)
}

.chatbot header p {
    font-size: 15px;
    line-height: 21px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    padding: 0
}

.chatbot .chatbox {
    overflow-y: auto;
    height: 485px;
    margin-top: 0;
    padding: 30px 20px;
    box-sizing: border-box
}

.chatbot :where(.chatbox, textarea)::-webkit-scrollbar {
    width: 6px
}

.chatbot :where(.chatbox, textarea)::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 25px
}

.chatbot :where(.chatbox, textarea)::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 25px
}

.chatbot .chatbox .chat {
    display: flex;
    list-style: none;
    align-items: center
}

.chatbot .chatbox .outgoing {
    margin: 0;
    justify-content: flex-end
}

.chatbot .chatbox .incoming span {
    width: 32px;
    height: 32px;
    color: #fff;
    cursor: default;
    text-align: center;
    line-height: 32px;
    align-self: flex-end;
    background: #1979c3;
    border-radius: 4px;
    margin: 0 10px 7px 0
}

.chatbot .chatbox .chat p.message {
    padding: 12px 16px;
    border-radius: 10px 10px 0;
    max-width: 80%;
    color: #fff;
    font-size: .95rem;
    background: #1979c3
}

.chatbot .chatbox .chat p.message.error,
.chatbot .chatbox .incoming p.message.error {
    color: #721c24;
    background: #f8d7da
}

.chatbot .chatbox .incoming p.message {
    border-radius: 10px 10px 10px 0;
    color: #000;
    background: #f2f2f2;
    font-size: 15px;
    line-height: 21px;
    font-weight: 400;
    word-break: break-word
}

.chatbot .chatbox .incoming p.message strong {
    font-weight: 600
}

.chatbot .chatbox .incoming p.message p {
    margin: 0
}

.chatbot .chatbox .incoming p.message ol,
.chatbot .chatbox .incoming p.message ul {
    padding-bottom: 0;
    padding-top: 0;
    margin: 10px 0;
    padding-inline-start: 20px
}

.chatbot .chatbox .incoming p.message li {
    padding-bottom: 0;
    padding-top: 0;
    margin-bottom: 10px;
    margin-top: 10px
}

.chat.incoming p img,
.chatbot .chatbox .incoming p.message img {
    width: 90%;
    margin: 15px 0 0
}

.chatbot .chatbox .incoming p.message h1 {
    font-weight: 500;
    line-height: 21px;
    margin: 10px 0
}

.chatbot .chatbox .incoming p.message h2 {
    font-weight: 500;
    line-height: 20px;
    margin: 10px 0
}

.chatbot .chatbox .incoming p.message h3 {
    font-weight: 500;
    line-height: 19px;
    margin: 10px 0
}

.chatbot .chatbox .incoming p.message h4 {
    font-weight: 500;
    line-height: 18px;
    margin: 10px 0
}

.chatbot .chatbox .incoming p.message h5 {
    font-weight: 500;
    line-height: 17px;
    margin: 10px 0
}

.chatbot .chat-input {
    display: flex;
    gap: 5px;
    background: #fff;
    padding: 10px 20px;
    border-top: 1px solid #ddd;
    align-items: center;
    position: relative;
    bottom: 0
}

.chatbot .chat-footer {
    padding: 5px;
    background: #fafafa
}

.chatbot .chat-footer a {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    text-decoration: none
}

.chatbot .chat-footer .icon-footer {
    width: 20px;
    margin-right: 5px
}

.chatbot .chat-footer p {
    margin: 0;
    padding: 0;
    color: #787878;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400
}

.chat-input textarea,
.chat.outgoing p {
    font-size: 15px;
    line-height: 21px;
    font-weight: 400
}

.chat-input textarea {
    width: 100%;
    border: none;
    resize: none;
    max-height: 60px;
    padding: 15px;
    background-color: transparent
}

.chat-input textarea:focus-visible {
    outline: #68a8e0 auto 1px
}

.chat-input span {
    align-self: center;
    color: #1979c3;
    cursor: pointer;
    height: 55px;
    display: flex;
    align-items: center;
    visibility: hidden;
    font-size: 25px !important
}

.chat-input span.disabled {
    pointer-events: none
}

.chat-input textarea:valid~span {
    visibility: visible
}

.chatbot img.icon-openai {
    width: 32px;
    height: 32px;
    margin-right: 10px
}

body.show-chatbot .chatbot-toggler .text-box,
body.show-chatbot .chatbot-toggler svg {
    display: none
}

button.chatbot-toggler {
    background: #1979c3;
    border: unset
}

.chatbot-toggler svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%
}

.chatbot-toggler span.text-box {
    position: absolute;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #fff;
    line-height: 1
}

select:not([disabled]):focus,
textarea:not([disabled]):focus {
    box-shadow: 0 0 3px 1px #68a8e0
}

@media only screen and (max-width:1280px) {
    .chatbot {
        right: 100px;
        bottom: 25px
    }

    .chatbot .chatbox {
        height: 410px;
        padding: 30px 20px
    }
}

@media only screen and (max-width:540px),
only screen and (max-height:650px) {
    html:has(body.show-chatbot) {
        overflow-x: hidden;
        height: 100%
    }

    body.show-chatbot {
        overflow-x: hidden;
        height: 100%
    }

    .chatbot-toggler {
        right: 20px;
        bottom: 20px
    }

    .chatbot {
        right: 0;
        bottom: 0;
        height: 100%;
        border-radius: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between
    }

    .chatbot .chatbox {
        height: 100%;
        padding: 25px 15px
    }

    .chatbot .chat-input {
        padding: 15px;
        height: 100%;
        max-height: 100px
    }

    .chatbot header span {
        display: block
    }

    .chat-input textarea {
        height: 100% !important;
        max-height: 60px;
        padding: 10px;
        font-size: 16px
    }
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.chat.incoming p a {
    word-break: break-word
}