.odin-voice-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2500;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(111, 215, 255, 0.95), transparent 35%),
    linear-gradient(145deg, #153a61, #07182a);
  color: white;
  font-size: 25px;
  cursor: pointer;
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.odin-voice-button:hover {
  transform: translateY(-2px) scale(1.04);
}

.odin-voice-button.is-listening {
  animation: odinVoicePulse 1.15s infinite;
  box-shadow:
    0 0 0 8px rgba(83, 205, 255, 0.12),
    0 0 32px rgba(83, 205, 255, 0.72);
}

.odin-voice-panel {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 2499;
  width: min(360px, calc(100vw - 32px));
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(7, 20, 36, 0.94);
  color: #f4f9ff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.odin-voice-panel[hidden] {
  display: none;
}

.odin-voice-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.odin-voice-panel__title {
  font-weight: 750;
  letter-spacing: 0.02em;
}

.odin-voice-panel__close {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 22px;
  cursor: pointer;
}

.odin-voice-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #a9dfff;
}

.odin-voice-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.odin-voice-panel[data-mode="error"] .odin-voice-status {
  color: #ff9f9f;
}

.odin-voice-panel[data-mode="success"] .odin-voice-status {
  color: #99f5bb;
}

.odin-voice-panel[data-mode="listening"] .odin-voice-status {
  color: #69d8ff;
}

.odin-voice-transcript {
  min-height: 48px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.odin-voice-hint {
  margin-top: 11px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.48);
}

@keyframes odinVoicePulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@media (max-width: 600px) {
  .odin-voice-button {
    right: 15px;
    bottom: 15px;
  }

  .odin-voice-panel {
    right: 15px;
    bottom: 84px;
  }
}


/* ODIN VOICE POSITION FIX */
#odinVoiceButton.odin-voice-button {
  position: fixed !important;
  right: 24px !important;
  bottom: 105px !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  visibility: visible !important;
  opacity: 1 !important;
}

#odinVoicePanel.odin-voice-panel {
  right: 24px !important;
  bottom: 175px !important;
  z-index: 999998 !important;
}

@media (max-width: 600px) {
  #odinVoiceButton.odin-voice-button {
    right: 15px !important;
    bottom: 95px !important;
  }

  #odinVoicePanel.odin-voice-panel {
    right: 15px !important;
    bottom: 165px !important;
  }
}
