/* =================================================================
   Google Translate 스타일 숨김
   - Google Translate Widget의 기본 UI 요소를 숨김 처리
   - 커스텀 언어 선택 UI와 함께 사용
================================================================= */

/* ========== 번역 제외 요소 ========== */
/* Material Symbols 아이콘 번역 제외 */
.material-symbols-sharp,
.material-symbols-outlined,
.material-symbols-rounded,
.material-icons,
.ms-icon,
[class*="material-symbols"] {
  font-feature-settings: 'liga';
}

/* notranslate 클래스가 있는 요소는 번역 제외 */
.notranslate {
  translate: no;
}

/* ========== Google Translate UI 숨김 ========== */
/* Google Translate 상단 배너 및 툴팁 숨김 */
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-spinner-pos,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

/* 번역된 텍스트 하이라이트 제거 */
.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* body top 위치 보정 (Google Translate가 추가하는 top 값 제거) */
body {
  top: 0 !important;
}

/* Google Translate Element 컨테이너 숨김 */
#google_translate_element {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

/* Google Translate 메뉴 값 숨김 */
.goog-te-menu-value span:first-child {
  display: none;
}

/* 번역된 폰트 배경 제거 */
font[style] {
  background-color: transparent !important;
}

/* VIA/Skiphonor 번역 프레임 숨김 */
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd {
  display: none !important;
}

/* 번역 아이콘 숨김 */
.goog-te-gadget-icon {
  display: none !important;
}

/* 번역 선택 드롭다운 숨김 */
.goog-te-gadget-simple {
  display: none !important;
}

/* skate 프레임 숨김 */
.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}
