#wptet-language-switcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.wptet-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #4a5568;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.wptet-lang-btn:hover {
  background: #f7fafc;
  color: #1a202c;
}

.wptet-lang-btn.wptet-active {
  background: #1a365d;
  color: #ffffff;
}

.wptet-flag {
  font-size: 18px;
  line-height: 1;
}

.wptet-admin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: #fef3c7;
  color: #92400e;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wptet-admin-btn:hover {
  background: #fde68a;
}

#wptet-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 13px;
  color: #718096;
  white-space: nowrap;
}

.wptet-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #e2e8f0;
  border-top-color: #1a365d;
  border-radius: 50%;
  animation: wptet-spin 0.6s linear infinite;
}

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

@media (max-width: 480px) {
  #wptet-language-switcher {
    bottom: 10px;
    right: 10px;
    left: 10px;
    justify-content: center;
  }
}
