/* Reset and base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: #000000 !important;
    color: #ffffff !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Override theme styles completely */
.outer {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Header styling */
#header_wrap {
    background: #000000 !important;
    border-bottom: 2px solid #333333 !important;
    padding: 40px 0 !important;
}

#project_title {
    color: #ffffff !important;
    font-size: 3rem !important;
    font-weight: 600 !important;
    margin: 0 0 10px 0 !important;
    text-shadow: none !important;
    letter-spacing: -0.02em !important;
}

#project_tagline {
    color: #cccccc !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    margin: 0 0 30px 0 !important;
    text-shadow: none !important;
}

#forkme_banner {
    background: #ffffff !important;
    color: #000000 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    text-shadow: none !important;
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
}

#forkme_banner:hover {
    background: #f0f0f0 !important;
    transform: translateY(-1px) !important;
}

/* Navigation */
.main-nav {
    margin: 0 !important;
    text-align: left !important;
}

.nav-link {
    display: inline-block !important;
    margin: 0 30px 0 0 !important;
    padding: 10px 0 !important;
    background: none !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    border-bottom: 2px solid transparent !important;
    transition: border-color 0.2s ease !important;
}

.nav-link:hover {
    background: none !important;
    border-bottom-color: #ffffff !important;
    text-decoration: none !important;
}

/* Main content */
#main_content_wrap {
    background: #000000 !important;
    padding: 60px 0 !important;
}

#main_content {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin: 40px 0 20px 0 !important;
    letter-spacing: -0.01em !important;
}

h1 {
    font-size: 2.5rem !important;
    border-bottom: 2px solid #333333 !important;
    padding-bottom: 15px !important;
}

h2 {
    font-size: 2rem !important;
    border-bottom: 1px solid #333333 !important;
    padding-bottom: 10px !important;
}

h3 {
    font-size: 1.5rem !important;
}

h4 {
    font-size: 1.25rem !important;
}

/* Paragraphs and text */
p {
    margin: 20px 0 !important;
    color: #ffffff !important;
}

/* Links */
a {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-decoration-color: #666666 !important;
    transition: text-decoration-color 0.2s ease !important;
}

a:hover {
    text-decoration-color: #ffffff !important;
}

/* Code blocks - VS Code Dark+ theme */
pre {
    background: #1e1e1e !important;
    border: 1px solid #3c3c3c !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin: 30px 0 !important;
    overflow-x: auto !important;
    position: relative !important;
}

code {
    background: #1e1e1e !important;
    color: #d4d4d4 !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    font-family: 'Cascadia Code', 'SF Mono', Monaco, 'Roboto Mono', Consolas, 'Courier New', monospace !important;
    font-size: 0.9em !important;
}

pre code {
    background: transparent !important;
    padding: 0 !important;
    display: block !important;
    color: #d4d4d4 !important;
}

/* Copy button - VS Code style */
.copy-button {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: #2d2d30 !important;
    color: #cccccc !important;
    border: 1px solid #3c3c3c !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.copy-button:hover {
    background: #37373d !important;
    color: #ffffff !important;
    border-color: #464647 !important;
}

/* Blockquotes */
blockquote {
    background: #111111 !important;
    border-left: 4px solid #ffffff !important;
    margin: 30px 0 !important;
    padding: 20px 25px !important;
    border-radius: 0 6px 6px 0 !important;
}

blockquote p {
    margin: 0 !important;
    color: #ffffff !important;
    font-style: italic !important;
}

/* Lists */
ul,
ol {
    margin: 20px 0 !important;
    padding-left: 30px !important;
}

li {
    margin: 8px 0 !important;
    color: #ffffff !important;
}

/* Tables */
table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 30px 0 !important;
    background: #111111 !important;
    border: 1px solid #333333 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

th,
td {
    padding: 15px 20px !important;
    text-align: left !important;
    border-bottom: 1px solid #333333 !important;
    color: #ffffff !important;
}

th {
    background: #222222 !important;
    font-weight: 600 !important;
}

tr:hover {
    background: #1a1a1a !important;
}

/* Footer */
#footer_wrap {
    background: #000000 !important;
    border-top: 2px solid #333333 !important;
    padding: 40px 0 !important;
    margin-top: 60px !important;
}

#footer_wrap .inner {
    text-align: center !important;
}

#footer_wrap p {
    color: #cccccc !important;
    margin: 10px 0 !important;
    font-size: 0.9rem !important;
}

#footer_wrap a {
    color: #ffffff !important;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    #project_title {
        font-size: 2rem !important;
    }

    #project_tagline {
        font-size: 1.1rem !important;
    }

    .nav-link {
        display: block !important;
        margin: 0 0 15px 0 !important;
    }

    #forkme_banner {
        position: static !important;
        display: inline-block !important;
        margin: 20px 0 0 0 !important;
    }

    .inner {
        padding: 0 15px !important;
    }

    pre {
        margin: 20px -15px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }
}

/* Remove any remaining theme colors */
.highlight {
    background: #111111 !important;
}

/* VS Code Dark+ theme syntax highlighting */
.hljs {
    background: #1e1e1e !important;
    color: #d4d4d4 !important;
}

/* Keywords (if, else, function, const, let, var, etc.) */
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal {
    color: #569cd6 !important;
}

/* Strings */
.hljs-string {
    color: #ce9178 !important;
}

/* Function names, class names, types */
.hljs-title,
.hljs-name,
.hljs-type,
.hljs-built_in {
    color: #4ec9b0 !important;
}

/* Variables, parameters */
.hljs-variable,
.hljs-template-variable,
.hljs-params {
    color: #9cdcfe !important;
}

/* Comments */
.hljs-comment,
.hljs-quote {
    color: #6a9955 !important;
    font-style: italic !important;
}

/* Numbers */
.hljs-number {
    color: #b5cea8 !important;
}

/* Function declarations */
.hljs-function {
    color: #dcdcaa !important;
}

/* HTML/XML attributes */
.hljs-attr,
.hljs-attribute {
    color: #92c5f8 !important;
}

/* HTML/XML tags */
.hljs-tag {
    color: #569cd6 !important;
}

/* Object properties */
.hljs-property {
    color: #9cdcfe !important;
}

/* Operators */
.hljs-operator {
    color: #d4d4d4 !important;
}

/* Punctuation */
.hljs-punctuation {
    color: #d4d4d4 !important;
}

/* Class names */
.hljs-class .hljs-title {
    color: #4ec9b0 !important;
}

/* Method calls */
.hljs-title.function_ {
    color: #dcdcaa !important;
}

/* Constants */
.hljs-constant {
    color: #4fc1ff !important;
}

/* Regular expressions */
.hljs-regexp {
    color: #d16969 !important;
}

/* Escape sequences */
.hljs-escape {
    color: #d7ba7d !important;
}

/* Meta information */
.hljs-meta {
    color: #569cd6 !important;
}

/* Doctags */
.hljs-doctag {
    color: #569cd6 !important;
}

/* Template literals */
.hljs-template-tag {
    color: #ce9178 !important;
}

/* YAML/JSON keys */
.hljs-key {
    color: #9cdcfe !important;
}

/* Bash/shell specific */
.hljs-built_in {
    color: #4ec9b0 !important;
}

.hljs-symbol {
    color: #b5cea8 !important;
}

* {
    border-color: #333333 !important;
}

/* Focus states */
a:focus,
button:focus {
    outline: 2px solid #ffffff !important;
    outline-offset: 2px !important;
}