/* Documentation Hub Layout Styles */

.docs-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px 60px 15px;
}

.docs-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.docs-sidebar-card {
    background: rgba(30, 30, 30, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 90px;
}

.docs-sidebar-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
    margin-top: 20px;
    font-weight: 700;
}

.docs-sidebar-category:first-of-type {
    margin-top: 0;
}

.docs-sidebar-link {
    display: block;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.docs-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 16px;
}

.docs-sidebar-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #df4a4a !important;
    font-weight: 600;
    border-left: 3px solid #df4a4a;
    border-radius: 0 6px 6px 0;
}

.docs-content {
    flex: 1;
    min-width: 320px;
}

.docs-content-card {
    background: rgba(30, 30, 30, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 35px;
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.docs-content-card h1 {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 15px;
}

.docs-content-card h2 {
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.docs-content-card h3 {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 10px;
}

.docs-content-card p {
    margin-bottom: 20px;
}

.docs-content-card code {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.9rem;
    color: #e55353;
}

.docs-content-card pre {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 18px;
    overflow-x: auto;
    margin: 20px 0;
}

.docs-content-card pre code {
    background: transparent;
    padding: 0;
    color: #f8f8f2;
    font-size: 0.85rem;
}

.docs-alert {
    background: rgba(223, 74, 74, 0.06);
    border-left: 4px solid #df4a4a;
    border-radius: 4px;
    padding: 16px 20px;
    margin: 25px 0;
}

.docs-alert strong {
    color: #fff;
}

.docs-alert p:last-child {
    margin-bottom: 0;
}

.docs-alert.info {
    background: rgba(54, 162, 235, 0.06);
    border-left-color: #36a2eb;
}

.docs-alert.info code {
    color: #4ea8de;
}

@media (max-width: 768px) {
    .docs-container {
        flex-direction: column;
    }
    .docs-sidebar {
        width: 100%;
    }
    .docs-sidebar-card {
        position: relative;
        top: 0;
    }
}
