/* stacked-zh switcher.css */

/* ─── Language switcher bar ─────────────────────────────────────────────────── */

.sh-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.sh-lang-switcher__divider {
  color: #c3c4c7;
}

.sh-lang-switcher__item {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}

.sh-lang-switcher__item:hover {
  opacity: 0.7;
}

.sh-lang-switcher__item--active {
  cursor: default;
  opacity: 1;
  font-weight: 700;
}

/* ─── No-translation modal ──────────────────────────────────────────────────── */

#sh-no-translation-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#sh-no-translation-overlay[hidden] {
  display: none;
}

.sh-no-translation-modal {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.sh-no-translation-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #646970;
  padding: 0;
}

.sh-no-translation-close:hover {
  color: #1d2327;
}

.sh-no-translation-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}

.sh-no-translation-body {
  color: #646970;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.sh-no-translation-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.sh-no-translation-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: opacity 0.15s;
}

.sh-no-translation-btn:hover {
  opacity: 0.85;
}

.sh-no-translation-btn--primary {
  background: #1d2327;
  color: #fff;
}

.sh-no-translation-btn--secondary {
  background: transparent;
  border-color: #1d2327;
  color: #1d2327;
}
