/* Syntax Highlighting for Linux101 Course */
/* Based on Prism.js theme with customizations for terminal commands */

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: #6a9955;
    font-style: italic;
}

.token.punctuation {
    color: #d4d4d4;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
    color: #b5cea8;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: #ce9178;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: #d4d4d4;
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: #c586c0;
}

.token.function,
.token.class-name {
    color: #dcdcaa;
}

.token.regex,
.token.important,
.token.variable {
    color: #d16969;
}

/* Terminal-specific highlighting */
.token.command {
    color: #569cd6;
    font-weight: bold;
}

.token.prompt {
    color: #4ec9b0;
    font-weight: bold;
}

.token.path {
    color: #ce9178;
}

.token.user {
    color: #4fc1ff;
}

.token.hostname {
    color: #b5cea8;
}

.token.output {
    color: #cccccc;
}

.token.error {
    color: #f44747;
    background-color: rgba(244, 71, 71, 0.1);
}

.token.success {
    color: #4ec9b0;
}

.token.warning {
    color: #dcdcaa;
    background-color: rgba(220, 220, 170, 0.1);
}

/* Bash-specific syntax */
.token.bash-variable {
    color: #9cdcfe;
}

.token.bash-function {
    color: #dcdcaa;
}

.token.bash-operator {
    color: #d4d4d4;
}

.token.bash-keyword {
    color: #c586c0;
}

.token.bash-string {
    color: #ce9178;
}

.token.bash-comment {
    color: #6a9955;
    font-style: italic;
}

/* File permissions highlighting */
.token.permission-read {
    color: #4ec9b0;
    font-weight: bold;
}

.token.permission-write {
    color: #d16969;
    font-weight: bold;
}

.token.permission-execute {
    color: #dcdcaa;
    font-weight: bold;
}

.token.permission-none {
    color: #6a9955;
}

/* File type indicators */
.token.file-directory {
    color: #4fc1ff;
    font-weight: bold;
}

.token.file-executable {
    color: #ce9178;
    font-weight: bold;
}

.token.file-symlink {
    color: #c586c0;
    font-weight: bold;
}

.token.file-regular {
    color: #d4d4d4;
}

/* Git-specific highlighting */
.token.git-add {
    color: #4ec9b0;
}

.token.git-remove {
    color: #f44747;
}

.token.git-modify {
    color: #dcdcaa;
}

.token.git-branch {
    color: #569cd6;
    font-weight: bold;
}

.token.git-commit {
    color: #b5cea8;
}

/* Network/IP highlighting */
.token.ip-address {
    color: #9cdcfe;
}

.token.port {
    color: #b5cea8;
}

.token.protocol {
    color: #c586c0;
    font-weight: bold;
}

/* System process highlighting */
.token.process-name {
    color: #dcdcaa;
}

.token.process-id {
    color: #b5cea8;
}

.token.memory-usage {
    color: #ce9178;
}

.token-cpu-usage {
    color: #d16969;
}

/* Custom line highlighting for specific lines */
.line-highlight {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #4fc1ff;
    padding-left: 0.5rem;
    margin-left: -0.5rem;
}

/* Diff highlighting */
.token.diff-added {
    background-color: rgba(78, 201, 176, 0.1);
    color: #4ec9b0;
}

.token.diff-removed {
    background-color: rgba(244, 71, 71, 0.1);
    color: #f44747;
}

.token.diff-changed {
    background-color: rgba(220, 220, 170, 0.1);
    color: #dcdcaa;
}

/* Man page highlighting */
.token.man-title {
    color: #569cd6;
    font-weight: bold;
}

.token.man-section {
    color: #c586c0;
    font-weight: bold;
}

.token-man-description {
    color: #d4d4d4;
}

/* Log file highlighting */
.token.log-timestamp {
    color: #b5cea8;
}

.token.log-level-info {
    color: #4fc1ff;
}

.token.log-level-warn {
    color: #dcdcaa;
}

.token.log-level-error {
    color: #f44747;
}

.token.log-level-debug {
    color: #6a9955;
}

/* JSON/YAML highlighting */
.token.json-key {
    color: #9cdcfe;
}

.token.json-string {
    color: #ce9178;
}

.token.json-number {
    color: #b5cea8;
}

.token.json-boolean {
    color: #569cd6;
}

.token.json-null {
    color: #6a9955;
}

/* Markdown highlighting (for documentation examples) */
.token.md-header {
    color: #569cd6;
    font-weight: bold;
}

.token.md-code {
    color: #dcdcaa;
    background-color: rgba(220, 220, 170, 0.1);
}

.token.md-link {
    color: #4fc1ff;
    text-decoration: underline;
}

.token.md-list {
    color: #d4d4d4;
}

.token.md-quote {
    color: #6a9955;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    pre {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
}