
/* VR_WIDGET_DESIGN_V3 */

@font-face {
 font-family: VRMontserrat;
 src: url('/local/templates/main/fonts/Montserrat/Montserrat-400.woff2') format('woff2');
 font-weight:400;
 font-display:swap;
}
@font-face {
 font-family: VRMontserrat;
 src: url('/local/templates/main/fonts/Montserrat/Montserrat-500.woff2') format('woff2');
 font-weight:500;
 font-display:swap;
}
@font-face {
 font-family: VRMontserrat;
 src: url('/local/templates/main/fonts/Montserrat/Montserrat-600.woff2') format('woff2');
 font-weight:600;
 font-display:swap;
}

#vr-chat {
 --vr-green:#39af25;
 position:fixed;
 right:24px;
 bottom:24px;
 z-index:99999;
 font:400 14px/1.45 VRMontserrat,Arial,sans-serif;
 color:#202820;
}

#vr-chat * {box-sizing:border-box}
#vr-chat [hidden] {display:none!important}

#vr-chat button {
 appearance:none;
 font:inherit;
 cursor:pointer;
 margin:0;
 text-transform:none;
 letter-spacing:normal;
}
#vr-chat button:focus-visible {
 outline:2px solid #27871a;
 outline-offset:3px;
}
#vr-chat button:disabled {opacity:.5}

#vr-chat .vr-launch {
 width:60px;
 height:60px;
 border:0;
 border-radius:50%;
 background:var(--vr-green);
 color:#fff;
 box-shadow:0 4px 18px #173a2526;
 display:grid;
 place-items:center;
 padding:0;
 float:right;
 transition:background .18s, transform .18s;
}
#vr-chat .vr-launch:hover {
 background:#309820;
 transform:translateY(-2px);
}
#vr-chat .vr-launch svg {
 width:29px;
 height:29px;
}

#vr-chat .vr-menu,
#vr-chat .vr-panel {
 width:350px;
 max-width:calc(100vw - 32px);
 background:#fff;
 border-radius:14px;
 box-shadow:0 8px 36px #152b2526;
 overflow:hidden;
 margin-bottom:12px;
}

#vr-chat .vr-header {
 min-height:64px;
 background:var(--vr-green);
 color:#fff;
 padding:14px 18px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
}

#vr-chat .vr-brand {
 display:flex;
 align-items:flex-start;
 justify-content:center;
 flex-direction:column;
 gap:5px;
 min-width:0;
}

#vr-chat .vr-logo {
 display:block;
 width:150px;
 max-width:100%;
 height:30px;
 object-fit:contain;
 object-position:left center;
 filter:brightness(0) invert(1);
}

#vr-chat .vr-title {
 font-size:11px;
 font-weight:400;
 color:#fff;
}

#vr-chat .vr-close,
#vr-chat .vr-menu-close {
 width:32px;
 height:32px;
 padding:0;
 flex-shrink:0;
 display:grid;
 place-items:center;
 border:0;
 border-radius:7px;
 background:transparent;
 color:#fff;
 font:400 25px/1 Arial,sans-serif;
}

#vr-chat .vr-close:hover,
#vr-chat .vr-menu-close:hover {
 background:#ffffff22;
}

#vr-chat .vr-menu-body {
 padding:6px 12px;
}

#vr-chat .vr-choice {
 display:flex;
 align-items:center;
 gap:12px;
 width:100%;
 border:0;
 border-radius:8px;
 background:#fff;
 color:#202820;
 padding:16px 8px;
 text-align:left;
 transition:background .15s;
}

#vr-chat .vr-choice:hover {
 background:#f3f8f2;
}

#vr-chat .vr-choice + .vr-choice {
 border-top:1px solid #edf0ed;
}

#vr-chat .vr-choice-icon {
 width:44px;
 height:44px;
 flex-shrink:0;
 display:grid;
 place-items:center;
 border-radius:10px;
 background:#edf7ea;
 color:var(--vr-green);
}

#vr-chat .vr-choice-icon svg {
 width:23px;
 height:23px;
}

#vr-chat .vr-choice strong {
 display:block;
 font-size:13px;
 font-weight:600;
 line-height:1.4;
}

#vr-chat .vr-choice small {
 display:block;
 font-size:11px;
 font-weight:400;
 color:#768076;
 margin-top:4px;
}

#vr-chat .vr-choice::after {
 content:'';
 width:7px;
 height:7px;
 margin-left:auto;
 margin-right:4px;
 flex-shrink:0;
 border-top:1.5px solid #929e92;
 border-right:1.5px solid #929e92;
 transform:rotate(45deg);
}

#vr-chat .vr-menu-status {
 font-size:11px;
 color:#768076;
 padding:8px;
}
#vr-chat .vr-menu-status:empty {display:none}

#vr-chat .vr-panel {
 height:480px;
 max-height:calc(100dvh - 110px);
 display:flex;
 flex-direction:column;
}

#vr-chat .vr-history {
 flex:1;
 min-height:0;
 overflow:auto;
 padding:16px;
 background:#f5f7f5;
}

#vr-chat .vr-message {
 padding:12px 14px;
 margin-bottom:10px;
 max-width:90%;
 border-radius:12px;
 background:#fff;
 border:1px solid #e8eee8;
 white-space:pre-wrap;
 overflow-wrap:anywhere;
 font-size:13px;
}

#vr-chat .vr-visitor {
 background:#e6f4e1;
 border-color:#e0efda;
 margin-left:auto;
}

#vr-chat .vr-status {
 padding:4px 12px;
 color:#777;
 font-size:11px;
}
#vr-chat .vr-status:empty {display:none}

#vr-chat .vr-form {
 display:flex;
 gap:8px;
 padding:12px;
 border-top:1px solid #edf0ed;
 margin:0;
}

#vr-chat textarea {
 flex:1;
 min-width:0;
 height:48px;
 resize:none;
 border:1px solid #e0e6e0;
 border-radius:8px;
 padding:10px;
 font:inherit;
 background:#fff;
 color:#202820;
}
#vr-chat textarea:focus {
 outline:1px solid var(--vr-green);
 border-color:var(--vr-green);
}

#vr-chat .vr-send {
 border:0;
 border-radius:8px;
 background:var(--vr-green);
 color:#fff;
 padding:0 12px;
 font-size:12px;
 font-weight:500;
}

@media(max-width:480px) {
 #vr-chat {
  right:12px;
  bottom:12px;
 }
 #vr-chat .vr-menu,
 #vr-chat .vr-panel {
  width:350px;
  max-width:calc(100vw - 24px);
 }
 #vr-chat .vr-panel {
  height:520px;
 }
 #vr-chat .vr-launch {
  width:56px;
  height:56px;
 }
}
