@charset "utf-8";

/* fw-component : PC 개편 화면 공용 부품 (나중에 PC fw-common.css 가 된다)
 * 모바일 fw-common.css 와 같은 클래스 · 같은 모양, 크기만 PC 디자인 값. 클래스 규칙만 둔다 */

/* ===== 버튼 ===== */
.fw-btn {
  display: inline-block;
  box-sizing: border-box;
  padding: 16px 10px;
  line-height: 1;
  vertical-align: middle;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--primary-300, #169dab);
  color: var(--white, #fff);
  font-family: 'Pretendard';
  font-weight: 400;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
/* 큰 버튼 */
.fw-btn--lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 10px;
  border-radius: 0;
  font-family: 'Pretendard SemiBold';
  font-weight: 600;
  font-size: 14px;
}
/* 보조 버튼 */
.fw-btn--tight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px 9px;
  border-width: 1px;
  border-radius: 0;
  font-family: 'Pretendard';
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
}
.fw-btn--outline-light {
  background: var(--white, #fff);
  border-color: var(--gray-500, #ccc);
  color: var(--black-1000, #666);
}
.fw-btn--outline-dark {
  background: var(--white, #fff);
  border-color: var(--black-1000, #666);
  color: var(--black-1200, #222);
}
/* 링크 버튼 상태 */
:where(a).fw-btn--outline-light:visited,
:where(a).fw-btn--outline-light:hover,
:where(a).fw-btn--outline-light:active {
  color: var(--black-1000, #666);
  text-decoration: none;
}

/* ===== 뱃지 ===== */
.fw-badge {
  --badge-main: var(--gray-800, #999);
  --badge-rgb: var(--gray-800-rgb, 153, 153, 153);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  height: 22px;
  padding: 0 5px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--badge-main);
  font-family: 'Pretendard';
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  color: var(--white, #fff);
  white-space: nowrap;
}
/* 테두리만 */
.fw-badge--line {
  background: transparent;
  border-color: rgba(var(--badge-rgb), .5);
  color: var(--badge-main);
}
.fw-badge--point { --badge-main: var(--color-warning, #ED4E2B); --badge-rgb: var(--color-warning-rgb, 237, 78, 43); }
.fw-badge--link  { --badge-main: var(--color-link, #1188EC);    --badge-rgb: var(--color-link-rgb, 17, 136, 236); }

/* ===== 화살표 (fw-arrow) ===== */
.fw-arrow {
  flex: 0 0 auto;
}
.fw-arrow--sm {
  width: 6px;
  height: 10px;
}
.fw-arrow--lg {
  width: 21px;
  height: 21px;
}
.fw-arrow--down { transform: rotate(90deg); }
.fw-arrow--up { transform: rotate(-90deg); }

/* ===== 안내 아이콘 (fw-icoNotice) ===== */
.fw-icoNotice {
  flex: none;
  width: 16px;
  height: 16px;
}

/* ===== 영역 이름표 (fw-areaLabel) ===== */
.fw-areaLabel {
  margin: 0;
  padding: 4px 0;
  font-family: 'Pretendard';
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-link, #1188EC);
}
.fw-areaLabel:has(> svg) {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== 빈 칸 (fw-divider--space) ===== */
.fw-divider--space {
  height: 20px;
  margin: 0;
  border: 0;
}

/* ===== 점 목록 (fw-dotList) ===== */
.fw-dotList li {
  position: relative;
  margin-left: 12px;
  word-break: keep-all;
  font-family: 'Pretendard';
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--black-1200, #222);
}
.fw-dotList li::before {
  content: '\2022';
  position: absolute;
  left: -12px;
}

/* ===== 스위치 (fw-switch) ===== */
.fw-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Pretendard';
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  color: var(--black-1000, #666666);
  cursor: pointer;
}
.fw-switch input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 30px;
  height: 16px;
  margin: 0;
  border-radius: 8px;
  background: var(--gray-500, #CCCCCC)
    radial-gradient(circle, var(--white, #fff) 5.5px, transparent 6px)
    no-repeat left 2px center / 12px;
  cursor: inherit;
  transition: background-color .2s, background-position .2s;
}
.fw-switch input[type=checkbox]:checked {
  background-color: var(--primary-300, #169DAB);
  background-position: right 2px center;
}
.fw-switch:has(input:checked) {
  color: var(--primary-300, #169DAB);
}
/* 키보드 초점 */
.fw-switch input[type=checkbox]:focus-visible {
  outline: 2px solid var(--primary-300, #169DAB);
  outline-offset: 2px;
}
.fw-switch:has(input:disabled) {
  color: var(--gray-600, #B5B5B5);
  cursor: not-allowed;
}

/* ===== 회색 판 (fw-panel) ===== */
.fw-panel {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 14px 15px;
  border-radius: 10px;
  background: var(--gray-200, #F5F5F5);
  font-family: 'Pretendard';
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--black-1200, #222);
  word-break: keep-all;
}
.fw-panel__title {
  font-family: 'Pretendard SemiBold';
  font-weight: 600;
}
/* 답글 화살표가 앞에 붙는 제목 */
.fw-panel__title--reply {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}
.fw-panel__title--reply::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: url("//www.feelway.com/tmp_assets/icons/img_1.5/bul-reply.svg") no-repeat center / contain;
}
