/* Documentation Page Specific Styles */

/* Docs Hero */
.docs-hero {
    background-color: var(--bg-color);
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.docs-hero h1 {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.docs-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Docs Layout */
.docs-main {
    padding: 3rem 0;
}

.docs-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 4rem;
    align-items: start;
}

/* Docs Sidebar */
.docs-sidebar {
    position: sticky;
    top: 100px;
}

.docs-nav-section {
    margin-bottom: 2rem;
}

.docs-nav-section h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
}

.docs-nav-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.docs-nav-section a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.2s;
    border-left: 2px solid transparent;
}

.docs-nav-section a:hover {
    color: var(--text-color);
    background-color: var(--bg-alt);
}

.docs-nav-section a.active {
    color: var(--text-color);
    background-color: var(--bg-alt);
    border-left-color: var(--primary-color);
    font-weight: 500;
}

/* Docs Content */
.docs-content {
    max-width: 800px;
}

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

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

.docs-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.docs-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.docs-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.docs-section p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.docs-section ul,
.docs-section ol {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.docs-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

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

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

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

/* Docs Note */
.docs-note {
    background-color: var(--bg-alt);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.docs-note strong {
    color: var(--text-color);
}

/* Docs Steps */
.docs-steps {
    margin: 2rem 0;
}

.docs-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.step-number {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.step-content p {
    margin-bottom: 0;
}

/* Docs Table */
.docs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
}

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

.docs-table th {
    background-color: var(--bg-alt);
    font-weight: 600;
    color: var(--text-color);
}

.docs-table td {
    color: var(--text-light);
}

.docs-table td strong {
    color: var(--text-color);
}

/* Docs Code Block */
.docs-code {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.docs-code pre {
    margin: 0;
}

.docs-code code {
    background: none;
    color: #e0e0e0;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Docs FAQ */
.docs-faq {
    margin-top: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background-color: var(--bg-alt);
    border-radius: 8px;
}

.faq-item h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.faq-item p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .docs-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .docs-sidebar {
        position: relative;
        top: 0;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 2rem;
    }

    .docs-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .docs-nav-section {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .docs-hero {
        padding: 100px 0 40px;
    }

    .docs-hero h1 {
        font-size: 2.25rem;
    }

    .docs-section h2 {
        font-size: 1.5rem;
    }

    .docs-step {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .docs-hero h1 {
        font-size: 1.75rem;
    }

    .docs-nav {
        flex-direction: column;
    }

    .docs-table {
        font-size: 0.9rem;
    }

    .docs-table th,
    .docs-table td {
        padding: 0.5rem;
    }
}
