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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.layout {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.sidebar {
    width: 250px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav li {
    margin-bottom: 8px;
}

.sidebar nav a {
    display: block;
    padding: 8px 12px;
    color: #667eea;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.sidebar nav a:hover {
    background-color: #f0f0f0;
    color: #764ba2;
}

.sidebar nav a.active {
    background-color: #667eea;
    color: white;
}

.section-title {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #667eea;
    font-size: 0.9em;
    text-transform: uppercase;
}

.content {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content h1 {
    color: #667eea;
    margin-bottom: 30px;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.content h2 {
    color: #764ba2;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-top: 20px;
}

.content h3 {
    color: #667eea;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content section {
    margin-bottom: 30px;
}

.content p {
    margin-bottom: 10px;
}

.content ul, .content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content li {
    margin-bottom: 8px;
}

code {
    background-color: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
}

pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.command-block {
    background-color: #f9f9f9;
    border-left: 4px solid #667eea;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.command-block strong {
    color: #667eea;
}

.warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.success {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.error {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

table th {
    background-color: #667eea;
    color: white;
    padding: 12px;
    text-align: left;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

table tr:hover {
    background-color: #f5f5f5;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: white;
    margin-bottom: 10px;
}

.card p {
    margin-bottom: 15px;
}

.card a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}

.card a:hover {
    opacity: 0.8;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: static;
    }

    header h1 {
        font-size: 1.8em;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }
}
