:root,
[data-bs-theme="light"] {
    --bs-blue: #2563eb;
    --bs-indigo: #4f46e5;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #e11d48;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #10b981;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000000;
    --bs-white: #ffffff;
    --bs-primary-50: #eff6ff;
    --bs-primary-100: #dbeafe;
    --bs-primary-200: #bfdbfe;
    --bs-primary-300: #93c5fd;
    --bs-primary-400: #60a5fa;
    --bs-primary-500: #3b82f6;
    --bs-primary-600: #2563eb;
    --bs-primary-700: #1d4ed8;
    --bs-primary-800: #1e40af;
    --bs-primary-900: #1e3a8a;
    --bs-primary-dark: #1e40af;
    --bs-gray: #475569;
    --bs-gray-dark: #1e293b;
    --bs-gray-50: #f8fafc;
    --bs-gray-100: #f1f5f9;
    --bs-gray-200: #e2e8f0;
    --bs-gray-300: #cbd5e1;
    --bs-gray-400: #94a3b8;
    --bs-gray-500: #64748b;
    --bs-gray-600: #475569;
    --bs-gray-700: #334155;
    --bs-gray-800: #1e293b;
    --bs-gray-900: #0f172a;
    --bs-primary: #2563eb;
    --bs-secondary: #475569;
    --bs-success: #10b981;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #e11d48;
    --bs-light: #e2e8f0;
    --bs-dark: #334155;
    --bs-darker: #0f172a;
    --bs-primary-rgb: 37, 99, 235;
    --bs-secondary-rgb: 71, 85, 105;
    --bs-success-rgb: 16, 185, 129;
    --bs-info-rgb: 13, 202, 240;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger-rgb: 225, 29, 72;
    --bs-light-rgb: 226, 232, 240;
    --bs-dark-rgb: 51, 65, 85;
    --bs-darker-rgb: 15, 23, 42;
    --bs-primary-text-emphasis: #052c65;
    --bs-secondary-text-emphasis: #2b2f32;
    --bs-success-text-emphasis: #0a3622;
    --bs-info-text-emphasis: #055160;
    --bs-warning-text-emphasis: #664d03;
    --bs-danger-text-emphasis: #58151c;
    --bs-light-text-emphasis: #495057;
    --bs-dark-text-emphasis: #495057;
    --bs-primary-bg-subtle: #cfe2ff;
    --bs-secondary-bg-subtle: #e2e3e5;
    --bs-success-bg-subtle: #d1e7dd;
    --bs-info-bg-subtle: #cff4fc;
    --bs-warning-bg-subtle: #fff3cd;
    --bs-danger-bg-subtle: #f8d7da;
    --bs-light-bg-subtle: #fcfcfd;
    --bs-dark-bg-subtle: #ced4da;
    --bs-primary-border-subtle: #9ec5fe;
    --bs-secondary-border-subtle: #c4c8cb;
    --bs-success-border-subtle: #a3cfbb;
    --bs-info-border-subtle: #9eeaf9;
    --bs-warning-border-subtle: #ffe69c;
    --bs-danger-border-subtle: #f1aeb5;
    --bs-light-border-subtle: #e9ecef;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-font-sans-serif: "Poppins";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0)
    );
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #64748b;
    --bs-body-color-rgb: 100, 116, 139;
    --bs-body-bg: #dbeafe;
    --bs-body-bg-rgb: 219, 234, 254;
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0, 0, 0;
    --bs-secondary-color: rgba(33, 37, 41, 0.75);
    --bs-secondary-color-rgb: 33, 37, 41;
    --bs-secondary-bg: #e9ecef;
    --bs-secondary-bg-rgb: 233, 236, 239;
    --bs-tertiary-color: rgba(33, 37, 41, 0.5);
    --bs-tertiary-color-rgb: 33, 37, 41;
    --bs-tertiary-bg: #f8f9fa;
    --bs-tertiary-bg-rgb: 248, 249, 250;
    --bs-heading-color: #475569;
    --bs-link-color: #2563eb;
    --bs-link-color-rgb: 37, 99, 235;
    --bs-link-decoration: none;
    --bs-link-hover-color: #1e4fbc;
    --bs-link-hover-color-rgb: 30, 79, 188;
    --bs-code-color: #d63384;
    --bs-highlight-bg: #fff3cd;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #cbd5e1;
    --bs-border-color-translucent: rgba(51, 65, 85, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 0 1rem rgba(0, 0, 0, 0.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --bs-focus-ring-width: 0.25rem;
    --bs-focus-ring-opacity: 0.25;
    --bs-focus-ring-color: rgba(13, 110, 253, 0.25);
    --bs-form-valid-color: #198754;
    --bs-form-valid-border-color: #198754;
    --bs-form-invalid-color: #dc3545;
    --bs-form-invalid-border-color: #dc3545;
}

[data-bs-theme="dark"] {
    color-scheme: dark;
    --bs-body-color: #94a3b8;
    --bs-body-color-rgb: 148, 163, 184;
    --bs-body-bg: #0f172a;
    --bs-body-bg-rgb: 15, 23, 42;
    --bs-emphasis-color: #ffffff;
    --bs-emphasis-color-rgb: 255, 255, 255;
    --bs-secondary-color: rgba(148, 163, 184, 0.75);
    --bs-secondary-color-rgb: 148, 163, 184;
    --bs-secondary-bg: #1e293b;
    --bs-secondary-bg-rgb: 30, 41, 59;
    --bs-tertiary-color: rgba(148, 163, 184, 0.5);
    --bs-tertiary-color-rgb: 148, 163, 184;
    --bs-tertiary-bg: #172033;
    --bs-tertiary-bg-rgb: 23, 32, 51;
    --bs-primary-text-emphasis: #7ca1f3;
    --bs-secondary-text-emphasis: #9199a5;
    --bs-success-text-emphasis: #70d5b3;
    --bs-info-text-emphasis: #6edff6;
    --bs-warning-text-emphasis: #ffda6a;
    --bs-danger-text-emphasis: #ed7791;
    --bs-light-text-emphasis: #f1f5f9;
    --bs-dark-text-emphasis: #cbd5e1;
    --bs-primary-bg-subtle: #07142f;
    --bs-secondary-bg-subtle: #0e1115;
    --bs-success-bg-subtle: #03251a;
    --bs-info-bg-subtle: #032830;
    --bs-warning-bg-subtle: #332701;
    --bs-danger-bg-subtle: #2d060e;
    --bs-light-bg-subtle: #1e293b;
    --bs-dark-bg-subtle: #0f151e;
    --bs-primary-border-subtle: #163b8d;
    --bs-secondary-border-subtle: #2b333f;
    --bs-success-border-subtle: #0a6f4d;
    --bs-info-border-subtle: #087990;
    --bs-warning-border-subtle: #997404;
    --bs-danger-border-subtle: #87112b;
    --bs-light-border-subtle: #334155;
    --bs-dark-border-subtle: #1e293b;
    --bs-heading-color: inherit;
    --bs-link-color: #7ca1f3;
    --bs-link-hover-color: #96b4f5;
    --bs-link-color-rgb: 124, 161, 243;
    --bs-link-hover-color-rgb: 150, 180, 245;
    --bs-code-color: #e685b5;
    --bs-border-color: #334155;
    --bs-border-color-translucent: rgba(255, 255, 255, 0.15);
    --bs-form-valid-color: #75b798;
    --bs-form-valid-border-color: #75b798;
    --bs-form-invalid-color: #ea868f;
    --bs-form-invalid-border-color: #ea868f;
}

:root {
    --bs-body-gap-x: 1.25rem;
    --bs-size-xs: 1.5rem;
    --bs-size-sm: 1.75rem;
    --bs-size-md: 2rem;
    --bs-size-rg: 2.5rem;
    --bs-size-lg: 3rem;
    --bs-size-xl: 3.75rem;
    --bs-size-2xl: 4.5rem;
    --bs-size-3xl: 6rem;
    --bs-size-4xl: 9rem;
    --bs-icon-size-xs: 0.675rem;
    --bs-icon-size-sm: 0.75rem;
    --bs-icon-size-md: 0.875rem;
    --bs-icon-size-rg: 1rem;
    --bs-icon-size-lg: 1.25rem;
    --bs-icon-size-xl: 1.5rem;
    --bs-icon-size-2xl: 1.75rem;
    --bs-breakpoint-xs: 0;
    --bs-breakpoint-sm: 576px;
    --bs-breakpoint-md: 768px;
    --bs-breakpoint-lg: 992px;
    --bs-breakpoint-xl: 1200px;
    --bs-breakpoint-xxl: 1400px;
    --appbar-height: 65px;
}
.tyn-quick-chat {
    --quick-chat-gap-x: 1rem;
    --quick-chat-gap-y: 1rem;
    --quick-chat-bg: var(--bs-primary-50);
    --quick-chat-toggle-bg: var(--bs-primary-100);
    --quick-chat-head-bg: var(--bs-white);
    --quick-chat-foot-bg: var(--bs-white);
    --quck-chat-border: var(--bs-primary-200);
}
[data-bs-theme="dark"] .tyn-quick-chat {
    --quick-chat-bg: var(--bs-gray-900);
    --quick-chat-toggle-bg: var(--bs-gray-800);
    --quick-chat-head-bg: var(--bs-gray-800);
    --quick-chat-foot-bg: var(--bs-gray-800);
    --quck-chat-border: var(--bs-gray-700);
}
.tyn-quick-chat .tyn-reply-quick {
    --content-gap-x: var(--quick-chat-gap-x);
}
.tyn-quick-chat-toggle {
    position: fixed;
    height: 4rem;
    width: 4rem;
    right: 2.5rem;
    bottom: 1.5rem;
    z-index: 999;
    border-radius: 50%;
    padding: 10px;
    border: 0;
    /* background: var(--quick-chat-toggle-bg);
    box-shadow: 0 0 0 1px var(--quck-chat-border); */
    background: var(--PrimaryColor);
    box-shadow: 0 0 0 1px var(--PrimaryColor);
    transition: 0.3s ease 0.5s;
    opacity: 1;
    transform: translateY(0);
    color: var(--SecondaryColor);
}

.count-span{
    background-color: var(--SecondaryColor);
    color: var(--PrimaryColor);
}
.tyn-quick-chat-toggle svg {
    width: 36px;
    height: auto;
}
.tyn-quick-chat.active .tyn-quick-chat-toggle {
    transform: translateY(calc(100% + 4rem));
    opacity: 0;
}
.tyn-quick-chat-box {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    height: 34rem;
    max-height: calc(100% - 3rem + var(--appbar-height) * -1);
    width: 20rem;
    z-index: 999;
    border-radius: 16px;
    border: 0;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transform: translateY(calc(100% + 4rem));
    opacity: 0;
    transition: 0.5s ease 0.3s;
    overflow: hidden;
}
.tyn-quick-chat.active .tyn-quick-chat-box {
    opacity: 1;
    transform: translateY(0);
}
.chatting-div-i .line-span {
    width: 90px;
    height: 2px;
    background-color: #d3d3d3;
    border-radius: 6px;
    mask-image: radial-gradient(50% 50%, #fff, transparent 146%);
}
.chatting-div-i {
    color: #bbbbbb;
    gap: 8px;
}
.tyn-quick-chat-reply {
    height: 100%;
    max-height: 100%;
    overflow: auto;
    flex-grow: 1;
}
.tyn-quick-chat-box .login-input-fil {
    padding-top: 25px;
}
.tyn-quick-chat-box .login-input-fil .form-control {
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    border-radius: 47px;
    height: auto;
    border-color: #d3d3d3;
}
.tyn-quick-chat-box .login-input-fil .form-control::placeholder {
    color: #7f7f7f;
}
.guest-registration-form .login-quick-chat-head {
    color: var(--PrimaryColor);
}

.footer-login-chat {
    border-top: 1px solid #d3d3d3;
}
.footer-login-chat .btn-login-chat {
    background-color: var(--PrimaryColor);
    width: fit-content !important;
    border-radius: 40px;
    margin: auto;
    color: var(--SecondaryColor);
}
.guest-registration-form .login-quick-chat-head .svg-robot .ro-svg {
    animation: roundTran 3s infinite linear alternate;
}
@keyframes roundTran {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(15px);
    }
}

/* START:: start chat loader */
.main-tyn-loader{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.main-tyn-loader .tyn-chat-loading:nth-child(1){
    animation-delay: 0.2s;
}
.main-tyn-loader .tyn-chat-loading:nth-child(2){
    animation-delay: 0.3s;
}
.tyn-chat-loading {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    background-color: var(--PrimaryColor);
    -webkit-animation: animloader42 1.5s linear infinite alternate;
    animation: animloader42 1.5s linear infinite alternate;
}
@keyframes animloader42 {
    0% { transform: translateY(0)scale(0.7); opacity: 0.5;}
    33% { transform: translateY(14px)scale(1); opacity: 1;}
    66% {transform: translateY(0)scale(0.5); opacity: 0.2;}
    100% { transform: translateY(14px)scale(0.7); opacity: 1;}
  }
/* END:: start chat loader */

.guest-registration-form .login-quick-chat-head .svg-robot {
    width: 70px;
}
.guest-registration-form .login-quick-chat-head .svg-robot::before {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 0;
    height: 7px;
    width: 100%;
    border-radius: 100%;
    background-color: #e7e7e7;
    animation: roundZoom 3s infinite linear alternate;
}
@keyframes roundZoom {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
.tyn-quick-chat-head {
    background: #fff;
    padding: var(--quick-chat-gap-y) var(--quick-chat-gap-x);
}
.tyn-live-chat-header {
    border-bottom: 1px solid #e1e1e1;
    background-color: var(--PrimaryColor) !important;
}
.tyn-quick-chat-head .tyn-media-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    --media-text: var(--bs-gray-500);
    --media-text-light: var(--bs-gray-400);
    --media-text-lighter: var(--bs-gray-300);
}
.login-quick-chat-head .name {
    font-size: 20px;
    font-weight: 500;
    margin-top: 5px;
    color: #000;
}
.login-quick-chat-head .chat-text {
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
    color: #7f7f7f;
    text-align: center;
}
.tyn-quick-chat-form {
    display: flex;
    align-items: flex-end;
    background: var(--quick-chat-foot-bg);
    padding: var(--quick-chat-gap-y) var(--quick-chat-gap-x);
    position: relative;
}

.tyn-live-chat-footer .chat-form-icons {
    background-color: #f1f1f1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding: 10px 12px;
    border-radius: 36px;
    gap: 6px;
}
.record-icons form{
    display: none;
}

.upload-icons input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    left: 0;
    top: 0;
}
.chat-form-icons .icon-btn:hover,
.chat-form-icons .icon-btn {
    color: #798391;
    cursor: pointer;
    font-size: 18px;
}
.chat-form-icons .icon-btn:hover {
    color: #000000;
}
.tyn-chat-send-btn,
.tyn-chat-send-btn:focus,
.tyn-chat-send-btn:active {
    padding: 0px;
    color: var(--PrimaryColor) !important;
}
.chat-form-icons .icon-btn svg {
    width: 22px;
    height: 22px;
    stroke-width: 2px;
    vertical-align: middle;
}
.emoji-icons .emojis-contain {
    width: 0;
    height: 0;
    background-color: #efefef;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 14px;
    z-index: 9;
}
.emoji-icons .emojis-contain.open {
    bottom: 73px;
    left: 15px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    width: 90%;
    height: 170px;
}
.emoji-icons .emojis-contain .emojis-sub-contain {
    height: 100%;
    overflow: overlay;
    scroll-behavior: smooth;
}
.emojis-contain ul {
    padding-left: 0;
    list-style-type: none;
    margin-bottom: 0;
    padding-right: 0;
}
.emojis-contain ul li {
    display: inline-block;
    font-size: 24px;
    padding: 5px;
    cursor: pointer;
}
.gap-2 {
    gap: 12px;
}
.tyn-quick-chat button.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--tyn-size) / 4);
    --tyn-icon-size: 0.75rem;
    --tyn-size: var(--bs-size-sm);
    padding: 0;
    height: 30px;
    width: 30px;
    border-radius: var(--bs-border-radius-pill) !important;
    background-color: transparent;
    color: #ffffff !important;
    border: 0;
}
.tyn-quick-chat button.btn-icon:active {
    background-color: #f1f1f1 !important;
}
.tyn-quick-chat button.btn-icon.js-toggle-quick,
.tyn-quick-chat button.btn-icon.chat-boat-toggle {
    transform: none !important;
}
/* .tyn-quick-chat button.btn-icon svg {
    height: 12px;
    width: 12px;
} */
.tyn-end-chat {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.tyn-end-chat .btn-end-chat {
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 40px;
    padding: 6px 15px;
    margin: 12px auto 7px auto;
    font-size: 13px;
    font-weight: 500;
    z-index: 0;
    overflow: hidden;
    color: var(--PrimaryColor);
}
.tyn-end-chat .btn-end-chat .end-chat-ani {
    animation: endChat 2s infinite linear alternate;
}

.ct-mail-temp{
    width: unset !important;
    height: unset !important;
    background-color: transparent !important;
}

.outgoing .ct-mail-temp{
    color: var(--outgoing-message-text) !important;
}
.editable:empty:before {
    content: attr(data-placeholder);
    color: #aaa;
    pointer-events: none;
}

@keyframes endChat {
    0% {
        transform: rotate(-15deg);
    }
    5% {
        transform: rotate(0deg);
    }
    15% {
        transform: rotate(15deg);
    }
    20% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    30% {
        transform: rotate(0deg);
    }
    35% {
        transform: rotate(10deg);
    }
    40% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(0deg);
    }
    55% {
        transform: rotate(-15deg);
    }
    60% {
        transform: rotate(0deg);
    }
    65% {
        transform: rotate(15deg);
    }
    70% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-10deg);
    }
    80% {
        transform: rotate(0deg);
    }
    85% {
        transform: rotate(10deg);
    }
    90% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
.tyn-quick-chat .login-quick-chat-head .js-toggle-quick,
.tyn-quick-chat .login-quick-chat-head .chat-boat-toggle {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--PrimaryColor) !important;
    border: 0;
}
.tyn-end-chat .btn-end-chat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--PrimaryColor);
    opacity: 0.1;
}

.tyn-quick-chat button.btn-icon .bi-send-fill {
    height: 20px;
    width: 20px;
    color: #1c9dea;
}

.tyn-media {
    --media-bg: var(--bs-white);
    --media-border: var(--bs-white);
    --tyn-size: var(--bs-size-rg);
    --tyn-shape: var(--bs-border-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 32px;
    width: 32px;
    border-radius: 100%;
    background: var(--media-bg);
    overflow: hidden;
}
.tyn-quick-chat-head .tyn-media {
    width: 40px;
    height: 40px;
    background-color: transparent !important;

}
.tyn-size-rg {
    --tyn-size: var(--bs-size-rg);
    --tyn-icon-size: var(--bs-icon-size-rg);
}
.tyn-media img {
    height: 100%;
    width: 100%;
    border-radius: calc(var(--tyn-shape) - 1px);
    object-fit: cover;
}
.tyn-media-col {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.25rem;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
}
.tyn-media-row {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    max-width: 100%;
}
.tyn-media-col .name {
    margin-bottom: 0;
    color: var(--media-text);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tyn-media-row.has-dot-sap {
    gap: 1rem;
}
.chatbot-status .meta {
    font-size: 15px;
    color: #ffffff;
    text-transform: capitalize;
}
.tyn-reply {
    --content-gap-x: var(--bs-body-gap-x);
    --content-gap-y: 0.5rem;
    --content-sap-y: 0.375rem;
    --reply-bg: var(--bs-white);
    --reply-text: var(--bs-gray-500);
    --reply-anchor-text: var(--bs-primary-400);
    --reply-anchor-hover: var(--bs-primary);
    --outgoing-message-bg: var(--bs-primary);
    --outgoing-message-text: var(--bs-white);
    --radius-large: 0.5rem;
    --radius-small: 0.25rem;
    --avatar-gap: 0.75rem;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
}
.tyn-reply-item {
    display: flex;
    align-items: flex-end;
    padding: var(--content-gap-y) var(--content-gap-x);
}
.tyn-reply-group {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.tyn-reply-group > *:not(:last-child) {
    margin-bottom: 0.375rem;
}
.tyn-reply-bubble {
    position: relative;
    display: flex;
    align-items: flex-start;
    /* width: max-content; */
    max-width: 100%;
    flex-direction: column;
    width: fit-content;
}
.tyn-reply-group > * {
    border-radius: var(--radius-large);
}
.outgoing .tyn-reply-group,
.outgoing .tyn-reply-bubble {
    align-items: flex-end !important;
}
.outgoing .tyn-reply-group > *:first-child:not(:only-child) {
    border-bottom-right-radius: var(--radius-small);
}
.tyn-reply-avatar {
    margin-right: var(--avatar-gap);
    flex-shrink: 0;
    display: inline-flex;
}
.incoming .tyn-reply-group {
    width: calc(100% - var(--bs-size-md) - var(--avatar-gap));
}
.incoming .tyn-reply-group > *:first-child:not(:only-child) {
    border-bottom-left-radius: var(--radius-small);
}
.tyn-reply-link {
    display: flex;
    flex-direction: column;
    border-radius: inherit;
    overflow: hidden;
    background: var(--reply-bg);
}
.tyn-reply-text{
    font-size: 0.833rem;
    padding: 0.75rem 1rem;
    color: var(--reply-text);
    border-radius: 20px 20px 20px 4px;
    background: #f3f3f3;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.tyn-reply-text .icon-btns a{
    color: var(--reply-text);
    text-decoration: underline !important;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--outgoing-message-text);
}

.tyn-reply-text .bg-img {
    border-radius: 10px;
}
.outgoing .tyn-reply-text .icon-btns a{
    text-decoration: underline !important;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--outgoing-message-text);
    color: var(--PrimaryColor);
}
.outgoing .tyn-reply-text a svg,.incoming .tyn-reply-text a svg{
    width: 16px;
    height: auto;
}
.outgoing .tyn-reply-text{
    color: var(--outgoing-message-text);
    background: var(--PrimaryColor);
    border-radius: 20px 20px 4px 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.outgoing .tyn-reply-text .details{
    width: 100%;
    max-width: 210px;
}
.outgoing .tyn-reply-text .details h5,
.outgoing .tyn-reply-text .details h6{
    font-size: 14px;
    color: var(--outgoing-message-text);
    margin-bottom: 5px;
}

.incoming .tyn-reply-text .details h5,
.incoming .tyn-reply-text .details h6{
    font-size: 14px;
    /* color: var(--outgoing-message-text); */
    margin-bottom: 5px;
}

.tyn-reply-audio,
.tyn-reply-image {
    max-width: 100%;
    font-size: 0.833rem;
    padding: 6px 4px 0px 4px;
    border-radius: inherit;
    color: var(--reply-text);
    background: var(--reply-bg);
}
.outgoing .tyn-reply-audio,
.outgoing .tyn-reply-image {
    color: var(--outgoing-message-text);
    background: var(--PrimaryColor);
}
 .tyn-reply-audio audio {
    width: 240px;
    height: 36px;
}
.tyn-reply-separator {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    padding: var(--content-sap-y) var(--content-gap-x);
    position: relative;
    z-index: 0;
}
.tyn-reply-separator::before{
    content: "";
    position: absolute;
    width: 92%;
    left: 50%;
    height: 1px;
    background-color: #e5e5e5;
    top: 50%;
    transform: translate(-50%,-50%);
}
.tyn-reply-separator span{
    background-color: #e9e7e7;
    padding: 2px 8px;
    border-radius: 12px;
    display: block;
    position: relative;
    z-index: 1;
    width: fit-content;
    margin: 0 auto;
    font-size: 11px;
}
.tyn-reply-text.msg-custom a {
    display: flex;
    flex-direction: column;
}
.tyn-reply-text.msg-custom img,
.tyn-reply-text.msg-img img,
.tyn-reply-text.msg-custom .pdf-view-box {
    height: 65px;
    align-self: center;
    object-fit: cover;
    width: 100%;
}
.tyn-reply-text.msg-custom .pdf-view-box{
    background-color: #f3f3f3;
    border-radius: 6px;
    padding:9px 4px;

}
.tyn-reply-text.msg-custom .pdf-view-box .icon-btns{
    position: absolute;
    right: -3px;
    bottom: -10px;
}

.incoming .tyn-reply-text.msg-custom .pdf-view-box{
    background-color: #d9d9d9 !important;
}

.incoming .chat-file-preview a{
    color: var(--reply-text) !important;
}
.chat-file-preview a{
    color: var(--PrimaryColor) !important;
    background-color: var(--outgoing-message-text) !important;
}
.tyn-reply-text.msg-custom .pdf-view-box h5{
    background-color: transparent !important;
    font-size: 12px;
    line-height: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #212629 !important;
}
.custom-file-wrapper{
    grid-template-columns: repeat(2,1fr);
    display: grid;
    gap: 6px;
    max-width: 186px;
    width: 100%;
}
.tyn-reply-text.msg-custom .pdf-view-box h6{
    font-size:11px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tyn-reply-text.msg-custom h5 {
    color: var(--reply-text);
    background: var(--reply-bg);
    font-size: 14px;
    margin: 0;
}
.outgoing .tyn-reply-text.msg-custom h5 {
    color: var(--outgoing-message-text);
    background: var(--outgoing-message-bg);
}
.tyn-reply-text.msg-custom p {
    color: var(--reply-text);
    background: var(--reply-bg);
    font-size: 12px;
    margin: 0;
}
.outgoing .tyn-reply-text.msg-custom p {
    color: var(--outgoing-message-text);
    background: var(--outgoing-message-bg);
}

.tyn-live-chat-footer .tyn-chat-form-input {
    flex: 1;
    width: 100%;
    font-size: 14px;
    color: #000;
    font-weight: 500;
    background-color: transparent !important;
    padding: 0 4px;
    overflow: auto;
    height: 100%;
    min-height: 22px;
    max-height: 70px;
}
.tyn-chat-form-input.bg-light {
    --bs-bg-opacity: 1;
    background-color: rgba(
        var(--bs-light-rgb),
        var(--bs-bg-opacity)
    ) !important;
    margin-top: 15px;
}
.tyn-quick-chat-form .tyn-list-inline {
    margin: 0;
    padding: 0;
    list-style: none;
}
.tyn-quick-chat-form .btn-white {
    --bs-btn-color: #475569;
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: #ffffff;
    --bs-btn-hover-color: #2563eb;
    --bs-btn-hover-bg: #bfdbfe;
    --bs-btn-hover-border-color: #bfdbfe;
    --bs-btn-focus-shadow-rgb: 227, 230, 233;
    --bs-btn-active-color: #2563eb;
    --bs-btn-active-bg: #bfdbfe;
    --bs-btn-active-border-color: #bfdbfe;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #475569;
    --bs-btn-disabled-bg: #ffffff;
    --bs-btn-disabled-border-color: #ffffff;
}

.link-container {
    display: inline;
}

.toggle-link {
    color: var(--SecondaryColor);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline !important;
    font-size: 12px;
}

.toggle-link:hover {
    text-decoration: none;
}
.unread-count{
    background: #f13c3c;
    color: #fff;
    padding: 6px 9px !important;
}
.image-preview-chat{
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 12px;
    height: fit-content;
    max-height: 145px;
    overflow: auto;
}
.image-preview-chat{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
}

.image-preview-chat .image-grid{
    height: 80px;
    border-radius: 6px;
    background-color: #fff;
    overflow: hidden;
}
.image-preview-chat .image-box .img-view img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.image-preview-chat  .chat-text{
    font-size: 11px;
    font-weight: 400;
    color: #000;
    margin: 8px 0 0 0;
    border-top: 1px solid #cdcdcd;
    padding: 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;   
    text-align: center; 
}
.pdf-body{
    padding: 5px;
    height: 45px;
}
.image-preview-chat .remove-btn-pdf{
    position: absolute;
    right: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 35px;
    font-size: 14px;
    z-index: 8;
    color: #d61010;
    cursor: pointer;
}
.chat-file-preview{
    width: fit-content;
}
.tyn-reply-text.msg-custom .images-show-more{
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    border: 0;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 10px;
    line-height: normal;
    background:#eaeaea;
    color: #000;
}
/* mic-recording animation */
.record-icons .icon-btn.button-effect.mic-recording svg{
    stroke:var(--PrimaryColor) ;
}
.record-icons .icon-btn.button-effect::before {
    content: "";
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 35px;
    background-color: var(--PrimaryColor) ;
    opacity: 0.5;
    z-index: 0;
    transform: scale(0);
    left: -6px;
    top: -2px;
}
.record-icons .mic-recording::before{
    animation: listening 1.3s infinite;
}

@keyframes listening {
    from {
      opacity: 0.5;
    }
    to {
      transform: scale(1.3);
      opacity: 0;
    }
  }
  
/* @media */
@media (max-width: 360px) {
    .tyn-quick-chat-box {
        width: 17rem;
    }
}
