/* Emoji Animations */
@keyframes bounce-emoji {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.emoji-animate {
  display: inline-block;
  animation: bounce-emoji 1s infinite;
}

@keyframes flash-emoji {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.emoji-flash {
  animation: flash-emoji 1s infinite;
}

/* #translate_element {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 200002;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 4px 10px 4px 10px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 400;
  border: 1px solid #e5e7eb;
} */

/* Wrapper styles for the card */
.translate-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 4px 12px;
  width: auto;
}

/* Make the Google Translate widget inline and compact */
#translate_element .goog-te-gadget {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Remove the default Google icon */
#translate_element .goog-te-gadget-icon {
  display: none !important;
}

/* Style the select language text and dropdown arrow */
#translate_element .goog-te-gadget-simple {
  background: transparent !important;
  border: none !important;
  font-size: 15px !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  color: #222 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  box-shadow: none !important;
  width: auto !important;
}

/* Style the dropdown arrow */
#translate_element .goog-te-gadget-simple span[aria-hidden="true"] {
  font-size: 16px !important;
  color: #888 !important;
  margin-left: 4px;
}

/* Remove extra borders and backgrounds */
#translate_element .goog-te-menu-value {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Remove extra spacing */
#translate_element .VIpgJd-ZVi9od-xl07Ob-lTBxed {
  padding: 0 !important;
  margin: 0 !important;
}

/* Remove extra margin from the widget */
#translate_element {
  margin: 0 !important;
  padding: 0 !important;
}

#translate_element span[style*="border-left"] {
  display: none !important;
}

.iti__country-list {
  z-index: 99999 !important;
}

.iti__dropdown-input {
  color: #222 !important;
  background: #fff !important;
}

.iti__search-input {
  color: #222 !important;
  background: #fff !important;
}