/**
 * SUITE Docs Shared Styles
 * Single source of truth for all docs pages styling
 * Edit this file to update styling across all docs pages
 */

/* Main docs wrapper */
.docs-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    box-shadow: 0 16px 80px rgba(0, 0, 0, 0.08);
    padding: 30px;
    width: 100%;
    max-width: 1200px;
    min-height: 500px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

/* Sidebar */
.docs-sidebar {
    width: 220px !important;
    flex-shrink: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    padding-right: 24px;
}

.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-title {
    font-size: 0.7rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #2d1b4e;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem !important;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.sidebar-link:hover {
    background: rgba(255, 149, 0, 0.1);
    color: #ff9500;
}

.sidebar-link.active {
    background: linear-gradient(135deg, #ff9500, #ff6b9d);
    color: white;
}

/* Main content area */
.docs-content {
    flex: 1;
    min-width: 0;
}

.docs-content h1 {
    font-size: 2rem;
    font-weight: 900;
    display: inline-block;
    background: linear-gradient(135deg, #ff9500, #ff6b9d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.docs-content h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2d1b4e;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 149, 0, 0.2);
}

.docs-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #5a4a6f;
    margin: 20px 0 12px;
}

.docs-content p,
.docs-content li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5a4a6f;
    margin-bottom: 12px;
}

/* Shared components */
.highlight-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
}

.highlight-box h4 {
    margin: 0 0 12px 0;
    color: #22c55e;
    font-size: 1rem;
}

.flow-diagram {
    background: #1e1e2e;
    border-radius: 12px;
    padding: 20px;
    color: #a6e3a1;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    overflow-x: auto;
    margin: 16px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .docs-container {
        flex-direction: column;
    }

    .docs-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding-right: 0;
        padding-bottom: 20px;
    }
}