
.toast-danger {
    background-color: #FF0000;
}

.toast-sucsess {
    background-color: #04AA6D;
}

.custom-toast {
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    margin: 14px 0px;
    max-width: fit-content;
    position: absolute;
    right: 20px;
}

.main-toast {
    display: none;
}

.custom-toast .close-btn {
    cursor: pointer;
    font-size: 18px;
    margin-left: 12px;
    opacity: 0.7;
}

.custom-toast .close-btn:hover {
    opacity: 1;
}

.custom-toast.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.typing-indicator-new {
    color: #E6E7ED;
    padding: 0px;
    display: flex;
    align-items: center;
}

.typing-indicator-new span {
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #a27827;
    display: block;
    border-radius: 50%;
    opacity: 0.4;
    animation: blink 1.5s infinite ease-in-out alternate, bulge 1.5s infinite ease-in-out alternate;
}

.typing-indicator-new span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator-new span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator-new span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    50% {
        opacity: 1;
    }
}

@keyframes bulge {
    50% {
        transform: scale(1.2);
    }
}

.scroll-top {
    bottom: 100px;
}

.chatbot-icon {
    background: linear-gradient(to right, rgb(167, 116, 27), rgb(236, 207, 102));
    align-items: center;
    box-shadow: rgb(167, 116, 27) 0px 0px 4px 0px;
    border-radius: 10px;
    right: 20px;
    bottom: 20px;
    height: 50px;
    width: 50px;
    display: block;
    position: fixed;
    cursor: pointer;
    justify-content: center;
    transition: transform .2s ease-out;
    z-index: 9999;
}

.chatbot-icon svg {
    color: #fff;
    padding: 10px;
    position: relative;
    -webkit-animation: appear .3s ease-in-out;
    animation: appear .3s ease-in-out;
}

.chatbot-icon:hover {
    transform: scale(1.1);
}

.live_chat__chat__screen {
    background-color: #fff;
    border-radius: 0;
    box-shadow: 0 5px 40px rgba(0, 0, 0, .16);
    box-sizing: border-box;
    position: fixed;
    bottom: 0px;
    top: 0;
    right: 0px;
    width: 0;
    overflow: hidden;
    visibility: hidden;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 99999999;
}

.live_chat__chat__screen .chat-overlay {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: -1;
}

.live_chat__chat__screen .welcome-section {
    background-image: linear-gradient(rgb(167, 116, 27), rgb(236, 207, 102) 100%, transparent 100%);
    height: calc(100% - 50px);
    padding: 20px;
}

.live_chat__chat__screen.show__chat {
    width: 55vw;
    visibility: visible;
}

/* .live_chat__chat__screen.show__chat {width:850px; height:750px; visibility:visible; max-height:90vh; max-width:100vw;} */
.live_chat__chat__screen.hide__chat {
    width: 0;
    visibility: hidden;
}

.chatbox-main {}

.chatbox-main .header h3 {
    font-size: 26px;
    color: #fff;
    margin-bottom: 10px;
}

.chatbox-main .header p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}

.removeChat {
    position: absolute;
    right: 55px;
    top: 20px;
}

div#close-initial-page {
    position: absolute;
    right: 20px;
    top: 20px;
}

.live_chat__chat__screen .welcome-section.hide {
    display: none;
}

.live_chat__chat__screen .welcome-section.show {
    display: block;
}

.chatbox-main .welcome-section .intro {
    background-color: #fff;
    border: 1px solid #d3d3d3;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 16px 20px;
    gap: 20px;
}

.chatbox-main .welcome-section.show .intro .top {
    display: flex;
    gap: 20px;
}

.chatbox-main .welcome-section.show .intro .left {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbox-main .welcome-section.show .intro .left img {
    width: 80px;
    height: auto;
}

.chatbox-main .welcome-section.show .intro .right {
    width: calc(100% - 80px);
}

.chatbox-main .welcome-section.show .intro .right p {
    color: #000;
    font-size: 20px;
    margin-bottom: 10px;
}

.chatbox-main .welcome-section.show .intro .right span {
    color: #989898;
    font-weight: bold;
}

button.startchat {
    align-items: center;
    align-self: center;
    background-color: rgb(167, 116, 27);
    border: none;
    border-radius: 6px;
    color: #fff;
    display: flex;
    font-weight: 600;
    justify-content: center;
    outline: none;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    width: 100%;
    background-image: linear-gradient(to bottom, rgb(151, 97, 3), rgb(236, 207, 102) 100%, transparent 100%);
}

button.startchat:hover {
    background-image: linear-gradient(to top, rgb(151, 97, 3), rgb(236, 207, 102) 100%, transparent 100%);
    cursor: pointer;
}

.chatsection.hide {
    display: none;
}

.chatsection.show {
    display: block;
    height: 100%;
}

.chatsection-header {
    background: rgb(167, 116, 27);
    padding: 10px;
    color: #fff;
    font-size: 16px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.chatsection-header .rightheader {
    display: flex;
    gap: 0;
    flex-direction: column;
}

.chatsection-header .rightheader p {
    font-size: 16px;
}

.chatsection-header .rightheader span {
    font-size: 12px;
}

.powerby {
    background: #fff;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
}

.powerby p {
    display: flex;
    font-size: 16px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    gap: 10px
}

.powerby p img {
    height: 30px;
}

.send-message svg {
    height: 35px;
    width: 35px;
    stroke: #fff;
}

.chat-input-container {
    position: absolute;
    bottom: 50px;
    width: 100%;
    display: flex;
    background: #fff;
    padding: 20px 20px 0 20px;
}

.chat-input-container .send-message {}

.chat-input-container .send-message button {
    width: 40px;
    height: 40px;
    padding: 5px;
    border-radius: 100%;
    background: #a7741b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input-container .input-box {
    width: calc(100% - 30px);
    padding-right: 20px;
}

span#chat_head_back-btn {
    cursor: pointer;
    width: 20px;
    height: 20px;
}

span#chat_head_back-btn svg {
    width: 20px;
    height: 20px;
}

.chat-input-container .input-box input {
    outline: none;
    border: 0;
    width: 100%;
    height: 40px;
}

.messagecolor {
    background: #a7741b;
    color: #fff;
    border-radius: 10px;
    padding: 0px 10px;
    margin: 0;
    display: inline-block;
    line-height: 1.3;
    max-width: 80%;
}

.product-container {
    max-width: 200px;
}

.white-message img,
.messagecolor img {
    width: 150px;
    border-radius: 6px;
    margin-bottom: 10px;
    object-fit: cover;
    max-height: 200px;
    width: 100%;
}

.messagecolor span {
    color: #000;
    margin-top: 10px;
    display: flex;
    gap: 10px;
    width: auto;
    background: #ffffff;
    padding: 5px;
    border-radius: 6px;
}

.messagecolor span>a:hover,
.buy-btn:hover {
    background-image: linear-gradient(to top, rgb(151, 97, 3), rgb(236, 207, 102) 100%, transparent 100%);
    cursor: pointer;
    transition: background-color .2s ease-in;
}

.messagecolor span>a,
.buy-btn {
    font-size: 10px;
    background-color: rgb(167, 116, 27);
    border: none;
    border-radius: 4px;
    color: #fff;
    display: flex;
    font-weight: 400;
    justify-content: center;
    outline: none;
    padding: 4px 10px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    background-image: linear-gradient(to bottom, rgb(151, 97, 3), rgb(236, 207, 102) 100%, transparent 100%);
}

.messagebox {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    overflow: hidden;
    gap: 0.75rem;
}

.messagebox .left {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    width: 40px;
    height: 40px;
}

.messagebox .left img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    object-position: center;
}

.right-box {
    /* width: calc(100% - 40px); */
}

.right-box .messagecolor+.messagecolor {
    margin-top: 10px;
}

.choice-button {
    padding-left: 60px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

button.list-item {
    border: 1px solid #a7741b;
    box-shadow: rgba(167, 16, 27, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    border-radius: 15px;
    padding: 10px;
    display: flex;
    line-height: 1.2;
    flex-wrap: nowrap;
    text-align: left;
}

button.list-item:focus-visible {
    border: 0;
}

button.list-item:hover {
    border: 1px solid #a7741b;
    background: #a7741b;
    color: #fff;
    border-radius: 15px;
    padding: 10px;
    display: flex;
    line-height: 1;
    flex-wrap: nowrap;
}

.chatbody {
    height: calc(100% - 160px);
    padding-bottom: 0;
    overflow-y: auto;
    background: #FFF;
}

.chat-message-container {
    padding-bottom: 20px;
}

.chatbody {}

.white-message {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    color: #000;
    border-radius: 10px;
    padding: 10px;
    margin: 0;
    display: inline-block;
    line-height: 1.3;
    text-align: left;
    max-width: 80%;
    font-size: 14px;
}

.white-message+.white-message {
    margin-top: 15px;
}

.right-box .button-container button {
    margin-top: 0 !important;
    border-radius: 6px;
    padding: 6px 12px;
    border: 1px solid #a7741b;
    background-color: #fff;
    color: #333;
    transition: all 0.3s ease-in-out;
}

.right-box .button-container button:not(:last-child) {
    margin-right: 10px;
    margin-bottom: 10px;
}

.right-box .button-container button:hover,
.right-box .button-container button:focus {
    background-color: #a7741b;
    border-color: #a7741b;
    outline: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.chatParentClass h1,
.chatParentClass h2,
.chatParentClass h3,
.chatParentClass h4,
.chatParentClass h5,
.chatParentClass h6,
.chatParentClass p,
.chatParentClass ul,
.chatParentClass ol {
    margin: 10px 0;
}

.chatParentClass ul {
    list-style-type: disc;
    padding-left: 20px;
}

.chatParentClass ol{
    list-style-type: auto;
    padding-left: 15px;
}

.chatParentClass p,
.chatParentClass li {
    font-size: 14px;
}


@media only screen and (max-width: 767px) {
    .live_chat__chat__screen.show__chat {
        width: 100%;
        height: 100%;
        visibility: visible;
        max-height: 100vh;
        max-width: 100vw;
        right: 0 !important;
        bottom: 0 !important;
        border-radius: 0;
    }
}



.chat-product-card {
    background: transparent;
    border: 1px solid #c78000;
    padding: 10px;
    box-shadow: unset;
    animation: fadeIn 0.3s ease;
    border-radius: 10px;
    margin-bottom: 10px;
}

.chat-product-card .product-top,
.chat-product-card .product-actions {
    display: flex;
    align-items: flex-start;
    border-radius: 10px;
}

.chat-product-card .product-top {
    flex-flow: column
}

.chat-product-card .product-actions {
    margin-top: 10px;
}



.product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
    margin-bottom: 15px;
}


.product-info {
    flex: 1;
}

.product-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 4px;
    line-height: 1.3;
    word-break: break-all;
}

.product-description {
    font-size: 14px;
    color: #555;
    margin: 0 0 10px;
    line-height: 1.3;
    word-break: break-all;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.btn {
    padding: 6px 12px;
    font-size: 13px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}


