/* ===== Legal pages (privacy / delete-account) — لمسة اللؤلؤ ===== */
:root {
  --teal: #1FB5B5;
  --teal-dim: rgba(0,153,153,0.14);
  --bg: #0B1220;
  --bg2: #121B2B;
  --line: #223047;
  --text: #E2E8F0;
  --muted: #94A3B8;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  line-height: 1.85;
  font-size: 16px;
}
a { color: var(--teal); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

.legal-head { background: var(--bg2); border-bottom: 1px solid var(--line); }
.legal-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 36px; display: block; }
.lang-jump { display: flex; gap: 8px; }
.lang-jump a {
  text-decoration: none; color: var(--text); font-size: 0.85rem;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
}
.lang-jump a:hover { border-color: var(--teal); color: var(--teal); }

.doc { padding: 48px 0; border-bottom: 1px solid var(--line); }
.doc:last-of-type { border-bottom: none; }
.doc h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; color: #fff; margin-bottom: 6px; }
.doc h2 { font-size: 1.15rem; font-weight: 600; color: #fff; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--text); }
.doc p { margin-bottom: 12px; }
.doc ul, .doc ol { padding-inline-start: 22px; margin-bottom: 12px; }
.doc li { margin-bottom: 6px; }
.meta { color: var(--muted) !important; font-size: 0.88rem; margin-bottom: 24px !important; }

table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 0.92rem; }
th, td { text-align: start; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
th { background: var(--teal-dim); color: #fff; font-weight: 600; }
td { background: rgba(30,41,59,0.5); }

.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 !important; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 12px 24px; border-radius: 999px; background: var(--teal); color: #fff;
}
.btn.ghost { background: transparent; border: 1px solid var(--teal); color: var(--teal); }

.legal-foot { background: var(--bg2); border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 0.8rem; text-align: center; }

@media (max-width: 560px) {
  th, td { padding: 10px; font-size: 0.86rem; }
}
