/* --- 1. Container & Header Styles --- */
.pnet-sh-container {
    background: #282c34;
    border-radius: 6px;
    margin: 20px 0;
    overflow: hidden;
    border: 1px solid #3e4451;
    font-family: sans-serif;
}
.pnet-sh-container pre {
	background-color: #282c34 !important;
	color: #abb2bf !important;
	margin: 1em 0 0 0 !important;
	padding: 0.5em 1em 1em 1em !important;
	font-size: 16px !important;
	line-height: 1.5rem !important;
}
.pnet-sh-header {
    background: #21252b;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3e4451;
}

.pnet-sh-lang {
    color: #abb2bf;
    font-size: 0.75rem;
    font-weight: bold;
    /*text-transform: uppercase;*/
    letter-spacing: 0.05em;
}

.pnet-sh-copy-btn {
    background: transparent;
    border: 1px solid #abb2bf;
    color: #abb2bf;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.pnet-sh-copy-btn:hover {
    background: #abb2bf;
    color: #282c34;
}

.pnet-sh-copy-btn.copied {
    background: #98c379; /* Green */
    border-color: #98c379;
    color: #282c34;
}

/* --- 2. SyntaxHighlighter Overrides (Atom One Dark) --- */
.pnet-sh-container .syntaxhighlighter {
    background-color: #282c34 !important;
    margin: 1em 0 0 0 !important;
    padding: 0.5em 1em 1em 1em !important;
}

.syntaxhighlighter table td.code .line {
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace !important;
    font-size: 16px !important;
    line-height: 1.5em !important;
    padding: 0 15px !important;
}

/* Remove weird default borders/margins */
.syntaxhighlighter table caption { display: none !important; }
.syntaxhighlighter .line.alt1, .syntaxhighlighter .line.alt2 { background-color: transparent !important; }

/* Gutter (Line Numbers) */
.syntaxhighlighter .gutter {
    background-color: #282c34 !important; /* Blend with BG */
    border-right: 1px solid #3e4451 !important;
}
.syntaxhighlighter .gutter .line {
    border: none !important;
    color: #495162 !important; /* Dimmed */
    padding-right: 10px !important;
}

/* --- 3. Syntax Colors (Mapped to Atom One Dark) --- */
.syntaxhighlighter .plain, .syntaxhighlighter .plain a { color: #abb2bf !important; } /* Default Text */
.syntaxhighlighter .comments, .syntaxhighlighter .comments a { color: #5c6370 !important; font-style: italic !important; } /* Comments */
.syntaxhighlighter .string, .syntaxhighlighter .string a { color: #98c379 !important; } /* Strings (Green) */
.syntaxhighlighter .keyword { color: #c678dd !important; font-weight: normal !important; } /* Keywords (Purple) */
.syntaxhighlighter .preprocessor { color: #e06c75 !important; } /* Meta/Preproc (Red) */
.syntaxhighlighter .variable { color: #e06c75 !important; } /* Variables (Red) */
.syntaxhighlighter .value { color: #d19a66 !important; } /* Values (Orange) */
.syntaxhighlighter .functions { color: #61aeee !important; } /* Functions (Blue) */
.syntaxhighlighter .constants { color: #d19a66 !important; } /* Constants (Orange) */
.syntaxhighlighter .script { font-weight: bold !important; color: #c678dd !important; background: none !important; } /* PHP Tags */
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a { color: #56b6c2 !important; } /* Extra (Cyan) */
/* --- Missing Coverage for Edge Cases --- */

/* CSS Attributes / HTML Attributes (often .color1) -> Orange/Peach */
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a { color: #d19a66 !important; }

/* CSS Properties / Specific Keywords (often .color2) -> Cyan */
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a { color: #56b6c2 !important; }

/* CSS Units / Extra Values (often .color3) -> Red */
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a { color: #e06c75 !important; }

/* Diff Files (Green for added, Red for removed) */
.syntaxhighlighter .line.alt1 .content .string, 
.syntaxhighlighter .line.alt2 .content .string { color: #98c379 !important; } /* Added lines usually show as strings */

/* Highlighted Line Background (If you use highlight="5") */
.syntaxhighlighter .line.highlighted.alt1, 
.syntaxhighlighter .line.highlighted.alt2 { 
    background-color: #3e4451 !important; /* Lighter Grey */
}
.syntaxhighlighter .line.highlighted.number {
    color: #fff !important; 
    border-right-color: #5c6370 !important;
}