/* ========== 채팅 입력창 레이아웃 개선 (2025-09-30) ========== */
/* 추출 일자: 2025-10-02 */
/* 원본: assets/css_inline/head_style_0018.css (라인 4726-4870) */

/* 입력창 위치는 layout.css에서 제어 */

.input-main-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.unified-input-layout {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  background: var(--bg-elev, #ffffff);
  border: 2px solid var(--border, #e5e7eb);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
}

.unified-input-layout:focus-within {
  border-color: var(--primary, #6a55ff);
  box-shadow: 0 4px 30px rgba(106, 85, 255, 0.15);
}

.input-field-wrapper {
  flex: 1;
  position: relative;
}

.chat-input {
  flex: 1;
  width: 100%;
  min-height: 24px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text, #1c1f3b);
  resize: none;
  outline: none;
  max-height: 200px;
  overflow-y: auto;
  font-family: inherit;
}

.chat-input::placeholder {
  color: var(--text-muted, #9ca3af);
}

.chat-input:focus,
.chat-input:focus-visible {
  outline: none;
}

.send-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  border: none;
  background: var(--primary, #6a55ff);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.send-button:hover:not(:disabled) {
  background: var(--primary-600, #5844d9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(106, 85, 255, 0.3);
}

.send-button:disabled {
  background: var(--border, #e5e7eb);
  color: var(--text-muted, #9ca3af);
  cursor: not-allowed;
  opacity: 0.5;
}

.send-button svg {
  width: 20px;
  height: 20px;
}

/* 다크모드 */
/* 모바일 입력창 스타일은 layout.css에서 제어 */
