
/* Wrapper logic */
#my-translator-wrapper {
  display: inline-block;
  line-height: 1;
  position: relative;
}

/* Hiding Google Translate Default Widget & Top Bar
   We do NOT use display:none for the element itself, 
   otherwise the script fails to initialize the dropdown. 
   We minimize it instead. 
*/
#google_translate_element {
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
  opacity: 0;
  z-index: -1;
}

/* Force hide the Google Top Bar (Banner) */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
} 
body {
    top: 0px !important; 
}

/* Flag Styling */
.my-translator-flags {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.flag-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  font-size: 28px; /* Large emoji size */
  line-height: 1;
  text-decoration: none !important;
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  user-select: none;
}
.flag-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  background: #ffffff;
  border-color: #cbd5e1;
}
.flag-icon:active {
  transform: translateY(0);
}
/* Custom User CSS */

