/* Legal Pages Styles */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 30px;
}

.back-link {
  color: #2c2c2c;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

.legal-content {
  flex: 1;
  text-align: left;
}

.lang-content h1 {
  font-size: 32px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 10px;
  font-family: "Inter", sans-serif;
}

.last-updated {
  color: #666;
  font-size: 14px;
  margin-bottom: 30px;
  font-style: italic;
}

.lang-content section {
  margin-bottom: 30px;
}

.lang-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 15px;
  font-family: "Inter", sans-serif;
}

.lang-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 12px;
  font-family: "Inter", sans-serif;
}

.lang-content ul {
  margin: 15px 0;
  padding-left: 25px;
}

.lang-content li {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
}

.lang-content a {
  color: #2c2c2c;
  text-decoration: underline;
}

.lang-content a:hover {
  color: #1a1a1a;
}

.lang-content strong {
  font-weight: 600;
  color: #2c2c2c;
}

.legal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 30px 0;
  border-top: 1px solid #e0e0e0;
  margin-top: 40px;
}

.legal-footer a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.legal-footer a:hover {
  color: #2c2c2c;
  text-decoration: underline;
}

/* Override body styles for legal pages */
body:has(.legal-page) {
  display: block;
  height: auto;
  min-height: 100vh;
  overflow: auto;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .legal-page {
    padding: 15px;
  }

  .legal-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .lang-content h1 {
    font-size: 26px;
  }

  .lang-content h2 {
    font-size: 18px;
  }

  .lang-content p,
  .lang-content li {
    font-size: 14px;
  }

  .legal-footer {
    flex-direction: column;
    gap: 10px;
  }
}
