/* Live Support widget */
body.mv-site .mv-support {
    bottom: 24px;
    left: auto;
    position: fixed;
    right: 24px;
    top: auto;
    z-index: 1060;
}

body.mv-site .mv-support__launcher {
    align-items: center;
    background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 45%, #2563eb 100%);
    border: 2px solid rgba(186, 230, 253, .9);
    border-radius: 19px;
    box-shadow: 0 0 0 7px rgba(14, 165, 233, .1), 0 16px 38px rgba(2, 132, 199, .35);
    color: #fff;
    display: flex;
    gap: 11px;
    height: 70px;
    min-height: 70px;
    padding: 8px 18px 8px 9px;
    position: relative;
    text-align: left;
    width: 222px;
}

body.mv-site .mv-support__launcher:hover {
    background: linear-gradient(135deg, #67e8f9 0%, #0ea5e9 42%, #1d4ed8 100%);
    color: #fff;
    transform: translateY(-2px);
}

body.mv-site .mv-support__launcher--standalone {
    position: fixed;
    text-decoration: none;
}

body.mv-site .mv-support__icon {
    align-items: center;
    background: rgba(255, 255, 255, .9);
    border-radius: 13px;
    color: #075985;
    display: flex;
    flex: 0 0 50px;
    font-size: 22px;
    height: 50px;
    justify-content: center;
}

body.mv-site .mv-support__launcher-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

body.mv-site .mv-support__launcher-copy strong {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

body.mv-site .mv-support__launcher-copy small {
    color: #dbeafe;
    font-size: 11px;
    margin-top: 2px;
    white-space: nowrap;
}

body.mv-site .mv-support__badge {
    align-items: center;
    background: #ef4444;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    height: 24px;
    justify-content: center;
    min-width: 24px;
    padding: 0 5px;
    position: absolute;
    right: -5px;
    top: -8px;
}

body.mv-site .mv-support-promo {
    background: linear-gradient(145deg, #061827, #071e31);
    border: 1px solid rgba(34, 211, 238, .5);
    border-radius: 18px 18px 5px 18px;
    bottom: 118px;
    box-shadow: 0 22px 55px rgba(2, 8, 23, .42), inset 0 0 0 5px rgba(14, 165, 233, .08);
    color: #fff;
    max-width: calc(100vw - 48px);
    padding: 22px 95px 20px 21px;
    position: fixed;
    right: 115px;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    width: 300px;
    z-index: 1059;
}

body.mv-site .mv-support-promo::after {
    border-left: 18px solid #071e31;
    border-top: 18px solid transparent;
    bottom: -1px;
    content: "";
    height: 0;
    position: absolute;
    right: -17px;
    width: 0;
}

body.mv-site .mv-support-promo.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    visibility: hidden;
}

body.mv-site .mv-support-promo__close {
    align-items: center;
    background: rgba(30, 58, 78, .75);
    border: 0;
    border-radius: 50%;
    color: #93c5fd;
    display: flex;
    height: 30px;
    justify-content: center;
    position: absolute;
    right: 11px;
    top: 11px;
    width: 30px;
}

body.mv-site .mv-support-promo__eyebrow {
    color: #67e8f9;
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: 9px;
}

body.mv-site .mv-support-promo > strong {
    color: #fff;
    display: block;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 7px;
}

body.mv-site .mv-support-promo p {
    color: #a9c3d8;
    font-size: 13px;
    line-height: 1.45;
    margin: 0 0 14px;
}

body.mv-site .mv-support-promo__action {
    align-items: center;
    background: linear-gradient(135deg, #67e8f9, #0ea5e9);
    border-radius: 999px;
    color: #082f49;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 7px;
    min-height: 38px;
    padding: 8px 14px;
    text-decoration: none;
}

body.mv-site .mv-support-promo__action:hover {
    color: #082f49;
    transform: translateY(-1px);
}

body.mv-site .mv-support-bot {
    bottom: 16px;
    height: 93px;
    position: absolute;
    right: -61px;
    width: 82px;
}

body.mv-site .mv-support-bot__antenna {
    background: #4ade80;
    border-radius: 999px;
    box-shadow: 0 0 12px #4ade80;
    height: 20px;
    left: 39px;
    position: absolute;
    top: 0;
    width: 5px;
}

body.mv-site .mv-support-bot__antenna::before {
    background: #4ade80;
    border-radius: 50%;
    content: "";
    height: 9px;
    left: -2px;
    position: absolute;
    top: -4px;
    width: 9px;
}

body.mv-site .mv-support-bot__head {
    background: linear-gradient(145deg, #f8fafc, #93c5fd);
    border: 3px solid #dbeafe;
    border-radius: 25px;
    box-shadow: 0 0 22px rgba(56, 189, 248, .65);
    height: 49px;
    left: 9px;
    position: absolute;
    top: 17px;
    width: 66px;
}

body.mv-site .mv-support-bot__head::before {
    background: #062238;
    border-radius: 17px;
    content: "";
    inset: 7px;
    position: absolute;
}

body.mv-site .mv-support-bot__head i {
    background: #67e8f9;
    border-radius: 50%;
    box-shadow: 0 0 9px #22d3ee;
    height: 7px;
    position: absolute;
    top: 20px;
    width: 7px;
    z-index: 1;
}

body.mv-site .mv-support-bot__head i:first-child { left: 22px; }
body.mv-site .mv-support-bot__head i:last-child { right: 22px; }

body.mv-site .mv-support-bot__body {
    align-items: center;
    background: linear-gradient(180deg, #38bdf8, #1d4ed8);
    border: 2px solid #bfdbfe;
    border-radius: 10px 10px 22px 22px;
    bottom: 0;
    color: #fff;
    display: flex;
    height: 35px;
    justify-content: center;
    left: 24px;
    position: absolute;
    width: 37px;
}

body.mv-site .mv-support__panel {
    background: #fff;
    border: 1px solid var(--mv-border);
    border-radius: 18px;
    bottom: 82px;
    box-shadow: 0 24px 70px rgba(8, 47, 73, .24);
    display: flex;
    flex-direction: column;
    height: min(620px, calc(100vh - 135px));
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
    transform: translateY(12px) scale(.98);
    transition: opacity 180ms ease, transform 180ms ease;
    visibility: hidden;
    width: 390px;
}

body.mv-site .mv-support__panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); visibility: visible; }
body.mv-site .mv-support__header { align-items: center; background: linear-gradient(135deg, var(--mv-navy-950), var(--mv-primary-700)); color: #fff; display: flex; gap: 12px; min-height: 72px; padding: 14px 16px; }
body.mv-site .mv-support__avatar { align-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); border-radius: 13px; display: flex; flex: 0 0 44px; font-size: 20px; height: 44px; justify-content: center; }
body.mv-site .mv-support__title-wrap { display: flex; flex: 1; flex-direction: column; line-height: 1.35; }
body.mv-site .mv-support__presence { align-items: center; color: #dbeafe; display: flex; font-size: 12px; gap: 6px; margin-top: 3px; }
body.mv-site .mv-support__presence-dot { background: #94a3b8; border-radius: 50%; height: 8px; width: 8px; }
body.mv-site .mv-support__presence-dot.is-online { background: #4ade80; }
body.mv-site .mv-support__minimize,
body.mv-site .mv-support__close { align-items: center; background: transparent; border: 0; border-radius: 9px; color: #fff; display: flex; flex: 0 0 42px; height: 42px; justify-content: center; width: 42px; }
body.mv-site .mv-support__minimize:hover,
body.mv-site .mv-support__close:hover { background: rgba(255,255,255,.12); }
body.mv-site .mv-support__notice { background: #fff7ed; border-bottom: 1px solid #fed7aa; color: #9a3412; font-size: 12px; padding: 9px 14px; }
body.mv-site .mv-support__ticket-closed { align-items: center; background: #f8fbfd; color: #64748b; display: none; flex: 1; flex-direction: column; justify-content: center; padding: 30px; text-align: center; }
body.mv-site .mv-support__ticket-closed i { color: #22c55e; font-size: 46px; margin-bottom: 14px; }
body.mv-site .mv-support__ticket-closed strong { color: #0f172a; font-size: 18px; }
body.mv-site .mv-support__ticket-closed p { font-size: 13px; margin: 8px 0 18px; }
body.mv-site .mv-support__reload { background: var(--mv-primary-600); border: 0; border-radius: 11px; color: #fff; font-weight: 700; min-height: 42px; padding: 9px 18px; }
body.mv-site .mv-support__panel.is-ticket-closed .mv-support__ticket-closed { display: flex; }
body.mv-site .mv-support__panel.is-ticket-closed .mv-support__messages,
body.mv-site .mv-support__panel.is-ticket-closed .mv-support__upload-preview,
body.mv-site .mv-support__panel.is-ticket-closed .mv-support__composer { display: none; }
body.mv-site .mv-support__messages { background: #f8fbfd; flex: 1; overflow-y: auto; padding: 16px; }
body.mv-site .mv-support__load-old { background: transparent; border: 0; color: var(--mv-primary-700); display: block; font-size: 12px; font-weight: 700; margin: 0 auto 12px; }
body.mv-site .mv-support__empty { align-items: center; color: var(--mv-text-muted); display: flex; flex-direction: column; gap: 8px; margin: 70px auto 0; max-width: 260px; text-align: center; }
body.mv-site .mv-support__empty i { color: var(--mv-primary-500); font-size: 34px; }
body.mv-site .mv-support__empty strong { color: var(--mv-text); }
body.mv-site .mv-support__empty span { font-size: 13px; }
body.mv-site .mv-support__message { display: flex; flex-direction: column; margin-bottom: 13px; max-width: 84%; }
body.mv-site .mv-support__message.is-user { align-items: flex-end; margin-left: auto; }
body.mv-site .mv-support__message.is-support { align-items: flex-start; margin-right: auto; }
body.mv-site .mv-support__bubble { background: #fff; border: 1px solid var(--mv-border); border-radius: 16px 16px 16px 5px; color: var(--mv-text); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; padding: 10px 13px; white-space: pre-wrap; }
body.mv-site .mv-support__message.is-user .mv-support__bubble { background: linear-gradient(135deg, var(--mv-primary-700), var(--mv-primary-500)); border: 0; border-radius: 16px 16px 5px 16px; color: #fff; }
body.mv-site .mv-support__image-button { background: transparent; border: 0; border-radius: 14px; box-shadow: 0 4px 14px rgba(15, 23, 42, .12); cursor: zoom-in; display: block; max-width: 100%; overflow: hidden; padding: 0; }
body.mv-site .mv-support__image-button img { display: block; height: auto; max-height: 280px; max-width: 270px; object-fit: cover; width: auto; }
body.mv-site .mv-support__image-button.is-unavailable { background: #e2e8f0; box-shadow: none; color: #64748b; cursor: default; font-size: 12px; min-height: 54px; padding: 12px 16px; }
body.mv-site .mv-support__meta { color: #64748b; font-size: 10px; margin-top: 4px; padding: 0 4px; }
body.mv-site .mv-support__upload-preview { align-items: center; background: #f0f9ff; border-top: 1px solid #bae6fd; display: flex; gap: 10px; min-height: 64px; padding: 8px 12px; }
body.mv-site .mv-support__upload-preview[hidden] { display: none; }
body.mv-site .mv-support__upload-thumbnail { border-radius: 8px; height: 46px; object-fit: cover; width: 46px; }
body.mv-site .mv-support__upload-name { color: #475569; flex: 1; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.mv-site .mv-support__upload-remove { align-items: center; background: transparent; border: 0; border-radius: 50%; color: #64748b; display: flex; height: 34px; justify-content: center; width: 34px; }
body.mv-site .mv-support__composer { align-items: flex-end; background: #fff; border-top: 1px solid var(--mv-border); display: flex; gap: 9px; padding: 12px; }
body.mv-site .mv-support__attach { align-items: center; background: #e0f2fe; border-radius: 13px; color: #0369a1; cursor: pointer; display: flex; flex: 0 0 46px; font-size: 19px; height: 46px; justify-content: center; margin: 0; }
body.mv-site .mv-support__attach:hover { background: #bae6fd; }
body.mv-site .mv-support__attach input { display: none; }
body.mv-site .mv-support__composer textarea { background: #f8fbfd; border: 1px solid #cbdde8; border-radius: 14px; color: var(--mv-text); flex: 1; line-height: 1.45; max-height: 112px; min-height: 46px; padding: 11px 13px; resize: none; }
body.mv-site .mv-support__send { align-items: center; background: var(--mv-primary-600); border: 0; border-radius: 13px; color: #fff; display: flex; flex: 0 0 46px; height: 46px; justify-content: center; }
body.mv-site .mv-support__send svg { height: 22px; width: 22px; }
body.mv-site .mv-support__send:hover { background: var(--mv-primary-700); }
body.mv-site .mv-support__send:disabled { cursor: wait; opacity: .55; }
body.mv-site .mv-support__lightbox { align-items: center; background: rgba(2, 8, 23, .9); display: flex; inset: 0; justify-content: center; padding: 28px; position: fixed; z-index: 2000; }
body.mv-site .mv-support__lightbox[hidden] { display: none; }
body.mv-site .mv-support__lightbox img { border-radius: 10px; box-shadow: 0 24px 80px rgba(0, 0, 0, .45); max-height: calc(100dvh - 56px); max-width: calc(100vw - 56px); object-fit: contain; }
body.mv-site .mv-support__lightbox-close { align-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; color: #fff; display: flex; font-size: 18px; height: 44px; justify-content: center; position: fixed; right: 18px; top: 18px; width: 44px; z-index: 1; }

@media (max-width: 767.98px) {
    body.mv-site .mv-support-promo { bottom: 106px; padding-right: 72px; right: 74px; width: 270px; }
    body.mv-site .mv-support-bot { right: -47px; transform: scale(.82); }
}

@media (max-width: 575.98px) {
    body.mv-site.mv-support-open { overflow: hidden; }
    body.mv-site .mv-support { bottom: 14px; left: auto; right: 14px; top: auto; }
    body.mv-site .mv-support__launcher { border-radius: 16px; height: 62px; min-height: 62px; padding: 7px 13px 7px 8px; width: 205px; }
    body.mv-site .mv-support__icon { flex-basis: 46px; height: 46px; }
    body.mv-site .mv-support-promo { bottom: 92px; left: 14px; max-width: calc(100vw - 28px); padding: 19px 74px 18px 18px; right: auto; width: 300px; }
    body.mv-site .mv-support-promo::after { right: 39px; }
    body.mv-site .mv-support-bot { display: none; }
    body.mv-site .mv-support__panel { border-radius: 0; bottom: -14px; height: 100dvh; position: fixed; right: -14px; width: 100vw; }
    body.mv-site .mv-support__header { padding-top: max(14px, env(safe-area-inset-top)); }
    body.mv-site .mv-support__composer { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
    body.mv-site .mv-support__panel,
    body.mv-site .mv-support-promo,
    body.mv-site .mv-support__launcher { transition: none; }
}
