/* Privacy pages (/privatums, /privacy). Builds on styles.css. */

.doc-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

.doc-container .login-header {
  gap: 1rem;
}

.lang-switch {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.lang-switch a,
.lang-switch span {
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 500;
}

/* .doc-container prefix: must beat the generic .doc-container a / a:hover link
   styles (orange + underline) — the switch is a pill, not a text link. */
.doc-container .lang-switch a {
  color: var(--primary-green);
  border: 1px solid var(--border-light);
}

.doc-container .lang-switch a:hover {
  border-color: var(--primary-green);
  text-decoration: none;
}

.lang-switch span {
  color: var(--white);
  background: var(--primary-green);
  border: 1px solid var(--primary-green);
}

.doc-intro {
  margin: 1.5rem 0;
}

.doc-meta {
  color: var(--text-grey);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.doc-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 1rem;
}

.doc-section h2 {
  text-align: left;
  color: var(--primary-green);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

.doc-section h3 {
  color: var(--primary-black);
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.375rem;
}

.doc-section p,
.doc-section ul {
  margin-bottom: 0.75rem;
}

.doc-section ul {
  padding-left: 1.25rem;
}

.doc-section li {
  margin-bottom: 0.25rem;
}

.doc-container a {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.doc-container a:hover {
  text-decoration: underline;
}

/* Places awaiting confirmation by the data protection officer.
   Must all be resolved (removed) before the page goes to production. */
mark.to-verify {
  background: #fff1e6;
  color: #9a3c06;
  border: 1px dashed var(--primary-orange);
  border-radius: 4px;
  padding: 0 0.25rem;
  font-size: 0.875em;
}

@media (max-width: 768px) {
  .doc-container {
    padding: 1.5rem 1rem 3rem;
  }
}
