/* Chat Foodie — widget demo (negru #080c0a, text alb, accent portocaliu #ff790c, DM Sans) */
.fbot-launch{position:fixed;right:16px;bottom:88px;z-index:99990;display:flex;align-items:center;gap:8px;height:52px;padding:0 18px 0 14px;border:0;border-radius:26px;
  background:#ff5200;background-image:linear-gradient(100deg,#ff5200,#ff850c);color:#fff;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-weight:800;font-size:15px;line-height:1;
  box-shadow:0 10px 28px rgba(0,0,0,.35);cursor:pointer}
.fbot-launch svg{width:22px;height:22px}
.fbot-launch[hidden],body.modal-open .fbot-launch{display:none}
.fbot{position:fixed;right:16px;bottom:16px;z-index:99991;width:380px;max-width:calc(100vw - 24px);height:min(640px,calc(100vh - 32px));display:flex;flex-direction:column;
  background:#080c0a;color:#f5f5f2;border:1px solid #343c36;border-radius:20px;box-shadow:0 24px 60px rgba(0,0,0,.5);overflow:hidden;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-weight:400;font-size:15px;line-height:1.45}
.fbot[hidden]{display:none}
.fbot *{box-sizing:border-box}
.fbot-head{display:flex;align-items:center;gap:10px;padding:14px 14px 12px 16px;border-bottom:1px solid #1f2622;background:#080c0a}
.fbot-head img{height:26px;width:auto}
.fbot-title{flex:1;min-width:0}
.fbot-title b{display:block;font-weight:800;font-size:15px;color:#fff}
.fbot-title small{display:block;font-size:12px;color:#929995}
.fbot-x{width:36px;height:36px;border:1px solid #343c36;border-radius:12px;background:#131815;color:#fff;font-size:20px;line-height:1;cursor:pointer}
.fbot-log{flex:1;overflow-y:auto;padding:14px 12px 6px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.fbot-msg{max-width:88%;padding:10px 13px;border-radius:16px;white-space:pre-wrap;word-wrap:break-word}
.fbot-msg.bot{align-self:flex-start;background:#131815;border:1px solid #343c36;border-bottom-left-radius:6px}
.fbot-msg.me{align-self:flex-end;background:#ff790c;color:#fff;border-bottom-right-radius:6px;font-weight:600}
.fbot-msg.sys{align-self:center;background:none;color:#929995;font-size:12px;padding:2px}
.fbot-links,.fbot-btns{display:flex;flex-direction:column;align-items:stretch;gap:8px;align-self:stretch;width:100%;max-width:100%}
.fbot-links>*,.fbot-btns>.fbot-btn{width:100%;box-sizing:border-box}
.fbot-link{display:inline-flex;align-items:center;min-height:42px;padding:10px 16px;border-radius:12px;background:#ff5200;background-image:linear-gradient(100deg,#ff5200,#ff850c);
  color:#fff!important;font-weight:800;text-decoration:none!important}
.fbot-btn{min-height:38px;padding:8px 13px;border-radius:12px;border:1px solid #ff790c;background:transparent;color:#ffb27a;font-family:inherit;font-weight:600;font-size:14px;line-height:1.2;cursor:pointer;text-align:left}
.fbot-btn:hover,.fbot-btn:focus-visible{background:rgba(255,121,12,.12);color:#fff;outline:none}
.fbot-form{align-self:stretch;background:#131815;border:1px solid #343c36;border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:10px}
.fbot-form label{display:flex;flex-direction:column;gap:5px;font-size:13px;color:#bcbfbd;font-weight:600}
.fbot-form input,.fbot-form select,.fbot-form textarea{width:100%;min-height:44px;padding:10px 12px;border-radius:12px;border:1px solid #343c36;background:#080c0a;color:#fff;font-family:inherit;font-weight:400;font-size:16px;line-height:1.3}
.fbot-form textarea{min-height:90px;resize:vertical}
.fbot-form input[type=file]{padding:9px;font-size:14px}
.fbot-form input:focus,.fbot-form select:focus,.fbot-form textarea:focus{outline:none;border-color:#ff790c;box-shadow:0 0 0 3px rgba(255,121,12,.18)}
.fbot-primary{min-height:46px;border:0;border-radius:12px;background:#ff5200;background-image:linear-gradient(100deg,#ff5200,#ff850c);color:#fff;font-family:inherit;font-weight:800;font-size:15px;line-height:1;cursor:pointer}
.fbot-primary[disabled]{opacity:.6;cursor:wait}
.fbot-input{display:flex;gap:8px;padding:10px 12px 12px;border-top:1px solid #1f2622;background:#080c0a}
.fbot-input textarea{flex:1;min-height:44px;max-height:110px;padding:11px 12px;border-radius:14px;border:1px solid #343c36;background:#131815;color:#fff;font-family:inherit;font-weight:400;font-size:16px;line-height:1.3;resize:none}
.fbot-input textarea:focus{outline:none;border-color:#ff790c}
.fbot-send{width:46px;height:46px;flex:0 0 46px;border:0;border-radius:14px;background:#ff790c;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.fbot-send svg{width:20px;height:20px}
.fbot-note{padding:0 14px 8px;font-size:11px;color:#6f7672;background:#080c0a}
.fbot-typing{align-self:flex-start;color:#929995;font-size:13px;padding:2px 6px}
@media (max-width:600px){
  .fbot{right:0;bottom:0;left:0;width:100%;max-width:100%;height:100%;height:100dvh;border-radius:0;border:0}
  .fbot-launch{right:12px;bottom:84px;width:56px;height:56px;padding:0;justify-content:center;border-radius:50%}
  .fbot-launch span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .fbot-launch svg{width:26px;height:26px}
}

.fbot-link{justify-content:center}
.fbot-msg.staff{align-self:flex-start;background:#1a120a;border:1px solid #ff790c;border-bottom-left-radius:6px}
.fbot-who{display:block;font-size:12px;font-weight:700;color:#ffb27a;margin-bottom:3px}
.fbot.fbot-is-live .fbot-title small{color:#ffb27a}
.fbot-launch.fbot-unread::after{content:'';position:absolute;top:6px;right:6px;width:12px;height:12px;border-radius:50%;background:#fff;border:2px solid #ff790c}

/* Ecranul de start nou (machetă Codrin, 26.10.2026): antet cu bonetă, salut, 6 variante cu pictograme, trimitere rotundă */
.fbot{width:400px;height:min(700px,calc(100vh - 32px));background:#0b0e0c}
.fbot-head{gap:12px;padding:16px 14px 14px 16px;background:#0b0e0c;border-bottom:0}
.fbot-av{flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#1b201d;border:1px solid #2a302c;color:#ffb27a;display:flex;align-items:center;justify-content:center}
.fbot-av svg{width:24px;height:24px}
.fbot-title b{font-size:19px;line-height:1.2;letter-spacing:-.01em}
.fbot-title small{display:flex;align-items:center;gap:7px;margin-top:3px;font-size:13px;color:#a3aaa6}
.fbot-dot{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.16)}
.fbot.fbot-is-live .fbot-dot{background:#ff790c;box-shadow:0 0 0 3px rgba(255,121,12,.18)}
.fbot-x,.fbot-home{flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.fbot-x svg{width:20px;height:20px}
.fbot-home{color:#ffb27a}
.fbot-home svg{width:19px;height:19px}
.fbot-home[hidden]{display:none}
.fbot-x:hover,.fbot-home:hover,.fbot-x:focus-visible,.fbot-home:focus-visible{background:#1b201d;outline:none}
.fbot-log{padding:6px 14px 10px;gap:12px}
.fbot-msg{font-size:16px;line-height:1.45}
.fbot-msg.bot{background:#1b201d;border:1px solid #232925;border-radius:16px;border-bottom-left-radius:16px;padding:13px 15px;color:#f5f5f2}
.fbot-opts{gap:10px}
.fbot-opt{display:flex;align-items:center;gap:12px;min-height:56px;padding:12px 12px 12px 14px;border:1.5px solid #ff790c;border-radius:14px;background:#111512;color:#fff;font-size:16px;font-weight:500;line-height:1.25;text-align:left}
.fbot-opt:hover,.fbot-opt:focus-visible{background:#1d1610;color:#fff;border-color:#ff8a2a}
.fbot-opt:active{transform:scale(.99)}
.fbot-opt-ic{flex:0 0 24px;width:24px;height:24px;color:#ff790c;display:flex}
.fbot-opt-ic svg,.fbot-opt-ch svg{width:100%;height:100%}
.fbot-opt-t{flex:1;min-width:0}
.fbot-opt-ch{flex:0 0 18px;width:18px;height:18px;color:#ff790c;display:flex}
.fbot-input{gap:10px;padding:10px 14px 8px;border-top:0;background:#0b0e0c;align-items:center}
.fbot-input textarea{min-height:52px;padding:14px 14px;border-radius:14px;border-color:#2c332f;background:#141815}
.fbot-input textarea::placeholder{color:#8b928e}
.fbot-send{width:48px;height:48px;flex:0 0 48px;border-radius:50%;background:#ff790c;background-image:linear-gradient(135deg,#ff8a1f,#ff6a00)}
.fbot-send svg{width:22px;height:22px}
.fbot-note{padding:2px 14px 12px;text-align:center;font-size:12px;color:#7d8480;background:#0b0e0c}
@media (max-width:600px){
  .fbot{width:100%;height:100%;height:100dvh}
  .fbot-head{padding-top:max(14px,env(safe-area-inset-top))}
  .fbot-note{padding-bottom:max(12px,env(safe-area-inset-bottom))}
}

/* Mod vocal (26.10.2026): microfon lângă trimitere, difuzor în antet. Doar dacă browserul are recunoaștere vocală. */
.fbot-mic{width:48px;height:48px;flex:0 0 48px;padding:0;border:1.5px solid #ff790c;border-radius:50%;background:transparent;color:#ff790c;cursor:pointer;display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent;transition:background .15s,color .15s}
.fbot-mic[hidden]{display:none}
.fbot-mic svg{width:22px;height:22px}
.fbot-mic:hover,.fbot-mic:focus-visible{background:rgba(255,121,12,.12);outline:none}
.fbot-mic.fbot-mic-hands{background:rgba(255,121,12,.16)}
.fbot-mic.fbot-mic-on{border-color:transparent;background:#ff790c;background-image:linear-gradient(135deg,#ff8a1f,#ff6a00);color:#fff;animation:fbot-pulse 1.4s ease-out infinite}
.fbot-mic.fbot-mic-on svg{width:18px;height:18px}
@keyframes fbot-pulse{0%{box-shadow:0 0 0 0 rgba(255,121,12,.55)}70%{box-shadow:0 0 0 12px rgba(255,121,12,0)}100%{box-shadow:0 0 0 0 rgba(255,121,12,0)}}
@media (prefers-reduced-motion:reduce){.fbot-mic.fbot-mic-on{animation:none;box-shadow:0 0 0 4px rgba(255,121,12,.3)}}
.fbot-input textarea.fbot-ta-listen{border-color:#ff790c;color:#ffd1ad}
.fbot-spk{flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#ffb27a;display:flex;align-items:center;justify-content:center;cursor:pointer}
.fbot-spk[hidden]{display:none}
.fbot-spk svg{width:20px;height:20px}
.fbot-spk.fbot-spk-off{color:#7d8480}
.fbot-spk:hover,.fbot-spk:focus-visible{background:#1b201d;outline:none}
.fbot.fbot-speaking .fbot-spk{color:#ff790c}
@media (max-width:360px){.fbot-input{gap:8px;padding-left:10px;padding-right:10px}.fbot-mic,.fbot-send{width:44px;height:44px;flex-basis:44px}}
.fbot.fbot-has-voice .fbot-head{gap:8px}
.fbot.fbot-has-voice .fbot-av{margin-right:4px}
.fbot-title small span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Microfon mai ușor de recunoscut (26.10.2026, 23:36): pictogramă plină, mai mare */
.fbot-mic{width:50px;height:50px;flex:0 0 50px;border-width:2px}
.fbot-mic svg{width:27px;height:27px}
.fbot-mic.fbot-mic-on svg{width:20px;height:20px}
@media (max-width:360px){.fbot-mic{width:46px;height:46px;flex-basis:46px}.fbot-mic svg{width:24px;height:24px}}
/* Start doar cu discuție liberă (27.10.2026, foodie_bot_start_mode = free): câmp de scris evidențiat, microfonul alături */
.fbot.fbot-free .fbot-input{padding-top:12px}
.fbot.fbot-free .fbot-input textarea{min-height:54px;border:1.5px solid #6b4220;background:#141815}
.fbot.fbot-free .fbot-input textarea:focus{border-color:#ff790c;box-shadow:0 0 0 3px rgba(255,121,12,.18)}
.fbot.fbot-free .fbot-input textarea::placeholder{color:#b9bfbb}
.fbot-msg.bot{transition:border-color .4s,box-shadow .4s}
.fbot-msg.bot.fbot-msg-hi{border-color:#ff790c;box-shadow:0 0 0 3px rgba(255,121,12,.2)}
