
#chatbot-ai {

    & {
        position: fixed;
        bottom: 0;
        right: 20px;
        z-index: 9000;
    }

    @media (min-width: 576px) {
        & {
            right: 30px;
        }
    }

    .title-container {
        background: var(--g-color-blue);
        padding: 16px 16px 8px 16px;
        border-top-left-radius: var(--g-btn-radius);
        border-top-right-radius: var(--g-btn-radius);
        margin-bottom: 0;
    }

    .title-container .title {
        font-weight: bold;
        color: white;
        margin-bottom: 10px;
    }

    .chatbot-form {
        width: 310px;
        max-width: 90vw;
    }

    textarea,
    input,
    select {
        width: 100%;
        margin-bottom: 14px;
        padding: 8px;
    }

    .chatbot-teaser-contianer {
        background-color: #e88225;
        padding: 10px 18px;
        cursor: pointer;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 177px;
        border-top-left-radius: var(--g-btn-radius);
        border-top-right-radius: var(--g-btn-radius);
        display: flex;
        justify-content: right;
        align-items: center;
    }

    .chatbot-teaser-contianer.chatbot-open {
        display: none;
    }

    @media (min-width: 768px) {
        .chatbot-teaser-contianer {
            padding: 14px 20px;
            width: 242px;
        }
    }

    .chatbot-label {
        color: white;
        font-size: 21px;
        font-weight: 600;
        padding-right: 15px;
        padding-bottom: 0;
    }

    @media (min-width: 768px) {
        .chatbot-label {
            font-size: 28px;
            padding-right: 26px;
            padding-bottom: 6px;
        }
    }

    .chatbot-button {
        border-radius: 50%;
        border: 2px solid black;
    }


    .chatbot-button img {
        width: 33px;
    }

    @media (min-width: 768px) {
        .chatbot-button img {
            width: 46px;
        }
    }

    .chatbot-button.chatbot-open {
        right: calc(100% - 50px);
        top: -56px;
        display: none;
    }

    .chatbot-button.chatbot-open img {
        width: 45px;
    }

    .btn-primary {
        box-shadow: none !important;
        background-color: #042276;
        border-color: #031a5c;
        color: white;
    }

    .btn-primary:focus, .btn-primary:hover,
    .btn-primary:not(:disabled):not(.disabled).active,
    .btn-primary:not(:disabled):not(.disabled):active:focus {
        background-color: #0062cc;
        border-color: #0062cc;
        box-shadow: none;
    }

    .btn-primary.disabled {
        pointer-events: none;
    }

    .btn-faq {
        box-shadow: none !important;
        background-color: #e88225;
        border-color: #d97b23;
        color: white;
        font-size: 13px;
        padding: 0 10px;
        border-radius: .25rem;
    }

    .btn-faq:focus, .btn-faq:hover,
    .btn-faq:not(:disabled):not(.disabled).active,
    .btn-faq:not(:disabled):not(.disabled):active:focus {
        background-color: #fd1516;
        border-color: #fd1516;
        box-shadow: none;
    }

    #chatbot-submit {
        color: #fff;
        background-color: var(--g-color-blue);
        border-color: var(--g-color-blue);
        transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    }

    #chatbot-submit:hover {
        box-shadow: none !important;
        background-color: #fd1516;
        border-color: #d40202;
    }

    .chatbot-body {
        background: white;
        padding: 15px 0 15px 15px;
        border: 1px solid #ced4da;
        border-bottom: none;
    }

    #chatbot-nav {
        background: white;
        padding: 0.9rem 1rem;
        border: 1px solid #ced4da;
    }

    .chatbot-body-inner {
        max-height: calc(100vh - 400px);
        overflow: auto;
        padding-right: 15px;
    }

    #chatbot-close-btn {
        position: absolute;
        top: -12px;
        right: -12px;
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        border-radius: 50%;
        transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
        box-shadow: none !important;
        background-color: #fd1516;
        border-color: #d40202;
        color: white;
    }

    #chatbot-close-btn:hover {
        background-color: black;
        border-color: black;
        box-shadow: none;
    }

    #chatbot-ai-btn {
        display: flex;
        background-color: black;
        color: white;
        padding: 12px 28px;
        border: none;
        border-radius: .25rem;
        cursor: pointer;
        font-size: 14px;
        height: 24px;
        justify-content: center;
        align-items: center;

    }

    #chatbot-ai-btn:hover {
        background-color: #333; /* Slightly lighter black on hover */
    }

    #recaptchaLogo {
        & {
            transform: scale(0.6);
            bottom: -10px;
            left: 0;
            position: absolute;
            transition: left 0.3s ease-in-out;
            /* height: 40px; */
            transform-origin: left;
        }

        #grecaptcha-badge {
            height: 1px !important;
        }
    }

    /*#chatbot-submit:hover ~ #recaptchaLogo {*/
    /*    left: 25px;*/
    /*}*/

    .submit-with-captcha {
        margin-bottom: 10px;
    }

}
