/* PantanOS shared stylesheet — used by /es/privacy.html and /en/privacy.html.
   The landing page at /index.html keeps its styles inline for a single-request render.
   Colour tokens mirror client/ux/guidelines.md §1.1 (seed #1565C0 water blue). */

body {
  margin: 0;
  padding: 0;
  font-family:
    'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial,
    sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  background-color: #E3F2FD; /* Blue 50 — matches --bg on the landing */
  color: #111827;
  line-height: 1.6;
}

a {
  color: #1565C0; /* primary — guidelines.md §1.1 seed */
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
  color: #0D47A1; /* primary-dark */
}

/* Central container — one card per section */
.container {
  max-width: 800px;
  margin: 40px auto;
  background-color: #FFFFFF;
  padding: 40px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
}

.container h1 {
  text-align: center;
  color: #111827;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

header h1 {
  margin: 10px 0 0;
  font-size: 28px;
  text-align: center;
}

h2 {
  border-bottom: 2px solid #E5E7EB;
  color: #111827;
  padding-bottom: 10px;
  margin-top: 40px;
  font-size: 1.5rem;
  font-weight: 600;
}

h3 {
  margin-top: 24px;
  font-size: 1.25rem;
  font-weight: 500;
  color: #374151;
}

p,
li {
  margin-bottom: 16px;
  color: #374151;
}

ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #374151;
}

li strong {
  color: #111827;
}

/* Language selector (top-right, fixed) */
.language-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.language-selector select {
  border: none;
  background-color: transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: #374151;
  outline: none;
}

/* Version label near the top of the document (e.g. "v0.1 — draft") */
.policy-version {
  text-align: center;
  font-size: 0.95rem;
  color: #6B7280;
  margin-bottom: 0.25rem;
}

.policy-draft-banner {
  max-width: 800px;
  margin: 20px auto 0;
  padding: 10px 16px;
  background: #FFF3E0;
  border: 1px solid #FFB74D;
  border-radius: 8px;
  color: #E65100;
  font-size: 0.9rem;
  text-align: center;
}

/* Back-to-home link */
.policy-home-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
}

/* Utility */
.text-center { text-align: center; }
.text-sm {
  font-size: 0.875rem;
  color: #6B7280;
}

@media (max-width: 600px) {
  .container {
    padding: 24px;
    margin: 16px;
    border-radius: 12px;
  }
  header h1 { font-size: 24px; }
  h2 { font-size: 1.25rem; }
}
