.docs-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}

.docs-sidebar {
    background: #f8f9fa;
    padding: 2rem 1rem;
    border-right: 1px solid #e2e8f0;
    position: sticky;
    top: 60px;
    height: fit-content;
}

.docs-sidebar h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.docs-nav {
    list-style: none;
}

.docs-nav li {
    margin-bottom: 0.5rem;
}

.docs-nav a {
    color: #666;
    text-decoration: none;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.docs-nav a:hover {
    background: white;
    color: #667eea;
}

.docs-content {
    padding: 3rem;
}

.docs-content h1 {
    color: #2d3748;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}

.docs-content h2 {
    color: #2d3748;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.docs-content h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.docs-content section {
    margin-bottom: 4rem;
}

.docs-content ul {
    margin-left: 2rem;
    line-height: 1.8;
}

.docs-content p {
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1rem;
}

.code-block {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.code-block pre {
    margin: 0;
}

.code-block code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.endpoint {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.method {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
}

.method.post {
    background: #48bb78;
    color: white;
}

.method.get {
    background: #4299e1;
    color: white;
}

.endpoint code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 1rem;
    color: #2d3748;
}

/* Workflow Steps */
.workflow-steps {
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.step:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.step.highlight {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    border-color: #667eea;
}

.step.success {
    background: #48bb7810;
    border-color: #48bb78;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step.success .step-number {
    background: #48bb78;
    font-size: 2rem;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
}

.step-content p {
    margin: 0 0 0.5rem 0;
    color: #666;
}

.step-content code {
    background: #2d3748;
    color: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: 'Monaco', 'Courier New', monospace;
}

.badge-recommended {
    background: #48bb78;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }
    
    .docs-sidebar {
        position: static;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .docs-content {
        padding: 1.5rem;
    }
    
    .step {
        flex-direction: column;
    }
}