.docs-page {
    background: #fff;
    width: 100%;
}

.docs-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.docs-topbar-left,
.docs-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.docs-brand-icon {
    width: 1rem;
    height: 1rem;
    color: #f97316;
}

.docs-brand-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #111827;
}

.docs-divider,
.docs-version,
.docs-topbar-right a {
    color: #6b7280;
    font-size: 0.78rem;
    text-decoration: none;
}

.docs-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 220px;
    gap: 0;
    min-height: calc(100vh - 46px);
}

.docs-sidebar {
    border-right: 1px solid #e5e7eb;
    padding: 1rem 0.75rem;
    position: sticky;
    top: 46px;
    height: calc(100vh - 46px);
    overflow: auto;
}

.docs-side-search {
    position: relative;
    margin-bottom: 0.8rem;
}

.docs-side-search svg {
    width: 0.95rem;
    height: 0.95rem;
    color: #9ca3af;
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
}

.docs-side-search input {
    width: 100%;
    border: 0;
    border-radius: 0.6rem;
    background: #f3f4f6;
    padding: 0.58rem 0.75rem 0.58rem 2.1rem;
    font-size: 0.84rem;
}

.docs-nav-home,
.docs-nav-section {
    width: 100%;
    border: 0;
    background: transparent;
    border-radius: 0.55rem;
    padding: 0.52rem 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #4b5563;
    font-size: 0.84rem;
}

.docs-nav-home.is-active {
    background: #fff7ed;
    color: #c2410c;
    font-weight: 600;
}

.docs-nav-home svg,
.docs-nav-section svg {
    width: 0.95rem;
    height: 0.95rem;
}

.docs-nav-chevron {
    margin-left: auto;
    opacity: 0.55;
}

.docs-content {
    padding: 1.5rem 2rem;
}

.docs-hero-card {
    background: linear-gradient(140deg, #111827 0%, #1f2937 58%, #0f172a 100%);
    border-radius: 1rem;
    padding: 1.6rem;
    color: #fff;
    margin-bottom: 1rem;
}

.docs-hero-badge {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #d1d5db;
    font-size: 0.82rem;
    margin-bottom: 0.55rem;
}

.docs-badge-logo {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 0.4rem;
    background: linear-gradient(90deg, #f97316, #dc2626);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
}

.docs-hero-card h1 {
    font-size: 2rem;
    margin: 0 0 0.3rem;
}

.docs-hero-card p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.docs-search-wrap {
    position: relative;
}

.docs-search-wrap.is-dark .docs-search-input {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
}

.docs-search-wrap.is-dark .docs-search-input::placeholder {
    color: #cbd5e1;
}

.docs-search-icon {
    width: 1rem;
    height: 1rem;
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.docs-search-input {
    width: 100%;
    border-radius: 0.75rem;
    padding: 0.72rem 0.9rem 0.72rem 2.4rem;
    outline: none;
    font-size: 0.9rem;
}

.docs-whats-new {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 0.8rem;
    padding: 0.85rem;
    margin-bottom: 1.2rem;
}

.docs-new-icon {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.45rem;
    background: #f97316;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.docs-new-icon svg {
    width: 0.9rem;
    height: 0.9rem;
}

.docs-whats-new h3 {
    margin: 0;
    font-size: 0.88rem;
    color: #111827;
}

.docs-whats-new p {
    margin: 0;
    font-size: 0.76rem;
    color: #6b7280;
}

.docs-new-link {
    margin-left: auto;
    color: #ea580c;
    text-decoration: none;
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.docs-new-link svg {
    width: 0.9rem;
    height: 0.9rem;
}

.docs-topic h2 {
    font-size: 1.2rem;
    color: #111827;
    margin-bottom: 0.2rem;
}

.docs-topic > p {
    color: #6b7280;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
}

.docs-feature-card {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
    height: 100%;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.05);
    background: #ffffff;
}

.docs-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    background: linear-gradient(90deg, #f97316, #dc2626);
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.docs-feature-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.docs-feature-card h3 {
    font-size: 1.15rem;
    color: #111827;
    margin-bottom: 0.35rem;
}

.docs-feature-card p {
    font-size: 0.84rem;
    color: #6b7280;
    margin: 0;
}

.docs-toc {
    border-left: 1px solid #e5e7eb;
    padding: 1.5rem 1rem;
    position: sticky;
    top: 46px;
    height: calc(100vh - 46px);
    overflow: auto;
}

.docs-toc-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.docs-toc a {
    display: block;
    font-size: 0.84rem;
    color: #6b7280;
    text-decoration: none;
    margin-bottom: 0.45rem;
}

@media (max-width: 1399.98px) {
    .docs-layout {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .docs-toc {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .docs-topbar {
        top: 0;
    }

    .docs-topbar-right {
        display: none;
    }

    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
        height: auto;
        overflow: visible;
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .docs-content {
        padding: 1rem;
    }
}
