/* =========================================
   Brand: Security (dark green) + LawCase (dark blue)
   ========================================= */
.brand-security {
  color: #1b5e20;
}
.brand-lawcase {
  color: #0d47a1;
}
[data-md-color-scheme="slate"] .brand-security {
  color: #66bb6a;
}
[data-md-color-scheme="slate"] .brand-lawcase {
  color: #42a5f5;
}

/* Header tagline (slogan after site name) */
.md-header__tagline {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.85;
  margin-left: 0.5rem;
}
@media (min-width: 76.25em) {
  .md-header__tagline {
    font-size: 0.8125rem;
  }
}

/* =========================================
   Brand variables (works with Material)
   ========================================= */

/* Light mode */
[data-md-color-scheme="default"] {
  --slc-font-size-base: 16px;
  --slc-font-size-small: 14px;
  --slc-max-width: 1180px;

  --slc-radius: 14px;
  --slc-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --slc-border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Dark mode */
[data-md-color-scheme="slate"] {
  --slc-font-size-base: 16px;
  --slc-font-size-small: 14px;
  --slc-max-width: 1180px;

  --slc-radius: 14px;
  --slc-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
  --slc-border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Case pack documents table: outer border + category row */
.case-pack-docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  border: 2px solid rgba(94, 53, 177, 0.45);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
[data-md-color-scheme="slate"] .case-pack-docs-table {
  border-color: rgba(66, 165, 245, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.case-pack-docs-table th,
.case-pack-docs-table td { padding: 0.5rem 0.75rem; text-align: left; border: 1px solid var(--slc-border, #e0e0e0); }
.case-pack-docs-table th { font-weight: 600; }
.case-pack-category td { font-weight: 600; padding: 0.5rem 0.75rem; border: 1px solid var(--slc-border, #e0e0e0); }
[data-md-color-scheme="default"] .case-pack-category td { background-color: rgba(94, 53, 177, 0.1); }
[data-md-color-scheme="slate"] .case-pack-category td { background-color: rgba(66, 165, 245, 0.12); }

/* Page last updated (footer on every page) */
.page-last-updated {
  margin-top: 2rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.8125rem;
  border-top: 1px solid var(--slc-border, rgba(0, 0, 0, 0.08));
  color: var(--md-default-fg-color--light, #666);
}
.page-last-updated__label { font-weight: 500; margin-right: 0.35rem; }
.page-last-updated__date { font-variant-numeric: tabular-nums; }
[data-md-color-scheme="default"] .page-last-updated { color: #5e35b1; }
[data-md-color-scheme="default"] .page-last-updated__label { color: #4527a0; }
[data-md-color-scheme="slate"] .page-last-updated { color: rgba(255, 255, 255, 0.7); }
[data-md-color-scheme="slate"] .page-last-updated__label { color: #42a5f5; }

/* =========================================
   Global layout / typography
   ========================================= */

html {
  font-size: var(--slc-font-size-base);
}

.md-grid {
  max-width: var(--slc-max-width);
}

.md-content__inner {
  padding-bottom: 4rem;
}

.md-typeset h1 {
  letter-spacing: -0.02em;
  font-weight: 700;
}

.md-typeset h2 {
  letter-spacing: -0.015em;
  margin-top: 2.0rem;
  padding-top: 0.25rem;
}

.md-typeset p,
.md-typeset li {
  line-height: 1.7;
}

/* Make pages feel less “docs-y” by softening the left nav and tightening hierarchy */
.md-sidebar--primary .md-nav__title {
  font-weight: 700;
}

/* =========================================
   Card-like sections (premium feel)
   Use with:  !!! note "Title"
   ========================================= */
.md-typeset .admonition,
.md-typeset details {
  border-radius: var(--slc-radius);
  box-shadow: var(--slc-shadow);
  border: var(--slc-border);
}

/* =========================================
   Tables: cleaner and more executive
   ========================================= */
.md-typeset table:not([class]) {
  border-radius: var(--slc-radius);
  overflow: hidden;
  border: var(--slc-border);
}

.md-typeset table:not([class]) th {
  font-weight: 700;
}

.md-typeset table:not([class]) td,
.md-typeset table:not([class]) th {
  padding: 0.75rem 0.9rem;
}

/* =========================================
   Code blocks: “product” vibe
   ========================================= */
.md-typeset pre > code {
  border-radius: var(--slc-radius);
}

/* =========================================
   Top header: slightly taller, more premium
   ========================================= */
.md-header {
  height: 3.4rem;
}
.md-header__inner {
  align-items: center;
}

/* Logo sizing (ensure image is visible; path is relative to docs_dir) */
.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 28px;
  width: auto;
  display: block;
}
.md-nav__button.md-logo img,
.md-nav__button.md-logo svg {
  height: 28px;
  width: auto;
  display: block;
}

/* =========================================
   Writing example (hallucinated) — formal document style
   Traditional serif (Liberation Serif), justified.
   Low-key elegant theme: paper-like background, soft border, subtle shadow.
   ========================================= */
.writing-example-formal {
  font-family: "Liberation Serif", Georgia, "Times New Roman", Times, serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  text-align: justify;
  max-width: 42rem;
  margin: 1.5rem 0;
  padding: 1.5rem 1.75rem;
  border-radius: 8px;
  /* Light theme: warm paper, soft purple-gray border, gentle shadow */
  background: #faf9f7;
  border: 1px solid rgba(94, 53, 177, 0.14);
  box-shadow:
    0 1px 2px rgba(94, 53, 177, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.04);
}
.writing-example-formal p {
  margin-bottom: 0.65em;
  text-align: justify;
}
.writing-example-formal .doc-header {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
}
.writing-example-formal .doc-meta {
  text-align: left;
  margin-bottom: 1rem;
  font-size: 0.9em;
  line-height: 1.5;
}
.writing-example-formal ul,
.writing-example-formal ol {
  text-align: left;
  margin-left: 1.25rem;
}
/* Dark theme (slate): raised surface, subtle blue border, soft glow */
[data-md-color-scheme="slate"] .writing-example-formal {
  background: rgba(30, 40, 55, 0.6);
  border: 1px solid rgba(66, 165, 245, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.03),
    0 4px 16px rgba(0, 0, 0, 0.2);
}

/* =========================================
   Optional: hide "Edit on GitHub" icon clutter
   (remove if you want it)
   ========================================= */
/* .md-content__button { display: none; } */
 .md-content__button { display: none; } 

