/* Shared styling for the legal documents (Privacy Policy, Terms & Conditions).
   One file for all per-language views (Views/Privacy/{PrivacyPolicy,TermsAndConditions}.{lang}.cshtml) so the
   style is not repeated per view. Loaded via _Layout3 (Tailwind is already present); plain CSS using the WebUI
   palette (gray-900/700/500/400, blue-600/700, …). Intentionally SIMPLE — the source HTML's richer decorations
   (numbered chips, ✕ markers, boxes) are rendered as close-enough plain alternatives, not reproduced verbatim. */

.legal-doc {
    max-width: 48rem;            /* ~780px, centered reading column */
    margin: 0 auto;
    color: #374151;              /* gray-700 */
    line-height: 1.7;
    font-size: 1rem;
}

/* Header block */
.legal-doc header {
    border-bottom: 1px solid #e5e7eb;   /* gray-200 */
    padding-bottom: 1.25rem;
    margin-bottom: 2rem;
}
.legal-doc h1 {
    font-size: 1.875rem;         /* text-3xl */
    line-height: 1.2;
    font-weight: 800;
    color: #111827;              /* gray-900 */
    letter-spacing: -0.01em;
}
.legal-doc .company,
.legal-doc .brand { color: #6b7280; margin-top: 0.25rem; }   /* gray-500 */
.legal-doc .updated,
.legal-doc .meta { font-size: 0.875rem; color: #9ca3af; margin-top: 0.5rem; }  /* gray-400 */

/* Sections + headings */
.legal-doc section { margin-bottom: 2rem; }
.legal-doc h2 {
    font-size: 1.25rem;          /* text-xl */
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid #f3f4f6;   /* gray-100 */
}
.legal-doc h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin: 1rem 0 0.5rem;
}

/* Body text + lists */
.legal-doc p,
.legal-doc .clause { margin-bottom: 0.75rem; }
.legal-doc ul,
.legal-doc ol { margin: 0.5rem 0 0.75rem; padding-left: 1.5rem; }
.legal-doc ul { list-style: disc; }
.legal-doc li { margin-bottom: 0.375rem; }
.legal-doc strong { font-weight: 600; color: #1f2937; }   /* gray-800 */
.legal-doc a { color: #2563eb; text-decoration: none; }   /* blue-600 */
.legal-doc a:hover { text-decoration: underline; }

/* Clause / section numbering — plain bold instead of the source's coloured chips */
.legal-doc .num,
.legal-doc .clause-id,
.legal-doc .ltr { font-weight: 600; color: #374151; margin-right: 0.25rem; }

/* Definitions list */
.legal-doc dl.definitions dt { font-weight: 600; color: #111827; margin-top: 0.5rem; }
.legal-doc dl.definitions dd {
    margin: 0 0 0.25rem;
    padding-left: 0.875rem;
    border-left: 2px solid #e5e7eb;
    color: #4b5563;              /* gray-600 */
}

/* Prohibited list — normal disc bullets instead of the source's ✕ markers */
.legal-doc ul.prohibited { list-style: disc; }

/* Highlight / notice boxes — one simple neutral box */
.legal-doc .highlight-box,
.legal-doc .notice {
    background: #f9fafb;         /* gray-50 */
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin: 0.75rem 0;
}

/* Uppercase legal text (already uppercase in the source) — just slightly smaller/muted */
.legal-doc .caps { font-size: 0.8125rem; color: #4b5563; }

/* Table of contents */
.legal-doc nav.toc ol,
.legal-doc nav.toc ul { padding-left: 1.25rem; }
.legal-doc nav.toc h2 { font-size: 1.125rem; }

/* GDPR badge */
.legal-doc .badge-gdpr {
    display: inline-block;
    background: #eff6ff;         /* blue-50 */
    color: #1d4ed8;             /* blue-700 */
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: 0.25rem;
    margin-left: 0.25rem;
    vertical-align: middle;
}

/* Footer */
.legal-doc footer {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
}
