/* Shared styles for legal and help pages */
.legal-page-body {
  background: #111;
}

.legal-page-frame {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 720px;
  margin: 0 auto;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px calc(32px + env(safe-area-inset-bottom, 0px));
  color: #f5f5f5;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.legal-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.legal-back-link {
  color: #72c7e8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.legal-page-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.legal-updated {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 24px;
}

.legal-section {
  margin-bottom: 22px;
}

.legal-section h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}

.legal-section p,
.legal-section li {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.legal-section ul {
  margin: 8px 0 0;
  padding-left: 1.2rem;
}

.legal-contact {
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.legal-contact a {
  color: #72c7e8;
}

.help-faq-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.help-faq-item:last-child {
  border-bottom: none;
}

.help-faq-q {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.help-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
}

.help-links a {
  color: #72c7e8;
  text-decoration: none;
  font-weight: 600;
}

.auth-legal-consent {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.auth-legal-consent input {
  margin-top: 3px;
  flex-shrink: 0;
}

.auth-legal-consent a {
  color: #72c7e8;
}

.settings-support-row {
  text-decoration: none;
  color: inherit;
}

.settings-danger-zone {
  margin-top: 8px;
}

.settings-delete-account-btn {
  width: 100%;
  border: none;
  background: transparent;
  color: #ff6b6b;
  font: inherit;
  font-weight: 700;
  text-align: left;
  padding: 14px 16px;
  cursor: pointer;
}

.settings-export-btn {
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  cursor: pointer;
}

.settings-delete-note {
  padding: 0 16px 14px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}
