/* AIda Realtime Voice add-on — white, royal blue and yellow. */
#aida-root .aida-live-launch {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid #01008C;
  background: #01008C; color: #fff;
  font: 700 11px/1.2 Arial, sans-serif;
  border-radius: 9px; padding: 6px 9px; margin-left: auto;
  cursor: pointer;
}
#aida-root .aida-live-launch:hover { background: #2421B4; }
#aida-root .aida-live-launch svg { display: block; flex-shrink: 0; }
#aida-root .aida-live-screen {
  position: absolute !important;
  z-index: 5;
  inset: 83px 0 34px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 13px;
  padding: 22px 22px 14px;
  margin: 0;
  background: linear-gradient(155deg,#FFFFFF,#F5F7FF 72%,#FFFDF0);
  text-align: center;
  color: #191C5B;
  overflow-y: auto;
}
#aida-root .aida-live-screen[hidden] { display: none !important; }
#aida-root .aida-live-overline {
  color: #01008C; font: 700 10px/1.3 Arial, sans-serif;
  letter-spacing: 2px; margin: 0;
}
#aida-root .aida-live-orb {
  width: 112px; height: 112px;
  display: grid; place-items: center; flex: 0 0 auto;
  color: #F5D86B;
  border: 2px solid rgba(233,191,37,.5);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 22%,#4540D5,#01008C 60%,#070647);
  box-shadow: 0 8px 30px rgba(13,13,112,.18),0 0 0 10px rgba(40,38,190,.07);
}
#aida-root .aida-live-orb svg { width: 85px; height: 85px; }
#aida-root .aida-live-screen.is-connected .aida-live-orb {
  animation: aida-live-pulse 2.8s ease-in-out infinite;
}
#aida-root .aida-live-screen.is-speaking .aida-live-orb {
  animation: aida-live-pulse .8s ease-in-out infinite;
}
@keyframes aida-live-pulse {
  50% { box-shadow: 0 8px 36px rgba(13,13,112,.29),0 0 0 19px rgba(1,0,140,.08); }
}
#aida-root .aida-live-screen h3 {
  color: #0E1264; margin: 5px 0 0;
  font: 700 26px/1.2 Georgia, 'Times New Roman', serif;
}
#aida-root .aida-live-explain {
  max-width: 310px; margin: 0;
  color: #596480; font: 400 13px/1.65 Arial, sans-serif;
}
#aida-root .aida-live-status {
  min-height: 21px; margin: 0;
  color: #171B86; font: 700 12px/1.5 Arial,sans-serif;
}
#aida-root .aida-live-status.is-error { color: #9c2140; }
#aida-root .aida-live-actions { display:flex; gap: 9px; flex-wrap:wrap; justify-content:center; }
#aida-root .aida-live-actions button {
  padding: 11px 15px; border-radius: 30px; border: 1px solid #D0D6ED;
  background: #fff; color: #1C2469; font: 700 12px/1 Arial,sans-serif;
  cursor: pointer;
}
#aida-root .aida-live-actions .aida-live-start {
  background: #01008C; color: #fff; border-color: #01008C;
}
#aida-root .aida-live-actions .aida-live-end {
  background: #111478; color: #fff; border-color: #111478;
}
#aida-root .aida-live-actions button:disabled { opacity: .45; cursor: not-allowed; }
#aida-root .aida-live-disclaimer {
  margin: 8px 0 0; max-width: 315px;
  color: #6D7594; font: 400 10px/1.5 Arial,sans-serif;
}
#aida-root .aida-live-audio { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
@media(max-width: 440px) {
  #aida-root .aida-live-screen { padding: 16px 13px 12px; gap: 10px; }
  #aida-root .aida-live-orb { width: 92px; height: 92px; }
  #aida-root .aida-live-orb svg { width: 70px; height: 70px; }
  #aida-root .aida-live-screen h3 { font-size: 23px; }
  #aida-root .aida-live-launch { margin-left: 0; padding: 6px 8px; }
  #aida-root .aida-live-screen .aida-live-explain { font-size: 12px; }
}
@media(max-height: 650px) {
  #aida-root .aida-live-screen { gap: 7px; justify-content:flex-start; padding-top: 13px; }
  #aida-root .aida-live-orb { width: 65px; height: 65px; }
  #aida-root .aida-live-orb svg { width: 49px; height:49px; }
  #aida-root .aida-live-disclaimer { margin-top:0; }
}
@media(prefers-reduced-motion: reduce) {
  #aida-root .aida-live-screen.is-connected .aida-live-orb,
  #aida-root .aida-live-screen.is-speaking .aida-live-orb { animation: none; }
}

/* Toolbar layout: fixed button, with room for New chat in smaller widgets. */
#aida-root .aida-chat-toolbar { display:flex; gap:7px; align-items:center; flex-wrap:wrap; }
#aida-root .aida-chat-toolbar > span { flex:1 1 115px; }
#aida-root .aida-chat-toolbar #aida-live-launch { flex: 0 0 auto; margin-left:0; }
#aida-root .aida-chat-toolbar #aida-reset { flex: 0 0 auto; }
#aida-root .aida-live-launch { white-space:nowrap; min-height:29px; }

/* Talk to AIda — New Blue Theme */

#aida-root .aida-live-launch,
#aida-root #aida-live-launch {
    background: linear-gradient(
        115deg,
        #01008C,
        #2520B8
    ) !important;

    border: 1px solid #01008C !important;
    color: #FFFFFF !important;
}

#aida-root .aida-live-launch:hover,
#aida-root #aida-live-launch:hover {
    background: #1714AA !important;
    border-color: #1714AA !important;
}

#aida-root .aida-live-launch svg {
    color: #FFFFFF;
}
