/* Ajuste responsivo */
@media (max-width: 768px) {
  .suggestion, .emotion-group {
    padding: 10px 15px;
    font-size: 14px;
    max-width: 80%;
  }
  .emotion {
    margin: 3px 0;
  }
}

/* 🔽 Responsivo para móviles */
@media (max-width: 768px) {
  .chat-container {
    flex-direction: column;
    height: auto;
  }

  .sidebar {
    width: 100%;
    padding: 10px;
    border-right: none;
    border-bottom: 1px solid rgb(255, 127, 63);
  }

  .chat-area {
    padding: 20px 10px;
  }

  .profile h1 {
    font-size: 24px;
  }

  .profile .avatar {
    width: 120px;
    height: 120px;
  }

  .chat-input {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-input input {
    max-width: 100%;
    font-size: 16px;
  }

  .chat-input button {
    width: 100%;
    border-radius: 12px;
    margin-top: 10px;
  }

  .message .text {
    font-size: 14px;
    padding: 10px 14px;
  }

  .contact {
    font-size: 14px;
  }

  /* Mobile adjustments for suggestions */
  .suggestions-container {
    animation: fadeInContent 0.8s ease-out;
  }

  
  .suggestion-buttons {
    gap: 8px;
  }
  
  .suggestion-button {
    padding: 10px 15px;
    font-size: 14px;
  }
  
  .emotion-label {
    width: 80px;
    font-size: 12px;
  }
  
  .emotion-percent {
    font-size: 12px;
  }
}







/* Responsive: ocultar sidebar por defecto en móviles */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 240px;
    height: 100%;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
  }

  .sidebar.sidebar-open {
    left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .chat-container {
    flex-direction: column;
  }

  .chat-area {
    margin-top: 60px;
  }
}





/* Móvil */
@media (max-width: 768px) {
  .bottom-content {
    flex-direction: column;
    gap: 20px;
  }
}




/* Ajustes responsivos */
@media (max-width: 768px) {
  .bottom-content {
    flex-direction: column;
  }
  
  .welcome-message {
    max-width: 85%;
    font-size: 14px;
    padding: 12px 16px;
  }
  
  .suggestions-grid {
    grid-template-columns: 1fr;
  }
  
  .emotions-section {
    margin-top: 20px;
  }
}



/* Responsive */
@media (max-width: 768px) {
  .bottom-content {
    flex-direction: column;
  }

  .left-column, .right-column {
    width: 100%;
  }
}



/* Botones */
#mic-button {
  background: #7d3fcf; /* Color sólido como el botón enviar */
  border: none;
  border-radius: 50%; /* Forma circular */
  width: 45px; /* Mismo tamaño que el botón enviar */
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0; /* Evita que se deforme */
}
/* Icono del micrófono */
#mic-button svg {
  width: 22px;
  height: 22px;
  stroke: white; /* Color blanco para coincidir */
  stroke-width: 1.5; /* Grosor consistente */
}

.menu-toggle {
  display: none;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1001;
  background-color: rgb(255, 127, 63);
  color: white;
  font-size: 28px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.logo {
  margin-bottom: 20px;
}

.logo img {
  width: 330px;
  height: auto;
  object-fit: contain;
}

#intro-logo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1s ease;
}

#intro-logo img {
  max-width: 200px;
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeInContent {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

#main-content {
  opacity: 0;
  animation-fill-mode: forwards;
}

