/**
 * 버튼 컴포넌트 - 깔끔한 미니멀 디자인
 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-sm);
  font-weight: var(--font-semibold);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Primary Button - 깔끔한 블루 */
.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 12px 20px rgba(17, 24, 39, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* Secondary Button - 깔끔한 그린 */
.btn-secondary {
  background: var(--white);
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

.btn-secondary:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

/* Accent Button */
.btn-accent {
  background: var(--accent-color);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  background: var(--accent-dark);
}

/* Success Button */
.btn-success {
  background: var(--secondary-color);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-success:hover {
  background: var(--secondary-dark);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--gray-100);
}

/* Icon Button */
.btn-icon {
  padding: var(--spacing-sm);
  width: 40px;
  height: 40px;
}

.btn-icon-lg {
  width: 48px;
  height: 48px;
}

/* Button Sizes */
.btn-small {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-xs);
}

.btn-large {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-md);
  font-weight: var(--font-bold);
}

/* 버튼 그룹 */
.btn-group {
  display: flex;
  gap: var(--spacing-sm);
}

/* 플로팅 액션 버튼 */
.btn-floating {
  position: fixed;
  bottom: var(--spacing-2xl);
  right: var(--spacing-2xl);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-fixed);
  background: var(--primary-color);
  color: var(--white);
}

.btn-floating:hover {
  transform: scale(1.1);
}
