@charset "UTF-8";
button {
  cursor: pointer;
}

.button-wrapper {
  display: contents;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 5px - 5px);
  margin: 5px;
  padding: 8px 15px;
  border: none;
  border-radius: var(--rounded);
  background: var(--primary);
  color: var(--background);
  text-align: center;
  font: inherit;
  font-family: var(--heading);
  font-weight: var(--semi-bold);
  text-decoration: none;
  vertical-align: middle;
  appearance: none;
  transition: background var(--transition), color var(--transition);
}

.button:hover {
  background: var(--text);
  color: var(--background);
}

.button[data-style=bare] {
  padding: 5px;
  background: none;
  color: var(--primary);
}
.button[data-style=bare]:hover {
  color: var(--text);
}

.button[data-flip] {
  flex-direction: row-reverse;
}

.button[data-style=icon] {
  padding: 6px; /* 아이콘 버튼은 정사각형 */
  margin: 0; /* 한 줄 정렬 깔끔 */
  background: none;
  color: var(--primary);
  font-size: 1.4rem; /* ← 추가 */
  width: 40px;
  height: 40px;
  border-radius: 999px; /* 동그란 아이콘 버튼 */
}
.button[data-style=icon]:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.06); /* 너무 튀지 않는 hover */
}

.button[data-style=icon] svg {
  width: 1.4em;
  height: 1.4em;
}

/* icon 모드에서는 라벨 텍스트 숨김 */
.button[data-style=icon] span {
  display: none !important;
}

/* 아이콘만 깔끔하게: gap 제거 */
.button[data-style=icon] {
  gap: 0;
}

/*# sourceMappingURL=button.css.map */