/**
 * Enhanced atom-dark theme for `prism.js`
 * Based on Atom's `atom-dark` theme with added color variability
 */

/* General styling for code and pre elements */
code[class*="language-"],
pre[class*="language-"] {
    color: #c5c8c6;
    text-shadow: 0 1px rgba(0, 0, 0, 0.3);
    font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace;
    direction: ltr;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    line-height: 1.5;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

/* Styling for code blocks */
pre[class*="language-"] {
    padding: 1em;
    margin: .5em 0;
    overflow: auto;
    border-radius: 0.3em;
    background: #1d1f21;
}

/* Styling for inline code */
:not(pre) > code[class*="language-"] {
    padding: .1em;
    border-radius: .3em;
}

/* Bash-specific colors */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: #4bbb83; /* Dark green for comments */
}

.token.punctuation {
    color: #89DDFF; /* Light blue for punctuation */
}

.token.property,
.token.keyword,
.token.tag {
    color: #FF6188; /* Hot pink for properties, keywords, tags */
}

.token.class-name {
    color: #FFD866; /* Soft orange for class names */
    text-decoration: underline;
}

.token.boolean,
.token.constant {
    color: #FC9867; /* Soft red for booleans and constants */
}

.token.symbol,
.token.deleted {
    color: #AB9DF2; /* Purple for symbols and deletions */
}

.token.number {
    color: #78DCE8; /* Blue for numbers */
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: #A9DC76; /* Green for strings, chars, built-ins, insertions */
}

.token.variable {
    color: #FF6188; /* Hot pink for variables */
}

.token.operator {
    color: #FF9D00; /* Bright orange for operators */
}

.token.entity {
    color: #FFD866; /* Soft orange for entities */
    cursor: help;
}

.token.url {
    color: #FD971F; /* Orange for URLs */
}

.language-css .token.string,
.style .token.string {
    color: #9ECE6A; /* Lime green for CSS strings */
}

.token.atrule,
.token.attr-value {
    color: #FF6188; /* Hot pink for atrules and attribute values */
}

.token.function {
    color: #A9DC76; /* Green for functions */
}

.token.regex {
    color: #D6A9FF;
}

.token.important {
    color: #fd971f;
}

.token.important,
.token.bold {
    font-weight: bold;
}

.token.italic {
    font-style: italic;
}

/* Bash-specific styles */
.token.command {
    color: #F92672; /* Pinkish-red for bash commands */
    font-weight: bold;
}

.token.parameter {
    color: #A6E22E; /* Bright green for bash parameters */
}
