.mo {
   display: none;
}
.bg_border {
  position: relative;
  margin: 3px 0;
}

.bg_border::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #E8E8E8;
  transform: scaleY(0.7);
  transform-origin: bottom;
}

/* 버튼 */
.bg_white_btn {
   display: inline-block;
   padding: 0 10px;
   height: 37px;
   line-height: 35px;
   border: 1px solid #17393c;
   border-radius: 7px;
   font-size: 14px;
   font-weight: 500;
}
.bg_white_btn:hover {
   border: 1px solid #17393c;
   background-color: #17393c;
   color: #fff;
}
.bg_green_btn {
   display: inline-block;
   padding: 0 10px;
   height: 37px;
   line-height: 35px;
   border: 1px solid #17393c;
   background-color: #17393c;
   color: #fff;
   border-radius: 7px;
   font-size: 14px;
   font-weight: 500;
}
.bg_green_btn:hover {
   color: #17393c;
   background-color: #fff;
}

@media (max-width: 1280px) {
   .bg_white_btn,
   .bg_green_btn {
      height: 35px;
      line-height: 33px;
      font-size: 13px;
      padding: 0 7px;
   }
}

@media (max-width: 1080px) {
   .mo {
      display: block !important;
   }
   .pc {
      display: none !important;
   }

   /* 버튼 */
   .bg_white_btn {
      border: 1px solid #b7b7b7;
      width:50%;
	  height: 33px;
	  text-align:center;
      line-height: 31px;
      font-size: 12px;
      color: #969696;
   }
   .bg_green_btn {
      width:50%;
	  height: 33px;
      line-height: 31px;
      font-size: 12px;
	  text-align: center;
   }

	.mo_menu {margin:0 0 20px 0;}

	.mo .swiper_tabs .swiper-slide a {
		border-radius: 5px;
	}

}

.gray-image {
    filter: grayscale(100%);
}

/* PC에서는 숨김 */
.mobile-bottom-nav {
  display: none;
}

@media screen and (max-width: 768px) {
 .mobile-bottom-nav {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important; 
    position: fixed !important;
    
    /* [수정] 화면 맨 아래에 딱 붙임 */
    bottom: 0 !important; 
    left: 0 !important;
    right: 0 !important;
    
    /* [수정] env를 빼고 고정 높이 70px 정도만 줍니다. */
    /* 앱에서 이미 여백을 뺐기 때문에 env를 더하면 화면 밖으로 밀려납니다. */
    height: 70px !important; 
    padding-bottom: 0 !important;
    
    background-color: #ffffff !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1) !important;
    z-index: 10000 !important;
    box-sizing: border-box !important;
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex: 1;
    position: relative;
  }

  /* 중앙 AI 버튼 위치 조정 */
  .ai-icon-wrapper {
    position: absolute;
    top: -25px; 
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
  }

  /* 일반 아이콘 스타일 */
  .icon-img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    object-fit: contain;
  }

  /* AI 자가진단 (중앙 플로팅 버튼) 컨테이너 */
  .ai-special {
    overflow: visible;
  }

  .ai-icon-wrapper {
    position: absolute;
    /* 하단 바 상단선 기준으로 위치 고정 */
    top: -25px; 
    width: 65px;
    height: 65px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
    z-index: 1001;
  }

  .icon-img-lg {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .nav-item .label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
  }

  /* AI 자가진단 라벨 위치 고정 */
  .ai-special .label {
    position: absolute;
    bottom: 15px; /* 하단 바 높이 안에서 라벨 위치 조정 */
    width: 100%;
    text-align: center;
  }
}