/* Language Switcher Styles */

/* Override switcher dimensions for just language selection */
.switcher {
  width: 180px !important;
  height: auto !important;
  min-height: 100px !important;
  max-height: 120px !important;
  transition: right 0.3s ease !important;
  right: -180px !important;
}

/* When open, move to visible */
.switcher.open {
  right: 0 !important;
}

/* Keep button FIXED and always visible */
.switcher .switcher-btn {
  position: fixed !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 1001 !important;
  right: 0 !important;
  left: auto !important;
  top: 120px !important;
  width: 40px !important;
  height: 40px !important;
}

/* Hide the back button (we don't need it) */
.switcher .back {
  display: none !important;
}

/* Adjust colors container */
.switcher .colors {
  padding: 12px 15px !important;
  overflow: hidden !important;
}

.switcher .colors p {
  font-size: 13px !important;
  margin-bottom: 4px !important;
  font-weight: 500 !important;
}

/* Language selector styles */
.language-selector {
  display: inline-block;
  margin: 8px 12px;
  transition: all 0.3s ease;
}

.language-selector a {
  display: block;
  padding: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.language-selector img {
  display: block;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.language-selector a:hover img {
  transform: scale(1.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.language-selector.active-language a {
  border-color: #607D8B;
  box-shadow: 0 0 15px rgba(96, 125, 139, 0.6);
  background: rgba(96, 125, 139, 0.1);
}

.language-selector.active-language img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Additional switcher styles */
.switcher .colors ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 5px;
  margin: 0;
}

.switcher .colors ul li {
  list-style: none;
}

/* Google Translate Widget Styles */
#google_translate_element {
  margin: 15px auto 20px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

/* Style the Google Translate select dropdown */
#google_translate_element select {
  background: #fff;
  border: 2px solid #607D8B;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  min-width: 100px;
}

#google_translate_element select:hover {
  border-color: #455A64;
  box-shadow: 0 2px 8px rgba(96, 125, 139, 0.3);
}

#google_translate_element select:focus {
  border-color: #455A64;
  box-shadow: 0 0 0 3px rgba(96, 125, 139, 0.2);
}

/* Hide Google Translate branding */
.goog-te-gadget {
  color: transparent !important;
  font-size: 0 !important;
}

.goog-te-gadget .goog-te-combo {
  margin: 0 !important;
}

/* Hide the "Powered by" text */
.goog-logo-link {
  display: none !important;
}

.goog-te-gadget span {
  display: none !important;
}

/* Style the translate banner if it appears */
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

/* Remove the annoying top spacing Google Translate adds */
.skiptranslate {
  display: none !important;
}
