.language-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-2);
}

.language-toggle button {
  min-width: 32px;
  height: 24px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text-3);
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.language-toggle button:hover {
  color: var(--text);
}

.language-toggle button.active {
  background: var(--surface-3);
  color: var(--text);
}

.login-language-toggle {
  position: fixed;
  z-index: 20;
  top: 20px;
  right: 20px;
}

@media (max-width: 760px) {
  .topbar > .language-toggle {
    margin-left: auto;
  }

  .topbar > .language-toggle + .user-menu + * {
    margin-left: 0;
  }

  html[data-language="en"] .wellness-entry-table td:nth-child(2)::before {
    content: "Mood 0–10";
  }

  html[data-language="en"] .wellness-entry-table td:nth-child(3)::before {
    content: "Fatigue 0–10";
  }

  html[data-language="en"] .wellness-entry-table td:nth-child(4)::before {
    content: "Entry status";
  }

  html[data-language="en"] .wellness-entry-table td:nth-child(5)::before {
    content: "Short note";
  }

  html[data-language="en"] .wellness-entry-table td:nth-child(6)::before {
    content: "Status / correction reason";
  }
}
