/* =========================================================
   zaur.it — Prism Syntax Highlighting Theme
   File: assets/css/prism-zaur.css
   Version: 1.0.0

   Scope: article code blocks only (light theme)
   Namespace: .zt-code-block pre code (Prism tokens)

   Tokens aligned with zaur.it design system:
   - Background: --zt-code-light-bg (#f3f6fa)
   - Header:     --zt-code-light-header-bg (#e2e8f0)
   - Border:     --zt-code-light-border (#cfd8e3)
   - Font:       --zt-font-mono

   Syntax color palette (light, professional):
   - Keywords:   #7c3aed  (violet)
   - Strings:    #16a34a  (green)
   - Numbers:    #ea580c  (orange)
   - Comments:   #94a3b8  (slate muted)
   - Functions:  #2563eb  (brand blue --zt-primary)
   - Variables:  #0f172a  (dark)
   - Operators:  #64748b  (slate)
   - Punctuation:#475569  (slate secondary)
   ========================================================= */


/* ---------------------------------------------------------
   Base reset for Prism inside .zt-code-block
   Overrides default Prism theme injections
   --------------------------------------------------------- */

.zt-code-block pre,
.zt-code-block pre[class*="language-"] {
  margin: 0 !important;
  padding: 16px 18px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--zt-font-mono) !important;
  font-size: 0.855rem !important;
  line-height: 1.7 !important;
  color: #1e293b !important;
  overflow-x: auto;
  tab-size: 4;
}

.zt-code-block code,
.zt-code-block code[class*="language-"] {
  font-family: var(--zt-font-mono) !important;
  font-size: inherit !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  text-shadow: none !important;
  white-space: pre;
  /* color intentionally NOT set — allows Prism token colors to apply */
}


/* ---------------------------------------------------------
   Prism token colors — light theme
   --------------------------------------------------------- */

.zt-code-block .token.comment,
.zt-code-block .token.prolog,
.zt-code-block .token.doctype,
.zt-code-block .token.cdata {
  color: #94a3b8;
  font-style: italic;
}

.zt-code-block .token.punctuation {
  color: #475569;
}

.zt-code-block .token.keyword,
.zt-code-block .token.tag,
.zt-code-block .token.boolean,
.zt-code-block .token.important,
.zt-code-block .token.deleted {
  color: #7c3aed;
  font-weight: 600;
}

.zt-code-block .token.string,
.zt-code-block .token.attr-value,
.zt-code-block .token.char,
.zt-code-block .token.builtin,
.zt-code-block .token.inserted {
  color: #16a34a;
}

.zt-code-block .token.number,
.zt-code-block .token.constant,
.zt-code-block .token.symbol,
.zt-code-block .token.unit {
  color: #ea580c;
}

.zt-code-block .token.function,
.zt-code-block .token.function-name,
.zt-code-block .token.class-name,
.zt-code-block .token.selector {
  color: #2563eb;
}

.zt-code-block .token.variable,
.zt-code-block .token.namespace,
.zt-code-block .token.property,
.zt-code-block .token.attr-name {
  color: #0369a1;
}

.zt-code-block .token.operator,
.zt-code-block .token.entity,
.zt-code-block .token.url {
  color: #64748b;
}

.zt-code-block .token.atrule,
.zt-code-block .token.regex {
  color: #db2777;
}

.zt-code-block .token.parameter {
  color: #0f172a;
}

/* PowerShell-specific */
.zt-code-block .token.cmdlet {
  color: #2563eb;
  font-weight: 600;
}

/* Output / plaintext — no highlighting, just clean */
.zt-code-block.zt-code-output pre,
.zt-code-block.zt-code-output code {
  color: #475569 !important;
}


/* ---------------------------------------------------------
   Scrollbar styling for code blocks
   --------------------------------------------------------- */

.zt-code-block pre::-webkit-scrollbar {
  height: 5px;
}

.zt-code-block pre::-webkit-scrollbar-track {
  background: var(--zt-code-light-border);
}

.zt-code-block pre::-webkit-scrollbar-thumb {
  background: #b0bec5;
  border-radius: 4px;
}

.zt-code-block pre::-webkit-scrollbar-thumb:hover {
  background: #90a4ae;
}