/* Docs page styles */

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

.docs-intro {
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.docs-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.docs-section:last-child {
    border-bottom: none;
}

.docs-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.docs-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.docs-prereqs {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.docs-prereqs ul {
    margin: 0.75rem 0 0 0;
    padding-left: 1.5rem;
}

.docs-prereqs li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.docs-prereqs a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.docs-prereqs a:hover {
    text-decoration: underline;
}

.docs-bot-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.docs-bot-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.docs-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.docs-steps li {
    counter-increment: step-counter;
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.docs-steps li::before {
    content: counter(step-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    height: 1.6rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.docs-steps li code {
    display: inline-block;
    background: var(--bg-tertiary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
    word-break: break-all;
}

.docs-code-block {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin: 0.5rem 0 0.75rem 0;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
    word-break: break-all;
    line-height: 1.5;
}

.docs-endpoint-row {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.docs-endpoint-row h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.docs-endpoint-row p {
    color: var(--text-secondary);
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.docs-endpoint-row a {
    color: var(--primary-color);
    text-decoration: none;
}

.docs-endpoint-row a:hover {
    text-decoration: underline;
}

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

.docs-notes ul {
    margin: 0;
    padding-left: 1.5rem;
}

.docs-notes li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.docs-notes a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.docs-notes a:hover {
    text-decoration: underline;
}

.docs-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.docs-section code {
    background: var(--bg-tertiary);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .docs-bot-card {
        padding: 1rem;
    }

    .docs-code-block {
        font-size: 0.78rem;
        padding: 0.75rem 1rem;
    }
}
