#utzo-chat-widget,#utzo-chat-widget * {
    box-sizing: border-box;
}

#utzo-chat-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999999;
    font-family: Arial, Helvetica, sans-serif;
}

#utzo-chat-widget.utzo-chat-position-left {
    left: 24px;
    right: auto;
}

.utzo-chat-toggle {
    position: relative;
    width: 60px;
    height: 60px;
    right: 75px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 7px 24px rgba(0, 0, 0, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.utzo-chat-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.utzo-chat-icon {
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.utzo-chat-open + .utzo-chat-toggle .utzo-chat-icon {
    font-size: 22px;
    font-weight: 300;
}

.utzo-chat-box {
    position: absolute;
    bottom: 74px;
    width: 370px;
    /*height: 600px;*/
    right: 75px;
    max-width: calc(100vw - 30px);
    /*max-height: calc(100vh - 110px);*/
    background: #fff;
    /*border-radius: 16px;*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 45px rgba(0, 0, 0, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.98);
    transform-origin: bottom right;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    background-color: #F5F5FD;
}

.utzo-chat-position-left .utzo-chat-box {
    left: 0;
    right: auto;
    transform-origin: bottom left;
}

.utzo-chat-box.utzo-chat-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.utzo-chat-header {
    min-height: 62px;
    padding: 0 17px;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.utzo-chat-title {
    font-size: 17px;
    font-weight: 700;
}

.utzo-chat-close {
    /*width: 36px;
    height: 36px;*/
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 50px;
    line-height: 1;
}

.utzo-chat-messages {
    flex: 1;
    min-height: 0;
    padding: 16px;
    overflow-y: auto;
    background: #f7f8fa;
    height: 470px;
    max-height: 470px;
}

.utzo-chat-message {
    width: fit-content;
    max-width: 82%;
    margin: 0 0 10px;
    padding: 10px 13px;
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}

.utzo-chat-message-bot {
    background: #fff;
    color: #222;
    border: 1px solid #e7e7e7;
    border-bottom-left-radius: 4px;
}

.utzo-chat-message-user {
    margin-left: auto;
    background: #0d6efd;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.utzo-chat-message.utzo-chat-typing {
    opacity: .65;
    font-style: italic;
}

.utzo-chat-form {
    min-height: 66px;
    padding: 11px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
}

.utzo-chat-input {
    width: 86%;
    flex: 1;
    height: 44px;
    padding: 0 14px !important;
    border: 1px solid #ddd;
    border-radius: 23px;
    outline: none;
    background: #fff;
    color: #222;
    font-size: 14px;
}

.utzo-chat-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, .1);
}

.utzo-chat-send {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    cursor: pointer;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.utzo-chat-send:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.utzo-chat-loading span {
    animation: utzo-chat-spin .7s linear infinite;
}

@keyframes utzo-chat-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 576px) {
    #utzo-chat-widget,
    #utzo-chat-widget.utzo-chat-position-left {
        left: auto;
        right: 15px;
        bottom: 15px;
    }

    .Prompt{
        bottom: 65px !important;
        right: 0px !important;
    }

    .utzo-chat-toggle {
        width: 56px;
        height: 56px;
        right: 0px;
    }

    .utzo-chat-box,
    .utzo-chat-position-left .utzo-chat-box {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0px;
        width: auto;
        width: 100% !important;
        max-width: calc(100vw - 0px);
        max-height: calc(100vh - 0px);
        height: calc(100vh - 0px);
        /*max-width: none;
        max-height: none;*/
        /*border-radius: 14px;*/
        transform-origin: bottom center;
        z-index: 9;
    }

    #support_chat_window_step1 .TextInput__Textarea{
        height: 110px !important;
    }
}


/* =========================================
   UTZO CHAT - FIRST FORM
========================================= */

#utzo-chat-step1 {
    width: 100%;
    background-color: #F5F5FD;
}

#support_chat_window_step1 {
    width: 100%;
    margin: 0;
    padding: 0;
   /* background: #fff;*/
}

/* Welcome section */
#support_chat_window_step1 .SendSmsPage__FormContainer {
    padding: 10px 15px 10px;
}

#support_chat_window_step1 .welcome-text {
    display: flex;
    /*align-items: center;*/
    gap: 0px;
    margin-bottom: -20px;
}

/* Avatar */
/*#support_chat_window_step1 .img-cirle {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f4f8;
    border: 3px solid #fff;
    box-shadow:
        0 0 0 5px #edf3ff,
        0 3px 12px rgba(0, 0, 0, .12);

    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

#support_chat_window_step1 .img-cirle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}*/

/*#support_chat_window_step1 .img-cirle.bdr-ripple-ani-btn {
    border-radius: 50%;
    display: inherit;
    margin-top: 5px;
    overflow: hidden;
    width: 90px;
    height: 50px;
    border: 2px solid #ccc;
}*/

/* Welcome text */
#support_chat_window_step1 .SendSmsPage__TextInvitation {
    flex: 1;
}

#support_chat_window_step1 .localizedContent {
    /*color: #666;*/
    font-size: 14px;
    /*line-height: 1.55;*/
    font-weight: 400;
}

#support_chat_window_step1 .SendSmsPage__TextInvitation{
    margin-top: 5px;
 margin-bottom: 5px;
 margin-left: 9px;
    padding: 10px 15px;
    background: #e4e9f0;
    border-radius: 0px 30px 30px 30px;
}
.SubmittedMessage__SendStatus {
    display: flex;
    align-self: flex-end;
    width: 96px;
    }


/* =========================================
   FORM CONTENT
========================================= */

#support_chat_window_step1 .SendSmsPage__FormContent {
    padding: 20px 15px 0px !important;
}

/* Input wrapper */
#support_chat_window_step1 .TextInput {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
}

/* Inputs */
#support_chat_window_step1 .TextInput__Input,
#support_chat_window_step1 .TextInput__Textarea {
    width: 100%;
    height: 42px;
    padding: 8px 10px;
    border: 1px solid #d9dfe8;
    background: transparent;
    outline: none;
    color: #333;
    font-size: 14px;
    font-family: inherit;
    border-radius: 0;
    transition: border-color .2s ease;
}

/* Textarea */
#support_chat_window_step1 .TextInput__Textarea {
    height: 65px;
    min-height: 65px;
    resize: none;
    padding-top: 8px;
}

/* Focus */
#support_chat_window_step1 .TextInput__Input:focus,
#support_chat_window_step1 .TextInput__Textarea:focus {
    border-bottom-color: #4c76e0;
}

/* Floating label */
#support_chat_window_step1 .TextInput label {
    position: absolute;

    left: 0;
    top: 12px;

    color: #8b929d;

    font-size: 14px;
    font-weight: 400;

    pointer-events: none;

    transition:
        all .18s ease;

    background: #fff;
    padding-right: 4px;
}

/* Move label when input has value/focus */
#support_chat_window_step1
.TextInput__Input:focus ~ label,

#support_chat_window_step1
.TextInput__Input:not(:placeholder-shown) ~ label,

#support_chat_window_step1
.TextInput__Input:valid ~ label,

#support_chat_window_step1
.TextInput__Textarea:focus ~ label,

#support_chat_window_step1
.TextInput__Textarea:not(:placeholder-shown) ~ label,

#support_chat_window_step1
.TextInput__Textarea:valid ~ label {
    top: -7px;
    font-size: 11px;
    color: #4c76e0;
}

/* Since required fields can be valid even when empty,
   add JS/class if needed. */

/* Underline animation */
#support_chat_window_step1 .TextInput__Bar {
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #4c76e0;

    transform: translateX(-50%);

    transition: width .25s ease;
}

#support_chat_window_step1
.TextInput__Input:focus ~ .TextInput__Bar,

#support_chat_window_step1
.TextInput__Textarea:focus ~ .TextInput__Bar {
    width: 100%;
}


/* =========================================
   ERROR
========================================= */

#support-form-error {
    min-height: 18px;
    padding: 0 20px;

    color: #dc3545;
    font-size: 12px;
}


/* =========================================
   BOTTOM BUTTON AREA
========================================= */

#support_chat_window_step1 .SendSmsPage__ButtonFader {
    padding: 8px 20px 16px;
    /*background: #fff;*/
}

/* Terms */
#support_chat_window_step1 .Legal {
    text-align: center;
    margin-bottom: 10px;
}

#support_chat_window_step1 .Legal p {
    margin: 0;
    color: #9aa0aa;
    font-size: 14px;
    line-height: 1.4;
}


/* Button center */
#support_chat_window_step1 .SendSmsPage__Center {
    width: 100%;
    text-align: center;
}

/* Next button */
#support_chat_window_step1 .SendButton {
    width: 30%;
    height: 44px;

    border: 0;
    border-radius: 7px;

    background: #4c76e0;
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 4px 10px rgba(76, 118, 224, .22);

    transition:
        background .2s ease,
        transform .15s ease,
        box-shadow .2s ease;
}

#support_chat_window_step1 .SendButton:hover {
    background: #4266c2;
    box-shadow: 0 5px 14px rgba(76, 118, 224, .28);
}

#support_chat_window_step1 .SendButton:active {
    transform: translateY(1px);
}

/* Disabled */
#support_chat_window_step1 .SendButton:disabled {
    background: #b8c6e7;
    border-color: #b8c6e7;
    cursor: not-allowed;
    box-shadow: none;
}


.SendSmsPage__FormContent {
    width: 90%;
    opacity: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    background-color: #fff;
    border-radius: 24px 24px 3px 24px;
    margin: 0 16px 0 0;
    animation: innerBubbleGrow .2s ease forwards .2s;
    transform-origin: bottom right;
    z-index: 2;
    margin-left: 32px;
    margin-top: 30px;
}

/* Button center */
#utzo-chat-step2 .SendSmsPage__Center {
    width: 100%;
    text-align: center;
    display: none;
    margin-bottom: 15px;
}

/* Next button */
#utzo-chat-step2 .SendButton {
    width: 30%;
    height: 44px;

    border: 0;
    border-radius: 7px;

    background: #4c76e0;
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 4px 10px rgba(76, 118, 224, .22);

    transition:
        background .2s ease,
        transform .15s ease,
        box-shadow .2s ease;
}

#utzo-chat-step2 .SendButton:hover {
    background: #4266c2;
    box-shadow: 0 5px 14px rgba(76, 118, 224, .28);
}

#utzo-chat-step2 .SendButton:active {
    transform: translateY(1px);
}

/* Disabled */
#utzo-chat-step2 .SendButton:disabled {
    background: #b8c6e7;
    border-color: #b8c6e7;
    cursor: not-allowed;
    box-shadow: none;
}
/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    #support_chat_window_step1 .SendSmsPage__FormContainer {
        padding: 18px 16px 8px;
    }

    #support_chat_window_step1 .SendSmsPage__FormContent {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #support_chat_window_step1 .welcome-text {
        gap: 12px;
    }

    #support_chat_window_step1 .img-cirle {
        width: 52px;
        height: 52px;
        min-width: 52px;
    }

    #support_chat_window_step1 .localizedContent {
        font-size: 13px;
    }

    #support_chat_window_step1 .SendSmsPage__ButtonFader {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.input-error-msg{
    color: red;
    font-size: 13px;
}

.promt-popout {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: auto;
    height: auto;
    z-index: 9999;
}

.Prompt {
    animation: fadeIn .25s ease;
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    margin: 16px;
    width: 100%;
    padding-top: 20px;
    position: fixed;
    bottom: 77px;
    right: 90px;
    max-width: 285px !important;
    transition: 0.3s;
}

.Prompt__MessageBubble {
    border: 1px solid #e8e9eb;
    box-shadow: 0 8px 20px 0 rgba(0, 0, 0, .24);
    position: relative;
    background: #fff;
    border-radius: 13px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    max-width: 290px;
    padding: 20px;
    width: 100%;
    z-index: 99999;
}

.Prompt__MessageBubble::after {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: -6px;
    right: 18px;
    background: #fff;
    border-radius: 4px;
    z-index: -1;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.Prompt__PromptText {
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.4;
    width: 100%;
}

.localizedContent {
    font-size: 14px;
    white-space: normal !important;
}


.img-cirle {
    width: 60px;
    /*height: 60px;*/
    position: relative;
    border-radius: 50%;
    display: inline-block;
}

.img-cirle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 3;
}

.bdr-ripple-ani-btn::before,
.bdr-ripple-ani-btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    border: 2px solid #007bff;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    animation: rippleWave 2s linear infinite;
}

.bdr-ripple-ani-btn::after {
    animation-delay: 1s;
}

@keyframes rippleWave {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    70% {
        opacity: 0.25;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.chat-date-main {
    text-align: center;
    padding: 5px 0 5px;
    display: flex;
    justify-content: center;
    position: relative;
    height: 40px;
    z-index: 999;
    width: 100%;
    background: #f5f5fd;
}

.chat-date-main button {
    position: absolute;
    right: -3px;
    top: 5px;
}

.end-chat-btn {
    background: #dd6b55;
    border: 1px solid #dd6b55;
    /*float: right;*/
    margin-right: 10px;
    color: #fff;
    padding: 0px 10px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

.custom-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex !important;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.custom-overlay .popup {
    width: 80%;
    /*min-height: 250px;*/
    background: #fff;
    padding: 10px;
   /* border-radius: 5px;*/
    position: relative;
    z-index: 99;
    /*font-weight: normal !important;*/
    color: #272727;
    font-size: 16px;
    /*line-height: normal;*/
    /*opacity: 0;*/
    /*animation: innerBubbleGrow .2s ease forwards 0s;
    transform-origin: bottom center;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);*/
}

.custom-overlay .popup h3{
    font-size: 18px;
}

.custom-overlay .popup .end-chat-btn.no {
    background: #dd6b55;
    border: 1px solid #dd6b55;
}

.custom-overlay .popup .end-chat-btn.yes {
    background: #2b78c1;
    border: 1px solid #2b78c1;
}

/* =====================================================
   MOBILE CHAT BOX - NO CUT / REAL DEVICE FIX
   ===================================================== */

@media screen and (max-width: 576px) {

    #utzo-chat-widget .utzo-chat-box,
    #utzo-chat-widget.utzo-chat-position-left .utzo-chat-box {

        position: fixed !important;

        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: 0 !important;

        width: 100% !important;
        max-width: 100% !important;

        /* IMPORTANT */
        height: 100vh !important;
        max-height: 100vh !important;
        min-height: 0 !important;

        /* Allow entire chat to scroll if required */
        overflow-y: auto !important;
        overflow-x: hidden !important;

        -webkit-overflow-scrolling: touch;

        transform-origin: center center;
    }
}


/* =====================================================
   REAL iOS / ANDROID
   ===================================================== */

@supports (height: 100dvh) {

    @media screen and (max-width: 576px) {

        #utzo-chat-widget .utzo-chat-box,
        #utzo-chat-widget.utzo-chat-position-left .utzo-chat-box {

            height: 100dvh !important;
            max-height: 100dvh !important;

            top: 0 !important;
            bottom: 0 !important;
        }
    }
}


/* =====================================================
   iOS SAFE AREA
   ===================================================== */

@supports (padding-bottom: env(safe-area-inset-bottom)) {

    @media screen and (max-width: 576px) {

        #utzo-chat-widget .utzo-chat-box {

            padding-bottom: env(safe-area-inset-bottom);
        }
    }
}

@media screen and (max-width: 576px) {

    /* Chat box ko positioning reference banaye */
    #utzo-chat-widget .utzo-chat-box {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;

        overflow: hidden !important;
    }


    /* INPUT + SEND BUTTON AREA KO BOTTOM PAR FIX */
    #utzo-chat-widget .utzo-chat-form {
        position: absolute !important;

        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        width: 100% !important;

        height: auto !important;
        min-height: 66px !important;

        margin: 0 !important;

        padding: 11px 11px
                 calc(11px + env(safe-area-inset-bottom))
                 11px !important;

        z-index: 9999 !important;

        background: #fff !important;

        display: flex !important;
        align-items: center !important;

        box-sizing: border-box !important;
    }


    /* TYPE YOUR MESSAGE */
    #utzo-chat-widget .utzo-chat-input {
        position: relative !important;

        width: auto !important;
        flex: 1 1 auto !important;

        height: 44px !important;
        min-height: 44px !important;

        margin: 0 !important;

        box-sizing: border-box !important;
    }


    /* SEND BUTTON */
    #utzo-chat-widget .utzo-chat-send {
        position: relative !important;

        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;

        height: 44px !important;
        min-height: 44px !important;

        flex: 0 0 44px !important;

        margin: 0 !important;
    }
}