/* Shared styles for Terms of Use and Privacy Policy pages */
:root {
  --docs-bg: #f9f9f9;
  --docs-text: #333;
  --docs-heading: #222;
  --docs-font: "Roboto", "Helvetica", "Arial", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--docs-font);
  line-height: 1.6;
  padding: 20px;
  background-color: var(--docs-bg);
  color: var(--docs-text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--docs-heading);
  margin-top: 0;
}

h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--docs-heading);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

p, li {
  font-size: 1rem;
  margin: 0.5em 0;
}

ul {
  margin-left: 20px;
  padding-left: 20px;
}

a {
  color: #00703c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  margin-bottom: 1em;
}

.lang-switcher {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5em;
}

.lang-switcher button {
  padding: 6px 12px;
  font-family: inherit;
  font-size: 0.875rem;
  border: 1px solid rgba(0, 0, 0, 0.23);
  border-radius: 8px;
  background: #fff;
  color: var(--docs-text);
  cursor: pointer;
}

.lang-switcher button:hover {
  background: rgba(0, 0, 0, 0.04);
}

.lang-switcher button.active {
  background: #00703c;
  color: #fff;
  border-color: #00703c;
}

.doc-lang-section {
  display: none;
}

.doc-lang-section.active {
  display: block;
}

.last-updated {
  margin-top: 2em;
  font-size: 0.875rem;
  color: #666;
}
