/*!****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/ActiveRoom.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************/
/* Main container */
.main-container {
  /* padding-top: 10%; Removed as requested */
}

/* Card shadow from Figma */
.shadow-card {
  box-shadow: 0px 2px 4px rgba(47, 57, 65, 0.06),
              0px 4px 8px rgba(47, 57, 65, 0.1);
}

/* Room container layout */
.room-container {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated microphone button */
.microphone-button {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease-in-out;
  margin-top: 20px;
}

/* Disconnected state - first SVG */
.microphone-button.disconnected {
  background-image: url('https://visor.ai/testes/background/Gooey Ring@1x-100.0s-200px-200px.svg');
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
}

/* Connected state - second SVG */
.microphone-button.connected {
  background-image: url('https://visor.ai/testes/background/Gooey Ring@1x-4.0s-200px-200px.svg');
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
}

/* Talking pulse animation */
.microphone-button.talking {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* Hover effect for microphone */
.microphone-button:hover {
  transform: scale(1.1);
}

/* Suggestion box - legacy support */
.suggestion-box {
  background-color: transparent;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  width: 100%;
  margin-top: -15px;
}

.suggestion-title {
  font-size: 14.4px;
  color: #888;
  margin-bottom: 4px;
}

.suggestion-content {
  display: flex;
  align-items: center;
  background-color: #333;
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  width: fit-content;
}

.suggestion-emoji {
  font-size: 22.4px;
  margin-right: 9.6px;
}

.suggestion-text {
  font-size: 12.8px;
  color: #fff;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Button transitions */
button {
  transition: opacity 2.5s ease, transform 0.3s ease;
}

button.fade-out {
  opacity: 0;
  pointer-events: none;
}

button:hover {
  /* Only color change on hover, no scale */
}

/* Fade-in animation */
.fade-in-animation {
  opacity: 0;
  animation: fadeIn 1.5s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Background removed - widget only mode */

/* Language selector - legacy */
.language-selector {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  opacity: 0;
}

.language-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Flag styles - New Figma sizes (20x20px inside 28x28 container) */
.flag {
  width: 20px;
  height: 20px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

/* Chile flag */
.flag.cl {
  background-image: url('/images/flags/Visor_ai_Chile.png');
}

/* Portugal flag */
.flag.portugal {
  background-image: url('https://www.visor.ai/testes/background/portugal.png');
}

/* Brazil flag */
.flag.brazil {
  background-image: url('/images/flags/Visor_ai_BR.png');
}

/* Spain flag */
.flag.spain {
  background-image: url('https://www.visor.ai/testes/background/spain.png');
}

/* USA flag */
.flag.uk {
  background-image: url('https://www.visor.ai/testes/background/united-states.png');
}

/* Argentina flag */
.flag.ar {
  background-image: url('https://cdn-icons-png.flaticon.com/128/12360/12360151.png');
}

/* Colombia flag */
.flag.co {
  background-image: url('https://cdn-icons-png.flaticon.com/128/16022/16022037.png');
}

/* Mexico flag */
.flag.mx {
  background-image: url("https://cdn-icons-png.flaticon.com/512/13980/13980579.png");
}

/* Nissan MX custom icons */
.flag.nissan_mx {
  background-image: url('/images/flags/NISSAN_MX.png');
}

.flag.second_nissan_mx {
  background-image: url('/images/flags/NISSAN_MX_2.png');
}

/* BPro Argentina */
.flag.bpro_arg {
  background-image: url('/images/flags/Visor_ai_Rocket_ARG.png');
}

/* GoContact rocket */
.flag.gocontact {
  background-image: url('/images/flags/Visor_ai_Rocket.png');
}

/* Car CO custom icon */
.flag.car_co {
  background-image: url('/images/flags/Visor_ai_Rocket.png');
}

/* Selected flag effect */
.flag.selected {
  transform: scale(1.2);
}

.flag.portugal.selected {
  transform: scale(1.2);
}

/* Hover for non-selected flags */
.flag:not(.selected):hover {
  transform: scale(1.1);
}

/* Selection pulse animation */
.selected-animate {
  animation: selectPulse 0.35s cubic-bezier(0.4,0,0.2,1) 1;
}

@keyframes selectPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  60% {
    transform: scale(1.15);
    opacity: 0.7;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.3;
  }
}

/* LiveKit room container */
.lk-room-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

/* Language flags in grid - legacy */
.language-flags .flag {
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: transform 0.3s ease, border 0.3s ease;
}

.language-flags .flag.selected {
  transform: scale(1.7);
  border: 2px solid #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
}

.language-flags .flag:hover {
  transform: scale(1.2);
}

/* Responsive styles */
@media (max-width: 768px) {
  .flag {
    width: 18px;
    height: 18px;
  }

  .language-selector {
    bottom: 60px;
    left: 20px;
  }

  .main-container {
    padding-bottom: 100px;
  }

  .suggestion-box {
    margin-top: -5px;
  }
}

/* Spin animation for loader */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Suggestion area - smooth transitions */
.suggestion-area {
  /* Height controlled by max-h classes for animation */
}

/* Typewriter cursor animation */
.typewriter-cursor {
  display: inline;
  animation: blink 0.7s infinite;
  color: #687076;
  font-weight: normal;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* Audio ring pulse effect */
.avatar-with-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
}

.audio-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #3a3a3a;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
  will-change: transform, opacity;
}

