/*******************************************************************************
 * shArduino.css  →  shAssembler.css
 *
 * SyntaxHighlighter theme for x86 / x86-64 Assembly language.
 * Designed for dark-background code blocks (adjust variables for light themes).
 ******************************************************************************/

/* ── Base code block ────────────────────────────────────────────────────── */
.syntaxhighlighter {
    background-color : #1e1e2e !important; /* dark background */
    border-radius    : 6px;
    font-size        : 0.9em;
    line-height      : 1.6;
}

/* ── Comments  ;  or  // ────────────────────────────────────────────────── */
.syntaxhighlighter .assembler_comment {
    color      : #6c7086 !important; /* muted grey */
    font-style : italic;
}

/* ── Opcodes / mnemonics  mov, push, jmp … ──────────────────────────────── */
.syntaxhighlighter .assembler_opcode {
    color       : #89b4fa !important; /* bright blue */
    font-weight : bold !important;
}

/* ── Registers  rax, xmm0, st0 … ───────────────────────────────────────── */
.syntaxhighlighter .assembler_register {
    color : #a6e3a1 !important; /* soft green */
}

/* ── Directives  db, section, global, extern … ──────────────────────────── */
.syntaxhighlighter .assembler_directive {
    color       : #cba6f7 !important; /* lavender / purple */
    font-weight : bold;
}

/* ── Size qualifiers  byte, dword, ptr … ───────────────────────────────── */
.syntaxhighlighter .assembler_size {
    color : #f38ba8 !important; /* rose / salmon */
}

/* ── Labels  main:  .loop:  ─────────────────────────────────────────────── */
.syntaxhighlighter .assembler_label {
    color       : #f86f1a !important; /* peach / amber */
    font-weight : bold;
}

/* ── Local / dot labels  .done  .loop  ─────────────────────────────────── */
.syntaxhighlighter .assembler_local_label {
    color : #c18d1d !important; /* yellow */
}

/* ── Strings  "hello, world" ────────────────────────────────────────────── */
.syntaxhighlighter .assembler_string {
    color : #a6e3a1 !important; /* green – matches typical terminal strings */
}

/* ── Hex literals  0x1A2B  1A2Bh  $FF ──────────────────────────────────── */
.syntaxhighlighter .assembler_hex {
    color : #46b09f !important; /* teal */
}

/* ── Binary literals  1010b  0b1010 ─────────────────────────────────────── */
.syntaxhighlighter .assembler_bin {
    color : #89dceb !important; /* sky blue */
}

/* ── Octal literals  0o755 ──────────────────────────────────────────────── */
.syntaxhighlighter .assembler_oct {
    color : #74c7ec !important; /* lighter blue */
}

/* ── Decimal / float literals ───────────────────────────────────────────── */
.syntaxhighlighter .assembler_number {
    color : #fab387 !important; /* peach – same family as labels, distinct hue */
}

/* ── Immediate values  #imm  $imm ──────────────────────────────────────── */
.syntaxhighlighter .assembler_immediate {
    color : #f9e2af !important; /* yellow */
}

/* ── Memory brackets  [ ] ───────────────────────────────────────────────── */
.syntaxhighlighter .assembler_bracket {
    color       : #cdd6f4 !important; /* near-white */
    font-weight : bold;
}

/* ── Gutter (line numbers) ──────────────────────────────────────────────── */
.syntaxhighlighter .gutter {
    background-color : #181825 !important;
    color            : #45475a !important;
    border-right     : 1px solid #313244;
}

.syntaxhighlighter .gutter .line {
    border-right : none !important;
}

/* ── Line highlight on hover ────────────────────────────────────────────── */
.syntaxhighlighter .line.highlighted {
    background-color : #313244 !important;
}

/* ── Toolbar (copy button etc.) ─────────────────────────────────────────── */
.syntaxhighlighter .toolbar {
    background-color : #181825 !important;
}

.syntaxhighlighter .toolbar a {
    color : #6c7086 !important;
}

.syntaxhighlighter .toolbar a:hover {
    color : #cdd6f4 !important;
}