/* Docs sidebar and layout styles */

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

.docs-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 2rem 1.5rem 2rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-sidebar::-webkit-scrollbar {
    width: 6px;
}

.docs-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.docs-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.docs-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin: 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: inherit;
    text-decoration: none;
    opacity: 0.7;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.sidebar-nav a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: rgba(102, 126, 234, 0.5);
}

.sidebar-nav a.active {
    opacity: 1;
    background: rgba(102, 126, 234, 0.1);
    border-left-color: #667eea;
    font-weight: 500;
}

.sidebar-nav .icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.docs-content {
    padding: 2rem 3rem;
    max-width: 900px;
}

@media (max-width: 968px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }
    
    .docs-sidebar {
        position: static;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1.5rem 0;
    }
    
    .docs-content {
        padding: 2rem 1rem;
    }
}

/* Guide grid styles for guides index page */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.guide-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.guide-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.guide-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.guide-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.guide-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-section {
    margin: 3rem 0;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

