/* Shared styling for the public legal pages (privacy, terms, refund,
   cancellation, contact). Deliberately standalone: these pages must render
   without the app's JavaScript, without login, and on a phone. */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Cairo", "Tajawal", -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.85;
  color: #1f2937;
  background: #f8fafc;
  padding: 18px;
  -webkit-text-size-adjust: 100%;
}

.container {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  padding: 30px 26px 34px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}
.brand-mark { font-size: 26px; }
.brand-name { font-size: 19px; font-weight: 900; color: #1e40af; }
.brand-op { font-size: 11.5px; color: #6b7280; }

h1 { color: #1e40af; font-size: 25px; margin-bottom: 6px; line-height: 1.4; }
h2 {
  color: #1e40af; font-size: 18px; margin: 26px 0 10px;
  padding-bottom: 6px; border-bottom: 2px solid #dbeafe;
}
h3 { font-size: 15px; margin: 16px 0 6px; color: #374151; }
p, li { margin-bottom: 9px; color: #374151; font-size: 14.5px; }
ul, ol { padding-inline-start: 22px; }
strong { color: #1f2937; }
a { color: #2563eb; }

.updated { color: #6b7280; font-size: 13px; margin-bottom: 18px; }

.callout {
  background: #eff6ff; border-inline-start: 4px solid #2563eb;
  padding: 13px 15px; border-radius: 10px; margin: 16px 0;
  font-size: 14px;
}
.callout.warn { background: #fffbeb; border-inline-start-color: #d97706; }

/* Values the business owner must fill in before publishing. Loud on purpose —
   this must be impossible to ship by accident. */
.todo {
  background: #fef2f2; color: #991b1b; border: 2px dashed #dc2626;
  padding: 2px 8px; border-radius: 6px; font-weight: 800;
  font-size: 13px; display: inline-block;
}

table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
th, td { padding: 9px 11px; border: 1px solid #e5e7eb; text-align: start; }
th { background: #f3f4f6; font-weight: 800; }

.divider { height: 1px; background: #e5e7eb; margin: 36px 0; }
.lang-en { direction: ltr; text-align: left; }

.legal-footer {
  max-width: 820px; margin: 22px auto 8px; text-align: center;
  font-size: 12.5px; color: #6b7280; line-height: 2;
}
.legal-footer a { color: #2563eb; text-decoration: none; margin: 0 6px; white-space: nowrap; }
.legal-footer a:hover { text-decoration: underline; }
.legal-footer .op { display: block; margin-top: 8px; font-size: 11.5px; }

@media (max-width: 560px) {
  body { padding: 12px; }
  .container { padding: 22px 18px 26px; border-radius: 13px; }
  h1 { font-size: 21px; }
  h2 { font-size: 16.5px; }
  p, li { font-size: 14px; }
}
