/* Perspt Rust Documentation Theme */

:root {
    --perspt-primary: #00d4aa;
    --perspt-dark: #0f172a;
    --perspt-darker: #020617;
    --perspt-light: #e2e8f0;
    --perspt-secondary: #6b46c1;
    --perspt-border: #334155;
}

/* Clean dark theme */
html, body {
    background: var(--perspt-dark) !important;
    color: var(--perspt-light) !important;
}

/* Navigation styling */
.sidebar {
    background: var(--perspt-darker) !important;
    border-right: 1px solid var(--perspt-border) !important;
}

.sidebar a {
    color: var(--perspt-light) !important;
    transition: color 0.2s ease !important;
}

.sidebar a:hover {
    color: var(--perspt-primary) !important;
}

/* Code blocks */
pre, .example-wrap {
    background: var(--perspt-darker) !important;
    border: 1px solid var(--perspt-border) !important;
    border-radius: 4px !important;
}

pre {
    border-left: 3px solid var(--perspt-primary) !important;
}

/* Headings */
h1 {
    color: var(--perspt-primary) !important;
    border-bottom: 2px solid var(--perspt-primary) !important;
}

h2, h3, h4 {
    color: var(--perspt-light) !important;
}

/* Links */
a {
    color: var(--perspt-primary) !important;
}

a:hover {
    color: #22d3ee !important;
}

/* Documentation blocks */
.docblock {
    background: rgba(0, 212, 170, 0.05) !important;
    border-left: 3px solid var(--perspt-primary) !important;
    border-radius: 4px !important;
    padding: 1rem !important;
}

/* Search input */
.search-input {
    background: var(--perspt-darker) !important;
    border: 1px solid var(--perspt-border) !important;
    color: var(--perspt-light) !important;
    border-radius: 4px !important;
}

/* Main content */
main {
    background: var(--perspt-dark) !important;
}
