/* ================================
   공통 컴포넌트 스타일
   버튼, 토스트, 로딩 등 재사용 가능한 컴포넌트
================================ */

.loading {
  text-align: center;
  padding: 40px;
  color: rgba(255, 255, 255, 0.7);
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.success {
  background: linear-gradient(135deg, #00b894, #00cec9);
}

.toast.error {
  background: linear-gradient(135deg, #d63031, #e17055);
}

.group-header h4 {
  font-size: 16px;
  color: var(--pokemon-blue);
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* 미디어 쿼리 */
@media (max-width: 768px) {
  .toast {
    padding: 12px 24px;
    font-size: 13px;
  }
}
