.cuad-chat {
    position: fixed;
    bottom: 129px;
    right: 7.29%;
    border-radius: 12px;
    background: var(--color-white);
    width: 404px;
    height: auto;
    z-index: 500;
    box-shadow: 0px 3px 6px #0000001C;
    overflow: hidden;
}
.chat-open-anim {
    -webkit-transition: all 0.5s ease-in-out !important;
    -moz-transition: all 0.5s ease-in-out !important;
    -o-transition: all 0.5s ease-in-out !important;
    transition: all 0.5s ease-in-out !important;
    width: 404px;
    height: 516px;
}
.chat-close-anim {
    -webkit-transition: all 0.5s ease-in-out !important;
    -moz-transition: all 0.5s ease-in-out !important;
    -o-transition: all 0.5s ease-in-out !important;
    transition: all 0.5s ease-in-out !important;
    width: 0;
    height: 0;
}
.btn-outline-skr {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 40px;
    min-height: 40px;
    border: 1px solid var(--color-green-1);
    outline: none;
    background: transparent;
    color: var(--color-green-1);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: fit-content;
}
.btn-outline-skr:hover, .ctn-chip:hover {
    background-color: var(--color-green-3);
}
.btn-outline-skr:active, .ctn-chip:active {
    background: rgb(51 202 64 / 86%) 0% 0% no-repeat padding-box;
    color: var(--color-white) !important;
}
.btn-filled-skr {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 40px;
    min-height: 40px;
    border: none;
    outline: none;
    background: var(--color-green-1);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: fit-content;
}
.btn-filled-skr:hover, .btn-chat:hover {
    background-color: #1A9F24;
}
.btn-filled-skr:active {
    background-color: #1dab28;
}
.cuad-chat .btn-outline-skr {
    padding: 6px 12px;
    color: var(--color-green-1);
    min-width: 49px;
    text-align: left;
    max-height: revert;
}
.cuad-chat .btn-filled-skr {
    padding: 6px 12px;
    min-width: 49px;
}
.icon-chat {
    font-size: 24px;
}
.icon-close-chat:hover {
    cursor: pointer;
}
.head-chat {
    position: absolute;
    top: 0;
    z-index: 20;
    left: 0;
    right: 0;
    height: 60px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    padding: 15px 30px;
    background: transparent linear-gradient(110deg, var(--color-green-1) 0%, var(--color-green-2) 100%) 0% 0% no-repeat padding-box;
    border-radius: 9px 9px 0 0;
}
.close-btn {
    margin-left: auto;
    width: 25px;
    border-radius: 10px;
    cursor: pointer;
    height: 3px;
    background-color: var(--color-white);
}
.head-chat img {
    width: 30px;
    margin-right: 15px;
}
.ctn-chat {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: 70vh;
    background-color: var(--color-white);
    overflow-y: auto;
    padding: 64px 16px 60px 16px;
    max-height: 100%;
    z-index: 15;
}
.ctn-chat::-webkit-scrollbar, .foot-chat textarea::-webkit-scrollbar {
    width: 0px !important;
}
.ctn-chat::-webkit-scrollbar-thumb, .foot-chat textarea::-webkit-scrollbar-thumb {
    background-color: transparent !important;
}
.msg {
    position: relative;
    height: fit-content;
    margin-top: 12px;
    padding: 12px 16px;
    width: 78.71%;
}
.msg-bot {
    background: var(--color-green-6) 0% 0% no-repeat padding-box;
    color: var(--color-green-2);
    line-height: 1.2;
    animation-name: slidein;
    animation-duration: 1s;
    border-radius: 12px 12px 12px 4px;
}
.msg-user {
    background: var(--color-green-1) 0% 0% no-repeat padding-box;
    color: var(--color-white);
    align-self: end;
    animation-name: slidein-2;
    animation-duration: 1s;
    border-radius: 12px 12px 4px 12px;
}
.msg-file {
    background-color: #0E7618;
    border-radius: 8px 8px 4px 8px;
    padding: 12px;
}
.msg-file .msg-content {
    display:flex;
    gap: 12px;
}
.msg-file p {
    margin: 0;
    font-size: 15px;
}
.msg-file small {
    font-size: 12px;
    color: var(--color-green-3);
}
.msg-file svg {
    font-size: 24px;
}
.msg-img {
    padding: 6px;
    max-width: 70%;
}
.msg-fig {
    margin: 0;
    position: relative;
    max-height: 360px ;
    overflow: hidden;
    width: 100%;
    border-radius: 0 0 6px 6px;
}
.msg-fig img {
    width: 100%;
    border-radius: 6px;
}
.fig-caption {
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px 0 0 4px;
    font-size: 12px;
    border-radius: 0 0 6px 6px;
    background-color: rgb(62 62 62 / 65%);
    color: var(--color-white);
}
.l-message {
    position: relative;
    margin-bottom: 26px !important;
}
.l-message .time {
    position: absolute;
    top: calc(100% + 6px);
    color: var(--color-gray-2);
    font-size: 14px;
}
.link-bot, .link-bot:hover {
    text-decoration: none;
    color: #0178EF;
}
.msg-user.l-message .time {
    right: 0;
}
.msg-bot.l-message .time {
    left: 0;
}
.msg-bot-load{
    width: fit-content !important;
}
.chat-loader {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #0000001C;
    border-radius: 9px;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ctn-chat-options {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    animation-name: slidein;
    animation-duration: 1s;
}
.ctn-chip {
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 8px;
    width: fit-content;
    min-height: 36px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid var(--color-green-1);
    color: var(--color-green-1);
}
.chip-label {
    font-size: 16px;
    font-weight: 600;
}
.ctn_list_chips {
    margin-top: 12px;
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}
.capture_inp {
    margin-top: 8px;
}

@keyframes slidein {
    from {
        transform: translateX(-5%);
    }

    to {
        transform: translateX(0%);
    }
}

@keyframes slidein-2 {
    from {
        transform: translateX(5%);
    }

    to {
        transform: translateX(0%);
    }
}
.foot-chat {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white);
    border-top: var(--color-green-1) solid 1.5px;
    border-radius: 0 0 9px 9px;
    padding-right: 20px;
    z-index: 20;
}
.foot-chat.dis {
    background-color: rgb(247 245 245);
    border-top: rgb(247 245 245) solid 1.5px;
}
.foot-chat.dis textarea {
    color: #D1D1D4;
}
.foot-chat textarea {
    margin: 10px 0;
    padding: 0 10px 0 20px;
    outline: none;
    line-height: 1.2;
    border: none;
    box-shadow: none;
    height: 24px;
    background-color: transparent;
    border-radius: 0 0 9px 9px;
    color: var(--color-gray-1);
    resize: none;
    max-height: 80px;
}
.foot-chat textarea::placeholder {
    color: var(--color-gray-2);
}
.foot-chat.dis textarea::placeholder {
    color: #D1D1D4;
}
.foot-chat.dis .ctn-plane {
    cursor: unset;
    color: #D1D1D4;
}
.ctn-plane {
    font-size: 16px;
    background-color: transparent;
    color: var(--color-menu-hover);
    border: none;
}
.btn-chat {
    display: flex;
    align-items: center;
    background: var(--color-green-1) 0% 0% no-repeat padding-box;
    border: none;
    outline: none;
    color: var(--color-white);
    font-size: 22px;
    padding: 17px;
    position: fixed;
    right: 7.29%;
    bottom: 65px;
    border-radius: 12px;
    box-shadow: 0px 8px 16px #09254914;
    width: 100%;
    height: 100%;
    max-width: 56px;
    max-height: 56px;
    min-width: 56px;
    min-height: 56px;
    z-index: 500;
    transition: all 0.4s ease-in;
}
.btn-chat #icon_btn_bot .fa-message {
    margin-right: 12px;
}
#icon_btn_bot .fa-xmark {
    margin: 0 7px 0 4px;
}
.lbl-btn-chat {
    font-size: 18px;
    padding-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
}
.btn-chat.no-close:hover {
    width: auto;
    max-width: 240px;
}
.btn-chat.no-close:hover .lbl-btn-chat {
    width: fit-content;
}

@keyframes expand {
    0% {
        right: -100px;
    }
    100% {
        right: 0;
    }
}
.chat:hover {
    width: 170px;
    background-color: var(--color-menu-hover);
    -webkit-transition: width 0.5s 0s ease;
    -moz-transition: width 0.5s 0s ease;
    -o-transition: width 0.5s 0s ease;
    transition: width 0.5s 0s ease;
}
.chat img {
    height: fit-content;
    margin-right: 17px;
}
.chat p {
    margin: 0;
}

/*Loader chatbot*/
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 30px;
    margin: auto;
}

.lds-ellipsis div {
    position: absolute;
    top: calc(50% - 2px);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-green-1);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

/* badge notification */
.badge-skr {
    position: absolute;
    top: 0px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    color: var(--color-white);
    background-color: #fbbf24;
}

.badge-skr.pulsate::before {
    content: '';
    display: block;
    animation: pulse 1s ease infinite;
    border-radius: 50%;
    border: 4px double var(--color-white);
    width: 14px;
    height: 14px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    60% {
        transform: scale(1.3);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/**/
.session-chat {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    transition: all 0.2s ease-in;
    z-index: 0;
    opacity: 0;
}
.ov-close-session {
    position: absolute;
    top: 60px;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(71, 71, 71, 0.24);
}
.session-vw {
    z-index: 50;
    opacity: 1;
}
.msg-session {
    background: var(--color-white);
    box-shadow: 0px 3px 5px #00000029;
    padding: 24px 20px;
    border-radius: 0px 0px 8px 8px;
}
.session-content {
    text-align: left;
    letter-spacing: 1.2;
    color: var(--color-black-1);
    padding-bottom: 21px;
}
.session-des{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.68);
    z-index: -9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in;
}
.overlay-anim{
    z-index: 250; 
    opacity: 1;
}
.no-scroll{
    overflow: hidden;
}

@media only screen and (max-width: 1080px) {
    .chat-open-anim {
        width: 85.5vw;
        max-width: 668px;
        max-height: revert;
        height: 70vh;
    }
    .ctn-chip:hover, .btn-outline-skr:hover {
        background: var(--color-white) 0% 0% no-repeat padding-box;
        color: var(--color-green-1)
    }
    .ctn-chip:active, .btn-outline-skr:active {
        background: rgb(51 202 64 / 86%) 0% 0% no-repeat padding-box;
        color: var(--color-white);
    }
    .btn-filled-skr:hover, .btn-chat:hover {
        background-color: var(--color-green-1);
    }
    .btn-filled-skr:active {
        background-color: #1dab28;
    }
}