.uat-switcher {
  --uat-accent: #ee7538;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .14);
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  z-index: 99998;
}

.uat-switcher--floating { position: fixed; }
.uat-switcher--bottom-right { bottom: 20px; right: 20px; }
.uat-switcher--bottom-left { bottom: 20px; left: 20px; }
.uat-switcher--top-right { right: 20px; top: 20px; }
.uat-switcher--top-left { left: 20px; top: 20px; }

.uat-lang {
  align-items: center;
  border-radius: 999px;
  color: #1b1b1b !important;
  display: inline-flex;
  font: 700 12px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  text-decoration: none !important;
  transition: background-color .2s ease, color .2s ease;
}

.uat-lang:hover { background: #f2f2f2; }
.uat-lang.is-active { background: #111; color: #fff !important; }
.uat-lang svg { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); height: 14px; width: 21px; }

.uat-switcher__spinner {
  animation: uat-spin .7s linear infinite;
  border: 2px solid #ddd;
  border-radius: 50%;
  border-top-color: var(--uat-accent);
  display: none;
  height: 14px;
  margin: 0 8px 0 4px;
  width: 14px;
}

.uat-switcher.is-loading .uat-switcher__spinner { display: block; }

.uat-notice {
  background: #161616;
  border-radius: 8px;
  bottom: 76px;
  color: #fff;
  font: 500 13px/1.4 system-ui, sans-serif;
  max-width: 300px;
  padding: 10px 14px;
  position: fixed;
  right: 20px;
  z-index: 99999;
}

@keyframes uat-spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .uat-switcher--bottom-right { bottom: 12px; right: 12px; }
  .uat-switcher--bottom-left { bottom: 12px; left: 12px; }
  .uat-switcher--top-right { right: 12px; top: 12px; }
  .uat-switcher--top-left { left: 12px; top: 12px; }
  .uat-lang { min-height: 32px; padding: 0 8px; }
}

