* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #ffffff;
    --bg-color: #f5f5f5;
    --text-color: #333;
    --border-color: #ddd;
    --sidebar-bg: #2c3e50;
    --sidebar-text: #ecf0f1;
    --code-bg: #f4f4f4;
    --code-border: #ccc;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
}

header {
    background: linear-gradient(135deg, var(--primary-color), #004499);
    color: var(--secondary-color);
    padding: 2rem;
    text-align: center;
    width: 100%;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.sidebar {
    background-color: var(--sidebar-bg);
    color: var(--sidebar-text);
    width: 280px;
    min-height: 100vh;
    padding: 1.5rem;
    position: sticky;
    top: 0;
    overflow-y: auto;
    max-height: 100vh;
}

.sidebar h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin: 0.3rem 0;
}

.nav-menu a {
    color: var(--sidebar-text);
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-section {
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content {
    flex: 1;
    padding: 2rem;
    background-color: var(--secondary-color);
    margin: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.intro h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.intro h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.intro p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.intro ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.intro li {
    margin: 0.5rem 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card p {
    margin-bottom: 1rem;
    color: #666;
}

.card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.card a:hover {
    text-decoration: underline;
}

.page-header {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header .meta {
    color: #666;
    font-size: 0.9rem;
}

.section {
    margin: 2rem 0;
}

.section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.section h4 {
    color: #555;
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.code-block {
    background-color: var(--code-bg);
    border: 1px solid var(--code-border);
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.code-block pre {
    margin: 0;
}

.code-inline {
    background-color: var(--code-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.table th,
.table td {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    text-align: left;
}

.table th {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
}

.table tr:nth-child(even) {
    background-color: var(--bg-color);
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    border-left: 4px solid;
}

.alert-info {
    background-color: #e3f2fd;
    border-color: #2196f3;
    color: #0d47a1;
}

.alert-warning {
    background-color: #fff3e0;
    border-color: #ff9800;
    color: #e65100;
}

.alert-success {
    background-color: #e8f5e9;
    border-color: #4caf50;
    color: #1b5e20;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
    background-color: #4caf50;
    color: white;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.status-item {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--secondary-color);
}

.status-item.complete {
    border-color: #4caf50;
    background-color: #e8f5e9;
}

.status-item.in-progress {
    border-color: #ff9800;
    background-color: #fff3e0;
}

.status-item.pending {
    border-color: #9e9e9e;
    background-color: #f5f5f5;
}

footer {
    background-color: var(--sidebar-bg);
    color: var(--sidebar-text);
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        max-height: none;
    }

    .content {
        margin: 0.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

