:root {
--bvr-primary-color: #007bff;
--bvr-widget-width: 370px;
--bvr-widget-height: 700px;
--bvr-launcher-size: 56px;
--bvr-border-radius-main: 16px;
--bvr-border-radius-bubble: 18px;
} .bvr-widget-container { position: fixed; bottom: 20px; width: var(--bvr-widget-width); max-height: calc(var(--bvr-widget-height) + 70px); z-index: 9998; pointer-events: none; }
.bvr-widget-container--bottom-right { right: 20px; }
.bvr-widget-container--bottom-left { left: 20px; }
.bvr-widget-container > * { pointer-events: auto; } .bvr-launcher { position: absolute; bottom: 0; width: var(--bvr-launcher-size); height: var(--bvr-launcher-size); background-color: var(--bvr-primary-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); transition: all 0.3s ease; z-index: 9998; overflow: hidden; }
.bvr-widget-container--bottom-right .bvr-launcher { right: 0; }
.bvr-widget-container--bottom-left .bvr-launcher { left: 0; }
.bvr-launcher__icon { color: white; transition: opacity 0.2s ease; display: flex; align-items: center; justify-content: center; }
.bvr-launcher__icon--close { transform: rotate(180deg); transition: transform 0.3s ease; }
.bvr-launcher.bvr-launcher--open .bvr-launcher__icon--close { transform: rotate(0deg); } .bvr-widget { position: absolute; bottom: calc(var(--bvr-launcher-size) + 14px); width: var(--bvr-widget-width); max-height: var(--bvr-widget-height); display: flex; flex-direction: column; background-color: #ffffff; border-radius: var(--bvr-border-radius-main); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); overflow: hidden; z-index: 9999; transition: opacity 0.3s ease, transform 0.3s ease; }
.bvr-widget-container--bottom-right .bvr-widget { right: 0; }
.bvr-widget-container--bottom-left .bvr-widget { left: 0; }
.bvr-widget--closed { opacity: 0; transform: translateY(20px); pointer-events: none; }
.bvr-widget--open { opacity: 1; transform: translateY(0); } .bvr-widget__header { background-color: var(--bvr-primary-color); color: white; padding: 16px 20px; display: flex; align-items: center; flex-shrink: 0; }
.bvr-header__brand { display: flex; align-items: center; }
.bvr-header__logo { width: 40px; height: 40px; border-radius: 50%; margin-right: 12px; object-fit: cover; background-color: rgba(255,255,255,0.2); }
.bvr-header__logo[src=""] { display: none; }
.bvr-header__info { display: flex; flex-direction: column; }
.bvr-header__title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 600; margin: 0; line-height: 1.2; }
.bvr-header__status { display: flex; align-items: center; font-size: 13px; opacity: 0.9; }
.bvr-status-dot { width: 8px; height: 8px; background-color: #34C759; border-radius: 50%; margin-right: 6px; flex-shrink: 0; } .bvr-widget__pre-chat { padding: 24px; text-align: center; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.bvr-widget__pre-chat h4 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.bvr-widget__pre-chat p { margin: 0 0 20px; font-size: 14px; color: #50575e; }
#bvr-pre-chat-form input { width: 100%; box-sizing: border-box; padding: 12px; margin-bottom: 12px; border-radius: 8px; border: 1px solid #e0e0e0; font-size: 15px; }
.bvr-pre-chat-button { width: 100%; padding: 12px; border-radius: 8px; border: none; background-color: var(--bvr-primary-color); color: white; font-size: 16px; font-weight: 500; cursor: pointer; transition: opacity 0.2s; }
.bvr-pre-chat-button:hover { opacity: 0.9; } #bvr-main-chat-area { display: flex; flex-direction: column; flex-grow: 1; overflow: hidden; position: relative; }
.bvr-widget__chat-window { flex-grow: 1; padding: 20px; overflow-y: auto; background-color: #f4f5f7; display: flex; flex-direction: column; }
.bvr-chat-message { display: flex; flex-direction: column; margin-bottom: 15px; max-width: 85%; }
.bvr-message-bubble { padding: 10px 16px; border-radius: var(--bvr-border-radius-bubble); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.5; word-wrap: break-word; }
.bvr-chat-message--user { align-self: flex-end; align-items: flex-end; }
.bvr-chat-message--user .bvr-message-bubble { background-color: var(--bvr-primary-color); color: white; border-bottom-right-radius: 4px; }
.bvr-chat-message--ai { align-self: flex-start; align-items: flex-start; }
.bvr-chat-message--ai .bvr-message-bubble { background-color: #E5E5EA; color: #000000; border-bottom-left-radius: 4px; } .bvr-quick-replies-container {
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 15px;
align-self: flex-start;
}
.bvr-quick-reply-bubble {
background: white;
border: 1px solid #e0e0e0;
color: var(--bvr-primary-color);
padding: 6px 12px; border-radius: 16px;
font-size: 13px; font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.bvr-quick-reply-bubble:hover {
background-color: #f0f0f0;
border-color: #ccc;
}
.bvr-typing-indicator .bvr-message-bubble span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background-color: #BDBDBD; margin: 0 2px; animation: typing-bounce 1.2s infinite ease-in-out; }
@keyframes typing-bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1.0); } } .bvr-widget__input-area { padding: 10px 20px; border-top: 1px solid #E5E5EA; background-color: #ffffff; flex-shrink: 0; position: relative; z-index: 10; }
.bvr-input-area { display: flex; align-items: center; background-color: #f4f5f7; border-radius: 24px; padding: 4px; }
#bvr-chat-input { flex-grow: 1; border: none; background: none; padding: 10px 14px; font-size: 15px; font-family: inherit; outline: none; }
#bvr-chat-input::placeholder { color: #8A8A8E; }
.bvr-input-icon-btn { background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #8A8A8E; transition: color 0.2s; padding: 8px; }
.bvr-input-icon-btn:hover { color: var(--bvr-primary-color); }
#bvr-send-button { color: var(--bvr-primary-color); padding-right: 12px; }
.bvr-hidden { display: none !important; } .bvr-input-mode { transition: opacity 0.3s ease, max-height 0.4s ease; overflow: hidden; max-height: 200px; }
.bvr-input-mode.inactive { max-height: 0px; opacity: 0; pointer-events: none; }
.bvr-voice-ui { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bvr-voice-icon { width: 48px; height: 48px; display: flex; justify-content: center; align-items: center; color: var(--bvr-primary-color); }
.bvr-voice-icon.listening svg { animation: bvr-pulse 1.5s infinite ease-in-out; }
.bvr-spinner { width: 24px; height: 24px; border: 3px solid rgba(0, 0, 0, 0.1); border-top-color: var(--bvr-primary-color); border-radius: 50%; animation: bvr-spin 1s linear infinite; }
@keyframes bvr-spin { to { transform: rotate(360deg); } }
.bvr-input-loader { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.8); display: flex; justify-content: center; align-items: center; z-index: 10; }
.bvr-confirmation-buttons { margin-top: 10px; display: flex; gap: 8px; }
.bvr-confirm-btn { flex-grow: 1; background-color: #f0f0f0; border: 1px solid #e0e0e0; border-radius: 16px; padding: 8px 12px; font-size: 14px; font-family: inherit; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.bvr-confirm-btn.bvr-confirm-yes { background-color: var(--bvr-primary-color); color: white; border-color: var(--bvr-primary-color); }