/* The language switch ("English | Kiswahili"), shared by every page that has one. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 15px;
}

.lang-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.lang-btn span {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 3px solid transparent;
}

.lang-btn[aria-pressed="true"] {
  font-weight: 800;
}

.lang-btn[aria-pressed="true"] span {
  border-bottom-color: #cf8f1e;
}

.lang-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.lang-sep {
  opacity: 0.5;
}

/* Landing and pricing: in the green top bar, before "Log in" */
.topbar-lang .lang-switch {
  color: #f4efe2;
}

.topbar-lang {
  align-items: center;
}

/* Phone strip under the green top bar (hidden at 900px and wider, with .m-only) */
.lang-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 52px;
  padding: 0 16px;
  background: #1e3a2b;
  border-top: 1px solid rgba(244, 239, 226, 0.14);
  color: #f4efe2;
}

.lang-strip .lang-switch {
  color: #f4efe2;
}

.lang-strip .lang-btn:focus-visible {
  outline: 3px solid #cf8f1e;
  outline-offset: -3px;
}

/* Phone menu row */
.menu-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  border-bottom: 1px solid #e2ddcc;
  color: #1e3a2b;
  font-size: 18px;
  font-weight: 600;
}

.menu-lang .lang-switch {
  font-size: 17px;
}

/* Log in and sign up: small, top right of the page */
.lang-corner {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #1e3a2b;
}

.lang-corner .lang-switch {
  font-size: 14px;
}

.auth-page {
  position: relative;
}

/* Payment confirmation page */
.lang-row {
  display: flex;
  justify-content: flex-end;
  color: #1e3a2b;
}
