/* Dedicated styles for the documentation detail page shell/background */

.docs-page {
    background: linear-gradient(180deg, #0A1628 0%, #1A2F4F 50%, #0A1628 100%);
}

.docs-page__inner {
    position: relative;
}

.docs-page__content {
    position: relative;
}

.docs-topbar-shell {
    position: sticky;
    top: 64px;
    z-index: 10;
    padding: 0;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .docs-topbar-shell {
        top: 70px;
    }
}

@media (min-width: 1024px) {
    .docs-topbar-shell {
        top: 64px;
    }
}

.docs-topbar {
    width: 100%;
    background: rgba(26, 47, 79, 0.95);
    border: 1px solid #2C4868;
    border-radius: 0;
    padding: 12px 16px;
    backdrop-filter: blur(10px);
}

.docs-topbar__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.docs-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #26D0A8;
    transition: color 150ms ease;
}

.docs-back:hover {
    color: #4fffdc;
}

.docs-actions {
    display: inline-flex;
    gap: 8px;
}

.docs-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #2C4868;
    color: #8B9CB6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.docs-action-btn:hover {
    background: #374a6d;
    color: #d9e3f0;
    transform: translateY(-1px);
}

.docs-hero-shell {
    padding: 0;
    margin-bottom: 18px;
}

.docs-hero {
    border-radius: 0;
    padding: 20px 24px;
    color: #fff;
}

.docs-hero__inner {
    display: grid;
    gap: 12px;
}

.docs-hero__pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    width: fit-content;
}

.docs-hero__main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.docs-hero__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.docs-hero__title {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0;
}

.docs-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.docs-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.docs-meta__item svg {
    color: #ffffff;
}

.docs-article {
    display: grid;
    gap: 24px;
    color: #8B9CB6;
    font-size: 1.05rem;
    line-height: 1.7;
}

.docs-article h1,
.docs-article h2,
.docs-article h3,
.docs-article h4 {
    color: #ffffff;
    font-weight: 800;
    margin: 12px 0 6px;
}

.docs-article h2 {
    font-size: clamp(24px, 2.6vw, 28px);
}

.docs-article h3 {
    font-size: clamp(20px, 2.2vw, 24px);
}

.docs-article h4 {
    font-size: clamp(18px, 2vw, 20px);
}

.docs-article p {
    margin: 6px 0;
    color: #8B9CB6;
}

.docs-article strong {
    color: #ffffff;
}

.docs-article a {
    color: #26D0A8;
}

.docs-article ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
}

.docs-article ul li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #8B9CB6;
}

.docs-article ul li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #26D0A8;
    flex-shrink: 0;
    margin-top: 10px;
}

.docs-article ol {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
    counter-reset: step;
}

.docs-article ol li {
    counter-increment: step;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #1A2F4F;
    border: 1px solid #2C4868;
    border-radius: 14px;
    padding: 14px 16px;
    color: #8B9CB6;
}

.docs-article ol li::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #26D0A8 0%, #00897B 100%);
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.docs-article blockquote {
    border-left: 3px solid #26D0A8;
    padding-left: 1rem;
    color: #c6d5e9;
    font-style: italic;
    margin: 1rem 0;
}

.docs-article code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.35rem;
    border-radius: 0.35rem;
    font-size: 0.95rem;
    color: #e6f3ff;
}

.docs-article pre {
    background: #0f1f37;
    border: 1px solid #2C4868;
    border-radius: 0.9rem;
    padding: 1rem;
    overflow-x: auto;
    color: #e6f3ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 40px rgba(0, 0, 0, 0.35);
}

.docs-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    border: 1px solid #2C4868;
}

.docs-article th,
.docs-article td {
    padding: 0.7rem 0.9rem;
    border: 1px solid #2C4868;
    color: #d9e3f0;
}

.docs-article th {
    background: rgba(38, 208, 168, 0.12);
    color: #ffffff;
    text-align: left;
    font-weight: 700;
}

.docs-text-muted {
    color: #8B9CB6;
}

.callout {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    border: 2px solid;
    background: rgba(18, 36, 61, 0.9);
}

.callout__icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.callout__icon svg {
    width: 18px;
    height: 18px;
}

.callout__content h4 {
    margin: 0 0 6px;
    color: #ffffff;
    font-weight: 700;
}

.callout__content .callout__body {
    color: #d9e3f0;
}

.callout.info {
    border-color: #3498DB;
    background: rgba(52, 152, 219, 0.12);
}

.callout.info .callout__icon {
    background: rgba(52, 152, 219, 0.18);
    color: #3498DB;
}

.callout.success {
    border-color: #26D0A8;
    background: rgba(38, 208, 168, 0.12);
}

.callout.success .callout__icon {
    background: rgba(38, 208, 168, 0.18);
    color: #26D0A8;
}

.callout.warn {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.callout.warn .callout__icon {
    background: rgba(255, 215, 0, 0.16);
    color: #FFD700;
}

.callout.danger {
    border-color: #E63946;
    background: rgba(230, 57, 70, 0.12);
}

.callout.danger .callout__icon {
    background: rgba(230, 57, 70, 0.18);
    color: #E63946;
}

.docs-support {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #26D0A8;
    border-radius: 14px;
    background: rgba(38, 208, 168, 0.08);
    color: #ffffff;
}

.docs-support__icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 2px solid rgba(38, 208, 168, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #26D0A8;
    background: rgba(0, 0, 0, 0.12);
}

.docs-support__icon svg {
    width: 20px;
    height: 20px;
}

.docs-support__text {
    margin: 0;
    color: #d9e3f0;
    font-size: 1rem;
}

.docs-feedback {
    display: grid;
    place-items: center;
    gap: 12px;
    text-align: center;
    color: #ffffff;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-feedback__form {
    display: grid;
    gap: 10px;
    place-items: center;
}

.docs-feedback__buttons {
    display: inline-flex;
    gap: 12px;
}

.docs-feedback__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #2C4868;
    background: #1A2F4F;
    color: #8B9CB6;
    transition: border 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.docs-feedback__btn:hover {
    border-color: #26D0A8;
    color: #d9e3f0;
    transform: translateY(-1px);
}

.docs-feedback__status {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #8B9CB6;
    font-size: 0.95rem;
}

.docs-feedback__thanks {
    color: #26D0A8;
    font-weight: 600;
}

.docs-related {
    display: grid;
    gap: 12px;
    padding-top: 8px;
}

.docs-related__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 700;
}

.docs-related__list {
    display: grid;
    gap: 10px;
}

.docs-related__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    background: #1A2F4F;
    border: 1px solid #2C4868;
    border-radius: 14px;
    padding: 14px 16px;
    color: #d9e3f0;
    transition: border 150ms ease, transform 150ms ease;
}

.docs-related__item:hover {
    border-color: #26D0A8;
    transform: translateY(-1px);
}

.docs-related__avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #243a5a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8B9CB6;
}

.docs-related__title-text {
    margin: 0 0 2px;
    font-weight: 700;
    color: #ffffff;
}

.docs-related__subtitle {
    margin: 0;
    color: #8B9CB6;
    font-size: 0.95rem;
}

.docs-related__chevron {
    color: #8B9CB6;
}