/* Balão e janela de suporte (painel do cliente) */
#vs-chat { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-family: inherit; }
.vs-bolha { width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, #12a0ff, #0a6fd6); box-shadow: 0 6px 18px rgba(10, 100, 210, .45); display: flex; align-items: center; justify-content: center; position: relative; transition: transform .15s; }
.vs-bolha:hover { transform: scale(1.06); }
.vs-bolha.vs-pulsa { animation: vspulsa 1.6s infinite; }
@keyframes vspulsa { 0% { box-shadow: 0 0 0 0 rgba(18, 160, 255, .6), 0 6px 18px rgba(10, 100, 210, .45); } 70% { box-shadow: 0 0 0 16px rgba(18, 160, 255, 0), 0 6px 18px rgba(10, 100, 210, .45); } 100% { box-shadow: 0 0 0 0 rgba(18, 160, 255, 0), 0 6px 18px rgba(10, 100, 210, .45); } }
.vs-badge { position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px; border-radius: 11px; background: #e5393b; color: #fff; font-size: 12px; font-weight: 700; font-style: normal; display: flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid #fff; }
.vs-rotulo { background: #fff; color: #0a4f9e; font-size: 13px; font-weight: 600; border-radius: 18px; padding: 8px 14px; box-shadow: 0 3px 12px rgba(18, 38, 73, .18); cursor: pointer; }
.vs-janela { width: 370px; max-width: calc(100vw - 24px); height: 540px; max-height: calc(100vh - 110px); background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(18, 38, 73, .3); display: flex; flex-direction: column; overflow: hidden; }
.vs-janela[hidden] { display: none; }
.vs-cab { display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #0f93f5, #0a6fd6); color: #fff; padding: 12px 14px; }
.vs-av { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #0a6fd6; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.vs-cab-tx { flex: 1; min-width: 0; line-height: 1.25; } .vs-cab-tx b { display: block; font-size: 14.5px; }
.vs-status { font-size: 11.5px; opacity: .95; } .vs-status.on { color: #c8ffe4; } .vs-status.off { color: #ffe3b0; }
.vs-x { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.vs-aviso { background: #fff4d6; color: #7a5a00; font-size: 12.5px; padding: 8px 14px; border-bottom: 1px solid #f1d98a; } .vs-aviso[hidden] { display: none; }
.vs-horario { background: #f3f7fb; color: #5b6475; font-size: 11.5px; padding: 6px 14px; border-bottom: 1px solid #e3e8ef; }
.vs-msgs { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; background: #fafcfe; }
.vs-sis { text-align: center; color: #6b7587; font-size: 12px; background: #eef3f9; border-radius: 10px; padding: 8px 10px; }
.vs-topicos { display: flex; flex-wrap: wrap; gap: 6px; }
.vs-chip { background: #fff; border: 1px solid #c9d6e6; color: #0a4f9e; border-radius: 16px; padding: 5px 11px; font: inherit; font-size: 12px; cursor: pointer; } .vs-chip:hover { background: #e6f3ff; border-color: #0a8cf0; }
.vs-m { max-width: 82%; display: flex; flex-direction: column; } .vs-m.eu { align-self: flex-end; align-items: flex-end; } .vs-m.eles { align-self: flex-start; }
.vs-t { padding: 8px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
.vs-m.eu .vs-t { background: #0a8cf0; color: #fff; border-bottom-right-radius: 4px; } .vs-m.eles .vs-t { background: #e9eef5; color: #1d2430; border-bottom-left-radius: 4px; }
.vs-m small { color: #8791a3; font-size: 10.5px; margin-top: 2px; }
.vs-dig { color: #7b8494; font-size: 12px; font-style: italic; }
.vs-aval { text-align: center; font-size: 12.5px; color: #3c4554; padding: 6px 0; }
.vs-rod { border-top: 1px solid #e3e8ef; padding: 8px 12px 10px; background: #fff; }
.vs-ctx { display: flex; align-items: center; gap: 6px; color: #6b7587; font-size: 11.5px; margin-bottom: 6px; }
.vs-lin { display: flex; gap: 8px; align-items: flex-end; }
.vs-lin textarea { flex: 1; resize: none; border: 1px solid #c9d6e6; border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13.5px; }
.vs-lin textarea:focus { outline: 2px solid #9cc9f5; }
.vs-env { background: #0a8cf0; color: #fff; border: 0; border-radius: 10px; padding: 9px 14px; font: inherit; font-weight: 600; cursor: pointer; } .vs-env:hover { background: #0872d6; }
@media (max-width: 520px) { #vs-chat { right: 12px; bottom: 12px; } .vs-janela { height: calc(100vh - 100px); } }
.vs-badge[hidden], .vs-rotulo[hidden] { display: none; }

/* anexos, lightbox e mensagens de erro do chat */
.vs-clipe { background: none; border: 1px solid #c9d6e6; color: #0a6fd6; border-radius: 10px; width: 38px; height: 38px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; } .vs-clipe:hover { background: #e6f3ff; }
.vs-pend { display: flex; justify-content: space-between; align-items: center; background: #eef6ff; border: 1px solid #c7defa; color: #0a4f9e; border-radius: 8px; padding: 5px 9px; font-size: 12px; margin-bottom: 6px; gap: 8px; } .vs-pend[hidden], .vs-erro[hidden] { display: none; }
.vs-pend button { background: none; border: 0; color: #b3282b; cursor: pointer; font: inherit; font-size: 12px; }
.vs-erro { background: #fde7e7; border: 1px solid #f3b8b8; color: #8f1d20; border-radius: 8px; padding: 5px 9px; font-size: 12px; margin-bottom: 6px; }
.vs-anexo { margin-top: 4px; } .vs-m.eu .vs-anexo { align-self: flex-end; }
.vs-foto { max-width: 210px; max-height: 190px; border-radius: 10px; cursor: zoom-in; display: block; border: 1px solid #d3dde9; background: #fff; }
.vs-anexo small { color: #8791a3; font-size: 10.5px; display: block; margin-top: 2px; }
.vs-pdf { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d3dde9; border-radius: 10px; padding: 7px 9px; max-width: 290px; color: #1d2430; }
.vs-pdf-ic { background: #e5393b; color: #fff; font-weight: 700; font-size: 10.5px; border-radius: 6px; padding: 8px 6px; flex: 0 0 auto; } .vs-pdf-nm { display: block; font-size: 12.5px; font-weight: 600; word-break: break-all; }
.vs-pdf button { background: #eef6ff; border: 1px solid #c7defa; color: #0a4f9e; border-radius: 8px; padding: 3px 8px; font: inherit; font-size: 11.5px; cursor: pointer; }
.vs-lb { position: fixed; inset: 0; z-index: 100; background: rgba(10, 20, 40, .82); display: flex; align-items: center; justify-content: center; cursor: zoom-out; } .vs-lb img { max-width: 92vw; max-height: 90vh; border-radius: 8px; background: #fff; }
.vs-lb-x { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; }
