/**
* Button
*/
.button {
  -moz-appearance: none; /* 파이어폭스 브라우저용 기본 버튼 스타일이 제거 */
  -webkit-appearance: none; /* 웹킷 브라우저용 기본 버튼 스타일이 제거 */
  -webkit-box-align: center;
  -webkit-box-pack: center; /* Flexbox 초기 버전 */
  -webkit-tap-highlight-color: transparent;
  align-items: center;
  appearance: none; /* 브라우저의 기본 버튼 스타일이 제거 */
  border-radius: 3px;
  cursor: pointer;
  display: -webkit-inline-flex; /* 웹킷 브라우저용 */
  display: inline-flex;
  gap: 8px;
  height: 40px;
  justify-content: center; /* 최신 Flexbox */
  padding: 0 20px;
  position: relative;
  text-decoration: none;
  text-transform: none;
  user-select: none;
  width: fit-content;
}

.button img {
  height: 24;
  width: 24;
}
.button.button-outlined {
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.button.button-contained {
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.button.button-contained:hover {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px,
    rgba(0, 0, 0, 0.12) 0px 3px 14px 2px;
}

/**
* Button Primary
*/
.button.button-outlined,
.button.button-primary.button-outlined {
  background-color: transparent;
  border-color: var(--primary-300, #6280ff);
  border: 1px solid rgba(39, 99, 234, 0.5);
  color: var(--primary-main, #2763ea);
}
.button.button-outlined:hover,
.button.button-primary.button-outlined:hover {
  background-color: rgba(39, 99, 234, 0.04);
  border-color: var(--primary-300, #6280ff);
}

.button.button-contained,
.button.button-primary.button-contained {
  background-color: var(--primary-main, #2763ea);
  border-color: initial;
  border-image: initial;
  border-style: initial;
  border-width: 0px;
  color: rgb(255, 255, 255);
}
.button.button-contained:hover,
.button.button-primary.button-contained:hover {
  background-color: rgba(39, 99, 234, 0.92);
}

/**
* Button Secondary
*/
.button.button-secondary.button-contained {
  background-color: var(--graySecondary-800, #3c3d4f);
  border-color: initial;
  border-image: initial;
  border-style: initial;
  border-width: 0px;
  color: rgb(255, 255, 255);
}
.button.button-secondary.button-contained:hover {
  background-color: rgba(60, 61, 79, 0.92);
}

/**
* Button Large
*/
.button.button-large {
  font-size: 16px;
  height: 56px;
  line-height: 24px;
  padding: 0px 32px;
}

/**
* Button Group
*/
.button-group {
  background: url('../image/price-button-group.png');
  border-radius: 22.5px;
  display: -webkit-inline-flex;
  display: inline-flex;
  gap: 0;
}

.button-group .button {
  background: transparent;
  border-radius: 22.5px;
  border: 0;
  color: var(--state-opacity-wh-0-60, rgba(255, 255, 255, 0.6));
  font-family: 'Noto Sans KR';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  height: 46px;
  line-height: 24px;
}
.button-group .button.active {
  background: var(--white, #fff);
  color: var(--primary-main, #2763ea);
}
