/* ViolFi Live Chat — black/lime widget */
.vflc-root { position: fixed; right: 18px; bottom: 18px; z-index: 99990; font-family: Arial, Helvetica, sans-serif; }
.vflc-open {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    background: #a8e10c; color: #0c0e06; border: 0; border-radius: 18px;
    border-bottom-left-radius: 4px;
    padding: 13px 20px; font-size: 15px; font-weight: 700; cursor: pointer;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,.45));
}
/* Speech-bubble tail on the chat button (v1.0.7). */
.vflc-open::after {
    content: ''; position: absolute; left: 16px; bottom: -8px; width: 0; height: 0;
    border-style: solid; border-width: 9px 10px 0 0; border-color: #a8e10c transparent transparent transparent;
}
.vflc-panel {
    width: 340px; max-width: calc(100vw - 24px); height: 480px; max-height: calc(100vh - 110px);
    background: #0c0e06; border: 1px solid #2e3125; border-radius: 14px;
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 12px 34px rgba(0,0,0,.55);
}
.vflc-head {
    background: #171a0e; color: #f2f4ec; padding: 12px 14px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #2e3125; font-weight: 700;
}
.vflc-close { background: none; border: 0; color: #a8e10c; font-size: 22px; cursor: pointer; line-height: 1; }
.vflc-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.vflc-msg { position: relative; max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.vflc-msg a { color: #a8e10c; }
/* Speech-bubble tails (v1.0.7): answers point left, questions point right. */
.vflc-msg.bot, .vflc-msg.agent { background: #171a0e; color: #f2f4ec; align-self: flex-start; border: 1px solid #2e3125; border-bottom-left-radius: 4px; }
.vflc-msg.agent { border-color: #a8e10c; }
.vflc-msg.bot::after, .vflc-msg.agent::after {
    content: ''; position: absolute; left: -7px; bottom: 10px; width: 0; height: 0;
    border-style: solid; border-width: 5px 8px 5px 0; border-color: transparent #171a0e transparent transparent;
}
.vflc-msg.visitor { background: #a8e10c; color: #0c0e06; align-self: flex-end; border-bottom-right-radius: 4px; }
.vflc-msg.visitor::after {
    content: ''; position: absolute; right: -7px; bottom: 10px; width: 0; height: 0;
    border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #a8e10c;
}
.vflc-offer { margin: 0 12px 8px; background: #171a0e; border: 1px solid #a8e10c; border-radius: 10px; padding: 10px 12px; color: #f2f4ec; font-size: 13.5px; }
.vflc-offer-actions { display: flex; gap: 8px; margin-top: 8px; }
.vflc-offer-actions button { flex: 1; border-radius: 8px; padding: 8px; font-size: 13px; font-weight: 700; cursor: pointer; }
#vflc-offer-yes { background: #a8e10c; color: #0c0e06; border: 0; }
#vflc-offer-no { background: none; color: #a9ae9e; border: 1px solid #2e3125; }
.vflc-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid #2e3125; }
#vflc-panel .vflc-form input {
    flex: 1; background: #ffffff; border: 1px solid #c9cdd2; border-radius: 8px;
    color: #000000; -webkit-text-fill-color: #000000; padding: 10px; font-size: 14px;
}
#vflc-panel .vflc-form input::placeholder { color: #6b7280; -webkit-text-fill-color: #6b7280; }
.vflc-send { background: #a8e10c; color: #0c0e06; border: 0; border-radius: 8px; padding: 10px 16px; font-weight: 700; cursor: pointer; }
