/* ============================================================
   Language switch — styling for the GTranslate plugin dropdown.
   The plugin injects <select class="gt_selector notranslate"> into every
   .gtranslate_wrapper. We only style that native select here.
   ============================================================ */
.gtranslate_wrapper {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.gtranslate_wrapper .gt_selector,
select.gt_selector {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #e2e8f0;
  background-color: #f1f5f9;
  /* chevron */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 15px;
  border-radius: 9999px;
  padding: 8px 32px 8px 14px;
  margin: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0f172a;
  line-height: 1;
  cursor: pointer;
  max-width: 11rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.gtranslate_wrapper .gt_selector:hover,
select.gt_selector:hover {
  background-color: #e9eef5;
  border-color: #cbd5e1;
}

.gtranslate_wrapper .gt_selector:focus-visible,
select.gt_selector:focus-visible {
  outline: 2px solid var(--pflegori-blue, #0066cc);
  outline-offset: 2px;
}

.gtranslate_wrapper .gt_selector option {
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
}

/* Mobile menu: left-align and add a little breathing room. */
#mobile-menu .gtranslate_wrapper {
  margin-top: 12px;
  align-self: flex-start;
}
#mobile-menu .gtranslate_wrapper .gt_selector {
  width: 100%;
  max-width: none;
}

/* ============================================================
   Hide Google's injected chrome (banner, tooltip, body offset).
   ============================================================ */
.goog-te-banner-frame,
.goog-te-gadget-icon { display: none !important; }
body { top: 0 !important; }
#goog-gt-tt,
.goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
