/* Container */
.wfd-lang-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
iframe#\:1\.container {
    display: none;
}
@media only screen and (max-width: 768px) {
.wfd-lang-widget {
  bottom: 75px;
  right: 15px;
}	
}
/*Extra*/
/* Kill Google translate top banner iframe (robust) */
iframe[id^=":"][id$=".container"]{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  width:0 !important;
}

/* Also kill the standard banner class if present */
.goog-te-banner-frame,
iframe.goog-te-banner-frame{
  display:none !important;
  visibility:hidden !important;
}

body { top:0 !important; }
html { margin-top:0 !important; }

/*extra end*/
/* Main Square Button */
#wfdLangToggle {
  background-color: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, background 0.2s;
}

#wfdLangToggle:hover {
  transform: translateY(-2px);
  background-color: rgba(30, 30, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Active Flag */
#wfdActiveFlag {
  width: 24px;
  height: auto;
  border-radius: 2px;
  display: block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Active Text */
#wfdActiveText {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* Popup Menu */
.wfd-glass-menu {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 150px;
  background-color: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.wfd-glass-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Menu Items */
.wfd-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.wfd-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.wfd-menu-item img {
  width: 20px;
  border-radius: 2px;
}

.wfd-menu-item span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* Extra safety (banner + tooltips) */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body { top: 0 !important; }
html { margin-top: 0 !important; }

#goog-gt-tt,
.goog-tooltip,
.goog-text-highlight,
.goog-te-balloon-frame,
.goog-te-spinner-pos {
  display: none !important;
}
.goog-text-highlight { background: transparent !important; box-shadow: none !important; }
