:root {
    --bg-dark: #0f172a;
    --bg-sidebar: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #38bdf8;
    --accent-hover: #0ea5e9;
    --border: #334155;
    --code-bg: #1e1e1e;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    overflow-y: auto;
}

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item {
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
    font-size: 0.95rem;
    text-decoration: none;
    display: block;
}

.nav-item:hover {
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--text-primary);
}

.nav-item.active {
    background-color: rgba(56, 189, 248, 0.15);
    color: var(--accent);
    font-weight: 600;
}

/* Main Content */
.main {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 4rem;
    max-width: 1000px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--accent), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    color: var(--text-primary);
}

p,
li {
    line-height: 1.7;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

ul {
    padding-left: 1.5rem;
}

strong {
    color: var(--text-primary);
}

/* Code Blocks */
pre {
    background-color: var(--code-bg);
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    border: 1px solid var(--border);
    margin: 1rem 0;
}

code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
}

p code,
li code {
    background-color: rgba(51, 65, 85, 0.5);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    color: #38bdf8;
    font-size: 0.9rem;
}

/* Callouts */
.callout {
    background-color: rgba(56, 189, 248, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0.25rem;
}

.callout-title {
    font-weight: bold;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

/* Footer Nav */
.footer-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.nav-btn {
    background-color: var(--bg-sidebar);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background 0.2s;
    border: 1px solid var(--border);
}

.nav-btn:hover {
    background-color: var(--border);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

/* Additional styles for workshop guide */
hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

th, td {
    text-align: left;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
}

th {
    color: var(--text-primary);
    font-weight: 600;
}

td {
    color: var(--text-secondary);
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ol {
    padding-left: 1.5rem;
}

ol li {
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}