.ngms-jessica-assistant {
  width: 100%;
  max-width: 430px;
  min-height: 530px;
  padding: 35px 24px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  text-align: center;
  font-family: Arial, sans-serif;
  margin: 30px auto;
}

.ngms-orb-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ngms-outer-glow {
  position: absolute;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: rgba(0, 207, 255, 0.35);
  filter: blur(18px);
  animation: ngmsGlowPulse 2s infinite ease-in-out;
}

.ngms-orb {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid #00cfff;
  background: radial-gradient(circle at 35% 30%, #ffffff, #d9f9ff, #bff4ff);
  color: #00bfe8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 10px rgba(0, 207, 255, 0.9),
    0 0 28px rgba(0, 207, 255, 0.6),
    inset 0 0 15px rgba(0, 207, 255, 0.25);
  transition: 0.2s ease;
}

.ngms-orb:hover {
  transform: scale(1.05);
}

.ngms-orb.ngms-listening {
  animation: ngmsListeningPulse 0.9s infinite ease-in-out;
}

.ngms-orb.ngms-thinking {
  animation: ngmsThinkingSpin 1.2s infinite linear;
}

.ngms-orb.ngms-speaking {
  animation: ngmsSpeakingPulse 0.45s infinite ease-in-out;
  box-shadow:
    0 0 15px rgba(0, 207, 255, 1),
    0 0 45px rgba(0, 207, 255, 0.9),
    0 0 75px rgba(0, 207, 255, 0.45);
}

.ngms-mic-icon {
  width: 34px;
  height: 34px;
}

.ngms-title {
  font-size: 24px;
  margin: 0 0 12px;
  color: #102a43;
}

.ngms-status {
  color: #526d7a;
  font-size: 15px;
  min-height: 22px;
  margin: 0;
}

.ngms-user-text {
  color: #00a7ce;
  font-size: 15px;
  font-weight: bold;
  margin: 15px 0;
  min-height: 20px;
}

.ngms-chat {
  margin-top: 20px;
  height: 240px;
  overflow-y: auto;
  background: #f7fcff;
  border-radius: 18px;
  padding: 15px;
  text-align: left;
}

.ngms-message {
  margin-bottom: 12px;
  padding: 11px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
}

.ngms-user-message {
  background: #00cfff;
  color: white;
  margin-left: 40px;
}

.ngms-ai-message {
  background: white;
  color: #17324d;
  border: 1px solid #e5f6fa;
  margin-right: 40px;
}

.ngms-reset-btn {
  margin-top: 14px;
  border: 1px solid rgba(0, 207, 255, 0.35);
  background: #effbff;
  color: #007fa3;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.ngms-reset-btn:hover {
  background: #dff7ff;
}

@keyframes ngmsGlowPulse {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

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

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

@keyframes ngmsSpeakingPulse {
  0%, 100% {
    transform: scale(1.04);
  }

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

@keyframes ngmsThinkingSpin {
  from {
    transform: rotate(0deg) scale(1.02);
  }

  to {
    transform: rotate(360deg) scale(1.02);
  }
}

@media (max-width: 520px) {
  .ngms-jessica-assistant {
    padding: 28px 18px;
  }

  .ngms-chat {
    height: 220px;
  }
}
