﻿:root {
    --vs-primary: #2b59ff;
    --vs-primary-2: #6b8cff;
    --vs-danger: #ef4444;
    --vs-bg: #f6f7fb;
    --vs-bubble-bot: #ffffff;
    --vs-bubble-user: #2b59ff;
    --vs-text: #1f2937;
    --vs-text-muted: #6b7280;
    --vs-border: #e7e9f3;
}

/* FAB */
.vs-btn-fab {
    position: fixed !important;
    bottom: 22px !important;
    left: 22px !important;
    top: auto !important;
    z-index: 2147483647 !important;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 0;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
    transition: transform .28s ease, opacity .28s ease;
}

    .vs-btn-fab img {
        width: 64px;
        height: 64px;
        pointer-events: none;
        border-radius: 50%
    }

    .vs-btn-fab.hide-fab {
        transform: translateY(120px);
        opacity: 0;
        pointer-events: none
    }

/* Teaser */
.vs-teaser {
    position: fixed;
    bottom: 100px;
    left: 22px;
    z-index: 2147483646;
    display: none
}

    .vs-teaser .vs-teaser-bubble {
        background: #fff;
        border: 1px solid var(--vs-border);
        border-radius: 12px;
        padding: 10px 12px;
        font-size: 14px;
        box-shadow: 0 14px 36px rgba(0,0,0,.12)
    }

    .vs-teaser .vs-teaser-tail {
        width: 12px;
        height: 12px;
        background: #fff;
      /*  border-left: 1px solid var(--vs-border);
        border-bottom: 1px solid var(--vs-border);*/
        position: absolute;
        bottom: -6px;
        left: 18px;
        transform: rotate(45deg)
    }

    .vs-teaser .vs-teaser-close {
        position: absolute;
        top: -8px;
        left: -8px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #fff;
        border: 0;
        color: #888;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,.15)
    }

    .vs-teaser.hide {
        opacity: 0;
        transform: translateY(6px);
        pointer-events: none;
        transition: all .2s
    }

/* Chatbox */
.vs-chatbox {
    position: fixed;
    bottom: 86px;
    left: 22px;
    width: 380px;
    max-height: 82vh; /* ← بلندتر */
    z-index: 2147483645;
    display: none;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(34,45,90,.25);
    font-family: estedad, Vazirmatn, Segoe UI, Tahoma, sans-serif;
    display: flex;
    min-height: 450px;
    flex-direction: column; /* ستون امن بدون calc(...) */
}

@media (max-width:480px) {
    .vs-chatbox {
        left: 10px;
        right: 10px;
        width: auto
    }
}

/* Header */
.vs-header {
    background: linear-gradient(135deg,var(--vs-primary),#182ea8);
    color: #fff;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto
}

.vs-brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.vs-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff
}

.vs-title {
    font-weight: 800;
    font-size: 15px
}

.vs-sub {
    font-size: 12px;
    opacity: .85
}

.vs-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    opacity: .9
}

    .vs-close:hover {
        opacity: 1
    }

/* Messages fill */
.vs-messages {
    background: var(--vs-bg);
    padding: 14px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto
}

.vs-msg {
    display: flex;
    margin: 10px 0
}

.vs-bot {
    justify-content: flex-start
}

.vs-user {
    justify-content: flex-end
}

/* Bubbles */
.vs-bubble {
    line-height: 1.85;
    font-size: 14px;
   /* white-space: pre-wrap;*/
    max-width: 84%;
    padding: 10px 12px;
    border-radius: 14px
}

.vs-bot .vs-bubble {
    background: var(--vs-bubble-bot);
    color: var(--vs-text);
    border: 1px solid var(--vs-border);
    box-shadow: 0 6px 18px rgba(0,0,0,.05)
}

.vs-user .vs-bubble {
    background: var(--vs-bubble-user);
    color: #fff;
    border-radius: 16px 16px 4px 16px;
    max-width: 80%;
    box-shadow: 0 10px 24px rgba(43,89,255,.25)
}

.vs-bubble a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px dashed rgba(37,99,235,.35)
}

    .vs-bubble a:hover {
        color: #1d4ed8
    }

/* Meta time under message */
.vs-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--vs-text-muted);
    margin-top: 6px
}

    .vs-meta::before {
        content: "\23F0";
        font-size: 12px;
        opacity: .7
    }
/* ⏰ */
.vs-bot + .vs-meta {
    align-self: flex-start;
    margin-right: 6px
}

.vs-user + .vs-meta {
    align-self: flex-end;
    margin-left: 6px
}

/* Typing */
.vs-typing {
    padding: 6px 16px 10px;
    background: #fff;
    border-top: 1px solid var(--vs-border);
    flex: 0 0 auto
}

    .vs-typing .dot {
        width: 8px;
        height: 8px;
        margin: 0 2px;
        border-radius: 50%;
        display: inline-block;
        background: #c3c8d2;
        animation: blink 1.2s infinite ease-in-out
    }

        .vs-typing .dot:nth-child(2) {
            animation-delay: .2s
        }

        .vs-typing .dot:nth-child(3) {
            animation-delay: .4s
        }

@keyframes blink {
    0%,80%,100% {
        opacity: .2
    }

    40% {
        opacity: 1
    }
}

/* Quick chips */
.vs-quick {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 12px;
    background: #fff;
    border-top: 1px solid var(--vs-border);
    flex: 0 0 auto
}

.chip {
    border: 1px solid var(--vs-border);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    background: #fff;
    cursor: pointer
}

    .chip:hover {
        border-color: var(--vs-primary);
        color: var(--vs-primary)
    }

/* Input bar */
.vs-input {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-top: 1px solid var(--vs-border);
    background: #fff;
    flex: 0 0 auto
}

#chatbot-user-input {
    flex: 1;
    border: 1px solid var(--vs-border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    background: #fff
}

    #chatbot-user-input:disabled {
        background: #f1f3fb;
        color: #9aa3b2
    }

.vs-send {
    background: var(--vs-primary);
    border: 0;
    color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(43,89,255,.28)
}

    .vs-send:hover {
        filter: brightness(1.06)
    }

    .vs-send:disabled {
        opacity: .5;
        cursor: not-allowed;
        box-shadow: none
    }

/* Lead (compact) */
.vs-lead {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
    background: #f7f8fe;
    border: 1px solid var(--vs-border);
    border-radius: 12px;
    padding: 12px
}

    .vs-lead input {
        border: 1px solid var(--vs-border);
        border-radius: 10px;
        padding: 10px 12px;
        font-size: 14px;
        background: #fff
    }

        .vs-lead input:focus {
            border-color: var(--vs-primary-2);
            box-shadow: 0 0 0 3px rgba(43,89,255,.12);
            outline: none
        }

.vs-lead-btn {
    align-self: flex-start;
    background: var(--vs-primary);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer
}

.vs-lead-err {
    color: var(--vs-danger);
    font-size: 12px;
    margin-top: 2px
}

/* Scrollbar */
.vs-messages::-webkit-scrollbar {
    width: 10px
}

.vs-messages::-webkit-scrollbar-thumb {
    background: #cdd3df;
    border-radius: 999px
}

.vs-messages::-webkit-scrollbar-track {
    background: transparent
}
/* --- Lead form: نسخهٔ فشرده مثل نمونه --- */

/* عنوان فرم */
.vs-lead-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    margin: 0 0 8px 0; /* فاصله‌ی بالایی کم شد */
    font-size: 14px;
    color: var(--vs-text);
}

/* ظرف فرم داخل حباب ربات */
.vs-lead {
    background: #f7f8fe;
    border: 1px solid var(--vs-border);
    border-radius: 12px;
    padding: 12px; /* کمتر از قبل تا فرم جمع‌وجور شود */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    /* فیلدها */
    .vs-lead input {
        height: 44px; /* قد یکنواخت */
        border: 1px solid var(--vs-border);
        border-radius: 12px;
        padding: 0 12px;
        font-size: 14px;
        line-height: 1;
        background: #fff;
    }

        .vs-lead input::placeholder {
            color: #9aa3b2
        }

        .vs-lead input:focus {
            border-color: var(--vs-primary-2);
            box-shadow: 0 0 0 3px rgba(43,89,255,.12);
            outline: none;
        }

/* دکمه: تمام‌عرض و اندازه متعادل مثل تصویر نمونه */
.vs-lead-btn {
    width: 100%;
    height: 44px;
    background: var(--vs-primary);
    color: #fff;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(43,89,255,.20);
}

    .vs-lead-btn:hover {
        filter: brightness(1.05)
    }

/* پیام خطا */
.vs-lead-err {
    color: var(--vs-danger);
    font-size: 12px;
    margin-top: 2px
}

/* فاصله‌ی حبابِ فرم تا حاشیه‌ها کمی کمتر شود */
.vs-bot .vs-bubble .vs-lead {
    margin-top: 4px
}


/* Persian fonts */
@font-face {
    font-family: 'estedad';
    src: url('/Content/assets/fonts/estedad.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'vazir';
    src: url('/Content/assets/fonts/Vazir-FD.woff2') format('woff2');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'yekan';
    src: url('/Content/assets/fonts/Yekan.eot');
    src: url('/Content/assets/fonts/Yekan.eot?#iefix') format("embedded-opentype"), url('/Content/assets/fonts/Yekan.woff') format("woff"), url('/Content/assets/fonts/Yekan.ttf') format("truetype"), url('/Content/assets/fonts/Yekan.svg#BYekan') format("svg");
    font-weight: normal;
    font-style: normal
}

:root {
    --font: @fontFamilyVal;
    --primary: @primary;
    --primary-soft: @primarySoft;
    --primary-border: @primaryBorder;
    --bgt: @bg;
    --textc: @textColor;
    --fs: @(fontSizeVal)px;
    --radius: 16px;
}


/* شمای کلی صفحه پیش‌نمایش */
/*body {
    margin: 0;
    background: #f7f7fb;
    height: 100vh;
    font-family: var(--font);
    color: var(--textc);
}*/
.mobochat-root {
    margin: 0;
    background: #f7f7fb;
    height: 100vh;
    font-family: var(--font);
    color: var(--textc);
}
.chat, .chat * {
    font-family: var(--font);
    font-size: var(--fs);
}



.preview-host {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/* دکمه شناور */
/*.vs-fab{
          position:absolute; bottom:24px; right:24px; width:64px; height:64px; border-radius:50%;
          background:var(--primary); box-shadow:0 8px 22px rgba(0,0,0,.16); cursor:pointer; display:grid; place-items:center;
          transition:transform .15s ease;
        }
        .vs-fab.left{ right:auto; left:24px; }
        .vs-fab:hover{ transform:translateY(-2px); }
        .vs-fab img{ width:32px; height:32px; display:block; }
        .vs-fab.shake{ animation:shake 1.1s linear infinite; }*/
@keyframes shake {
    0%, 100% {
        transform: translate(0,0);
    }

    20% {
        transform: translate(1px,-1px) rotate(2deg);
    }

    40% {
        transform: translate(-1px,1px) rotate(-2deg);
    }

    60% {
        transform: translate(1px,0) rotate(1deg);
    }

    80% {
        transform: translate(-1px,0) rotate(-1deg);
    }
}

/* پنجره چت */
.vs-chat {
    position: absolute;
    bottom: 98px;
    right: 24px;
    width: 360px;
    max-width: 92vw;
    height: 520px;
    background: var(--bgt);
    border-radius: var(--radius);
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 60px rgba(2,6,23,.18);
    transform-origin: bottom right;
    display: none;
    overflow: hidden;
    font-size: var(--fs);
    font-family: var(--font);
}

    .vs-chat.left {
        right: auto;
        left: 24px;
        transform-origin: bottom left;
    }

/* سربرگ */

.vs-head {
    background-color: var(--primary, #473bf0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between; /* عنوان چپ / دکمه بستن راست */
    padding: 12px 14px;
    border-top-left-radius: var(--radius,16px);
    border-top-right-radius: var(--radius,16px);
    position: relative;
}

.vs-head-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0; /* برای truncate عنوان در موبایل */
}

    .vs-head-left img {
        width: 32px;
        height: 32px;
        border-radius: 9999px;
        object-fit: cover;
        flex-shrink: 0;
        border: 2px solid rgba(255,255,255,.4);
        background: #fff;
    }

.vs-head-titles {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vs-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.vs-sub {
    font-size: 12px;
    line-height: 1.2;
    color: rgba(255,255,255,.8);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* دکمه بستن */
.vs-head-close {
    background: rgba(0,0,0,0.15);
    border: 0;
    color: #fff;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background .15s;
    flex-shrink: 0;
}

    .vs-head-close:hover {
        background: rgba(0,0,0,0.3);
        color: #fff;
    }

    .vs-head-close i {
        font-size: 14px;
        line-height: 1;
        pointer-events: none;
        color: #fff;
    }

/*.vs-head{ background:var(--primary); color:#fff; padding:12px 16px; display:flex; align-items:center; gap:8px; }
        .vs-head img{ width:28px; height:28px; border-radius:50%; border:2px solid rgba(255,255,255,.35); }
        .vs-title{ font-weight:700; }
        .vs-sub{ font-size:.85em; opacity:.9; }*/

/* بدنه پیام‌ها */
.vs-body {
    background: var(--bgt);
    height: calc(100% - 52px - 96px);
    padding: 12px;
    overflow: auto;
}

.msg {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 12px;
    margin: 6px 0;
    line-height: 1.7;
}

    .msg.bot {
        background: var(--primary-soft);
        border: 1px solid var(--primary-border);
    }

    .msg.user {
        background: var(--primary);
        color: #fff;
        border: 1px solid rgba(0,0,0,.06);
        margin-right: auto;
    }


/* ورودی پایین */
.vs-input {
    height: 56px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-top: 1px solid #e5e7eb;
    background: var(--bgt);
}

    .vs-input input {
        flex: 1;
        height: 40px;
        border: 1px solid #cbd5e1;
        border-radius: 10px;
        padding: 0 12px;
        font-family: inherit;
    }

    .vs-input button {
        font: var(--font);
        height: 40px;
        padding: 0 14px;
        border-radius: 10px;
        background: var(--primary);
        color: #fff;
        border: none;
        cursor: pointer;
    }

/* انیمیشن‌ها */
.fade-in {
    animation: fade-in .22s ease;
}

.slide-in {
    animation: slide-in .22s ease;
}

.zoom-in {
    animation: zoom-in .22s ease;
}

@keyframes fade-in {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes slide-in {
    from {
        transform: translateY(12px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

@keyframes zoom-in {
    from {
        transform: scale(.96);
        opacity: .6
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

/* دکمه نمایشی برای ورود سریع پیام */
.demo-actions {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    display: flex;
    gap: 8px;
}

    .demo-actions button {
        border: 1px solid #d1d5db;
        background: #fff;
        border-radius: 8px;
        padding: 6px 10px;
        cursor: pointer;
    }


/* دکمه شناور (FAB) – دایره‌ای + کراپ */
/* FAB همیشه دایره‌ای */
.vs-fab {
    position: fixed;
    bottom: 24px;
    left: auto;
    right: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    box-shadow: 0 12px 32px rgba(0,0,0,.2);
    background: #fff;
    border: 2px solid rgba(0,0,0,.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease; /* ← برای انیمیشن بالا/پایین */
    z-index: 9999;
}

    .vs-fab.left {
        right: auto;
        left: 24px;
    }

    .vs-fab:hover {
        transform: translateY(-2px);
    }

    /* تصویر داخل FAB */
    .vs-fab img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        display: block;
        transition: opacity .18s ease, transform .18s ease;
        will-change: opacity, transform;
        opacity: 1;
    }

    /* فقط آیکون روی hover دیده شود: تصویر محو می‌شود */
    .vs-fab:hover img {
        opacity: 0;
        transform: none;
    }

    /* آیکون چت روی hover */
    .vs-fab::after {
        content: "";
        position: absolute;
        inset: 0;
        margin: auto;
        width: 28px;
        height: 28px;
        opacity: 0;
        transform: scale(.95);
        background-repeat: no-repeat;
        background-size: contain;
        transition: opacity .18s ease, transform .18s ease;
        pointer-events: none;
        background-image: url("data:image/svg+xml;utf8,\
          <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a3d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'>\
          <path d='M21 15a4 4 0 0 1-4 4H7l-4 4V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/>\
          <circle cx='9' cy='11' r='1.2'/>\
          <circle cx='12' cy='11' r='1.2'/>\
          <circle cx='15' cy='11' r='1.2'/>\
          </svg>");
    }

    .vs-fab:hover::after {
        opacity: 1;
        transform: scale(1.06);
    }

    .vs-fab.fab-hidden {
        transform: translateY(120px); /* می‌ره پایین */
        opacity: 0;
        pointer-events: none;
    }


/* اگر می‌خواهی رنگ آیکون با رنگ اصلی هماهنگ شود: */
:root {
    --accent: #ff6a3d;
}
/* در همان فایل شما هست */



.teaser-bubble {
    position: absolute;
    bottom: 100px; /* فاصله از کف؛ نسبت به محل FAB فعلی */
    right: 34px; /* وقتی FAB سمت راست است */
    max-width: 280px;
    direction: rtl;
    background: #fff;
    color: #0f172a;
    border: 1px solid rgba(2,6,23,.08);
    border-radius: 18px;
    padding: 12px 16px 12px 24px;
    box-shadow: 0 8px 30px rgba(2,6,23,.10);
    font: 500 14px/1.8 var(--font, system-ui);
    z-index: 30;
}

    .teaser-bubble::after { /* دم حباب */
        content: "";
        position: absolute;
        bottom: -8px;
        right: 28px; /* راست بودن */
        width: 14px;
        height: 14px;
        background: #fff;
        /* border: 1px solid rgba(2,6,23,.08);*/
        border-left: none;
        border-top: none;
        transform: rotate(45deg);
        /* box-shadow: 2px 2px 10px rgba(2,6,23,.06);*/
    }

    .teaser-bubble .teaser-close {
        position: absolute;
        inset-inline-start: 1px;
        inset-block-start: -8px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 1px solid rgba(2,6,23,.1);
        background: #fff;
        color: #334155;
        font: 700 16px/20px ui-sans-serif;
        display: grid;
        place-items: center;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(2,6,23,.08);
    }

        .teaser-bubble .teaser-close:hover {
            background: #f8fafc;
        }

    .teaser-bubble .teaser-text {
        white-space: pre-wrap;
    }

/* وقتی دکمه‌ی ویجت سمت چپ است */
.left .teaser-bubble {
    right: auto;
    left: 34px;
}

    .left .teaser-bubble::after {
        right: auto;
        left: 28px;
        transform: rotate(225deg);
    }

/* همخوانی با رنگ برند */
:root {
    --teaser-ring: var(--primary, #10b981);
}

.teaser-bubble {
    border-color: color-mix(in oklab, var(--teaser-ring) 24%, white);
}

    /* وقتی سمت چپ شد */
    .teaser-bubble.left {
        right: auto;
        left: 24px;
    }

        .teaser-bubble.left::after {
            right: auto;
            left: 28px;
            transform: rotate(225deg);
        }

/* کانتینر چت فلکس عمودی باشد */
.vs-chat {
    display: flex;
    flex-direction: column;
}

/* ناحیه پیام‌ها فضای باقیمانده را پر کند */
.vs-body {
    flex: 1;
    overflow: auto;
}

/* فوتر چسبان پایین چت */
.vs-foot {
    position: sticky;
    bottom: 0;
    background: var(--bgt);
    padding: 8px 10px 10px;
    box-shadow: 0 -8px 24px rgba(0,0,0,.06);
    z-index: 2;
}

/* ورودی و دکمه در یک ردیف مرتب */
.vs-input {
    display: flex;
    gap: 8px;
    align-items: center;
}

    .vs-input input {
        flex: 1;
        height: 40px;
        border: 1px solid var(--primary-border);
        background: #fff;
        border-radius: 12px;
        padding: 0 12px;
    }

    .vs-input button {
        height: 40px;
        padding: 0 16px;
        border: none;
        border-radius: 12px;
        background: var(--primary);
        color: #fff;
        font-weight: 700;
    }

/* برندینگ زیر input و وسط */
.branding {
    margin-top: 6px;
    text-align: center;
    font: 600 12px/1.7 var(--font);
    color: #64748b;
}

    .branding a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 800;
    }

/* برای پنهان‌سازی برندینگ با اسکریپت */
.hidden {
    display: none !important;
}

.vs-quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    /* 👇 هماهنگ با فونت و سایز چت‌بات */
    font-family: var(--font);
    font-size: var(--fs);
    line-height: 1.6;
}

    .vs-quick-questions .qq-chip {
        border: 1px solid var(--primary-border);
        background: var(--primary-soft);
        color: var(--textc);
        border-radius: 8px;
        padding: 4px 10px;
        /* 👇 این‌ها رو هم inherit کنه تا دقیق همون استایل متن بدنه باشه */
        font-family: inherit;
        font-size: inherit;
        line-height: inherit;
        font-weight: 500;
        cursor: pointer;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        .vs-quick-questions .qq-chip:hover {
            filter: brightness(0.95);
        }


/* انیمیشن حرکت FAB هنگام باز شدن چت */
#fab.fab-animate {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    #fab.fab-animate.fab-down {
        transform: translateY(80px);
    }
/*            .fade-in{ animation:fadeIn .25s both; }
.slide-in{ animation:slideInUp .25s both; }
.zoom-in{ animation:zoomIn .25s both; }
@@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@@keyframes slideInUp{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}
@@keyframes zoomIn{from{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}

*/

/* اسلاید از پایین */
.slide-in {
    animation: slideIn 0.25s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* فید ساده */
.fade-in {
    animation: fadeIn 0.25s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* زوم از کوچیک به بزرگ */
.zoom-in {
    animation: zoomIn 0.25s ease forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}



