/* FARVELLA Digital — AI assistant widget (emerald/gold identity) */
.fda-launcher{
  position:fixed;right:20px;bottom:20px;z-index:500;
  display:flex;align-items:center;gap:10px;
  padding:0 18px 0 6px;height:54px;border-radius:999px;
  background:linear-gradient(115deg,#F3D98B 0%,#D4AF37 38%,#A87F1F 62%,#EFD488 100%);
  color:#231a02;border:1px solid rgba(212,175,55,.65);
  box-shadow:0 14px 34px rgba(0,0,0,.45),0 0 26px rgba(212,175,55,.18);
  font-family:'Montserrat',system-ui,sans-serif;font-weight:700;font-size:.86rem;letter-spacing:.02em;
  cursor:pointer;transition:transform .25s ease,box-shadow .25s ease;
}
.fda-launcher:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(0,0,0,.5),0 0 34px rgba(212,175,55,.28)}
.fda-launcher .fda-mark{
  width:42px;height:42px;border-radius:50%;flex:0 0 42px;
  display:flex;align-items:center;justify-content:center;
  background:#07332A;color:#E7C86A;font-family:'Playfair Display',Georgia,serif;
  font-weight:800;font-style:italic;font-size:1.25rem;border:1px solid rgba(248,246,240,.25);
}
.fda-launcher .fda-dot{width:8px;height:8px;border-radius:50%;background:#0B3D24;box-shadow:0 0 0 3px rgba(11,61,36,.18)}
.fda-panel{
  position:fixed;right:20px;bottom:158px;z-index:501;
  width:min(384px,calc(100vw - 32px));height:min(568px,calc(100dvh - 178px));
  display:none;flex-direction:column;overflow:hidden;
  background:linear-gradient(168deg,#0A3D2E 0%,#07332A 46%,#041F18 100%);
  border:1px solid rgba(212,175,55,.4);border-radius:18px;
  box-shadow:0 30px 60px rgba(0,0,0,.55),0 0 44px rgba(212,175,55,.10);
  font-family:'Montserrat',system-ui,sans-serif;color:#F8F6F0;
}
.fda-panel.fda-open{display:flex}
.fda-head{
  display:flex;align-items:center;gap:12px;padding:14px 16px;
  border-bottom:1px solid rgba(212,175,55,.22);
  background:rgba(3,21,15,.45);
}
.fda-head .fda-mark{
  width:40px;height:40px;border-radius:50%;flex:0 0 40px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(115deg,#F3D98B,#D4AF37 55%,#A87F1F);
  color:#07332A;font-family:'Playfair Display',Georgia,serif;font-weight:800;font-style:italic;font-size:1.2rem;
}
.fda-head h3{margin:0;font-family:'Playfair Display',Georgia,serif;font-size:1.06rem;font-weight:700;color:#F8F6F0;letter-spacing:.01em}
.fda-head p{margin:2px 0 0;font-size:.72rem;color:rgba(248,246,240,.66);letter-spacing:.02em}
.fda-close{
  margin-left:auto;background:transparent;border:1px solid rgba(212,175,55,.35);
  color:#E7C86A;width:32px;height:32px;border-radius:50%;font-size:1rem;line-height:1;cursor:pointer;flex:0 0 32px;
}
.fda-close:hover{background:rgba(212,175,55,.14)}
.fda-body{flex:1;overflow-y:auto;padding:16px 14px 8px;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin}
.fda-msg{max-width:86%;padding:10px 13px;border-radius:14px;font-size:.86rem;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}
.fda-msg.fda-bot{
  align-self:flex-start;background:rgba(248,246,240,.07);
  border:1px solid rgba(212,175,55,.18);border-bottom-left-radius:4px;color:#F8F6F0;
}
.fda-msg.fda-user{
  align-self:flex-end;background:linear-gradient(115deg,#E9CE7E,#D4AF37 60%,#B98A24);
  color:#231a02;border-bottom-right-radius:4px;font-weight:600;
}
.fda-msg a{color:#3ED6B0;font-weight:700}
.fda-msg.fda-user a{color:#07332A}
.fda-typing{align-self:flex-start;display:none;gap:5px;padding:12px 14px;background:rgba(248,246,240,.07);border:1px solid rgba(212,175,55,.18);border-radius:14px;border-bottom-left-radius:4px}
.fda-typing span{width:7px;height:7px;border-radius:50%;background:#D4AF37;animation:fdaBlink 1.1s infinite}
.fda-typing span:nth-child(2){animation-delay:.18s}.fda-typing span:nth-child(3){animation-delay:.36s}
@keyframes fdaBlink{0%,80%,100%{opacity:.25}40%{opacity:1}}
.fda-chips{display:flex;flex-wrap:wrap;gap:7px;padding:10px 14px 4px}
.fda-chip{
  background:rgba(212,175,55,.10);border:1px solid rgba(212,175,55,.45);color:#E7C86A;
  border-radius:999px;padding:7px 12px;font-size:.76rem;font-weight:600;cursor:pointer;font-family:inherit;
  transition:background .2s ease;
}
.fda-chip:hover{background:rgba(212,175,55,.22)}
.fda-form{display:flex;gap:8px;padding:12px 14px 14px;border-top:1px solid rgba(212,175,55,.18);background:rgba(3,21,15,.45)}
.fda-input{
  flex:1;min-width:0;background:rgba(248,246,240,.06);border:1px solid rgba(212,175,55,.3);
  border-radius:12px;color:#F8F6F0;padding:11px 12px;font-size:.88rem;font-family:inherit;outline:none;
}
.fda-input:focus{border-color:#D4AF37}
.fda-input::placeholder{color:rgba(248,246,240,.45)}
.fda-send{
  flex:0 0 46px;border:none;border-radius:12px;cursor:pointer;
  background:linear-gradient(115deg,#F3D98B,#D4AF37 55%,#A87F1F);color:#07332A;
  font-size:1.05rem;font-weight:800;display:flex;align-items:center;justify-content:center;
}
.fda-send:disabled{opacity:.45;cursor:wait}
.fda-note{padding:0 14px 10px;font-size:.66rem;color:rgba(248,246,240,.45);text-align:center;background:rgba(3,21,15,.45)}
@media (max-width:560px){
  .fda-launcher{right:16px;bottom:20px;height:50px}
  .fda-panel{right:12px;left:12px;width:auto;bottom:150px;height:min(600px,calc(100dvh - 166px))}
}
@media (prefers-reduced-motion:reduce){
  .fda-launcher{transition:none}
  .fda-typing span{animation:none;opacity:.7}
}
