/**
 * Input Area - Estilos del área de entrada
 */

.input-area-wrapper {
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  position: relative;
}

.input-buttons-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 0;
  padding: 16px 0;
}

.input-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.input-button-mic {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.1);
  transition: all 0.3s ease;
}

.input-button-mic:hover {
  background: rgba(0, 245, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
  transform: scale(1.1);
}

.input-button-mic.recording {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.5);
  color: #ff4444;
  animation: pulse-recording 1.5s ease-in-out infinite;
}

@keyframes pulse-recording {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
  }
}

.input-button-write {
  border-color: var(--neon-magenta);
  color: var(--neon-magenta);
  background: rgba(255, 0, 255, 0.1);
}

.input-button-write:hover {
  background: rgba(255, 0, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
  transform: scale(1.1);
}

.input-button-write.active {
  background: rgba(255, 0, 255, 0.2);
  border-color: var(--neon-magenta);
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.6);
}

.input-textarea-container {
  display: none;
  flex-direction: row;
  gap: 12px;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.input-textarea-container.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.input-textarea {
  flex: 1;
  min-height: 44px;
  max-height: 120px;
  padding: 12px 16px;
  background: rgba(29, 32, 40, 0.8);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  resize: none;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.input-textarea:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.input-send-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.1);
  color: var(--neon-purple);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.input-send-button:hover {
  background: rgba(139, 92, 246, 0.2);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  transform: scale(1.1);
}

/* Scrollbar para textarea */
.input-textarea::-webkit-scrollbar {
  width: 6px;
}

.input-textarea::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.input-textarea::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 3px;
}

.input-textarea::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.5);
}
