:root {
    --bg-color: #0A0F1D;
    --sidebar-bg: #0F172A;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --accent-color: #E11D48;
    --border-color: #1E293B;
    --hover-bg: #1E293B;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
aside {
    width: 280px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.brand span {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

nav ul {
    list-style: none;
}

nav li {
    margin-bottom: 0.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

nav a:hover, nav a.active {
    background-color: var(--hover-bg);
    color: var(--text-primary);
}

/* Main Content */
main {
    margin-left: 280px;
    flex: 1;
    padding: 0;
}

header {
    background-color: rgba(10, 15, 29, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.content-wrapper {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

code {
    background-color: #1E293B;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

pre {
    background-color: #010409;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

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

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

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

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

footer {
    margin-top: 5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}
