/* ============================================================
   공통 푸터 (4개 nav, 하단 고정)
   - 72rem 보다 큰 화면에서도 가운데 정렬되도록 left:50% + translateX
   - 각 링크는 is-current 시 아이콘(_on) + 텍스트 컬러 강조
   ============================================================ */

.app-footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 72rem;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  z-index: 7777;
  height: 64px;
  /* safe area : 홈 인디케이터(아이폰 하단 바) 회피 */
  /* padding-bottom: env(safe-area-inset-bottom); */
}

.app-footer__nav {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  height: 64px;
  max-width: 400px;
  margin: 0 auto;
}

.app-footer__link {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  color: #a5adb5;
}

.app-footer__icon {
  width: 3.2rem;
  height: 3.2rem;
  display: block;
  /* margin-top: -2rem; */
}
@media (min-width: 768px) {
  .app-footer__icon {
    width: 2rem;
    height: 2rem;
  }
}
.app-footer__label {
  font-family: Pretendard, "NanumSquareNeo", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--gray-400);
  line-height: 1;
}

.app-footer__link.is-current {
  /* color: #00aeff; */
  color: #0600a6;
}
.app-footer__link.is-current .app-footer__label {
  /* font-weight: 700; */
  /* color: var(--color-primary); */
  color: #0600a6;
}
