/* Developers page layout */
.developers-page {
    padding-top: 30px;
    padding-bottom: 60px;
    background-color: #f9fafb;
}

.developers-layout {
    display: flex;
    flex-wrap: wrap;
}

.developers-sidebar {
    border-right: 1px solid #eee;
    padding-right: 20px;
    margin-bottom: 30px;
}

.developers-sidebar-inner {
    position: sticky;
    top: 90px;
}

.developers-sidebar-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.08em;
}

.developers-toc {
    list-style: none;
}

.developers-toc li {
    margin-bottom: 4px;
}

.developers-toc a {
    display: block;
    font-size: 14px;
    color: #4c4c4c;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.developers-toc a:hover,
.developers-toc a:focus {
    color: #f87b9d;
    background-color: #fff2f7;
    text-decoration: none;
}

.developers-toc a.active {
    background-color: #ffe6ee;
    color: #f87b9d;
    font-weight: 600;
}

.developers-content {
    padding-left: 30px;
}

.developers-section {
    margin-bottom: 32px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px 24px 28px;
    box-shadow: 0 4px 14px rgba(15, 35, 52, 0.04);
    border: 1px solid #f0f2f5;
}

.developers-section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.developers-section-heading {
    font-size: 30px;
    margin-bottom: 18px;
    border-left: 4px solid #f87b9d;
    padding-left: 12px;
}

.developers-section-subtitle {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.developers-text {
    margin-bottom: 8px;
}

.developers-code-block {
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #f87b9d;
    border-radius: 4px;
    padding: 12px 16px;
    margin: 12px 0 20px;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 14px;
    white-space: pre;
    overflow-x: auto;
}

.developers-code-block code {
    font-family: inherit;
    font-size: inherit;
    background: none;
    padding: 0;
}

.developers-note {
    padding: 10px 15px;
    border-left: 4px solid #f87b9d;
    background-color: #fff7fa;
    margin-bottom: 20px;
}

.developers-note ul.developers-text {
    padding-left: 18px;
}

/* Lists */
.developers-list {
    list-style: none;
    margin: 6px 0 10px 0;
    padding-left: 0;
}

.developers-list li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 4px;
    color: #4c4c4c;
}

.developers-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin-top: -15px;
    color: #4c4c4c;
    font-size: 30px;
    text-align: center;
}

/* Tables */
.developers-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 20px;
    font-size: 14px;
}

.developers-table th,
.developers-table td {
    border: 1px solid #e5e5e5;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.developers-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

.developers-table code {
    background: none;
    padding: 0;
}

.developers-table tbody tr:nth-child(even) td {
    background-color: #fcfcfc;
}

/* SDK directory (developers landing page) */
.dev-sdk-dir-title {
    font-size: 26px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.dev-sdk-dir-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 28px;
}

.dev-sdk-dir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.dev-sdk-card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 24px 22px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.dev-sdk-card:hover {
    border-color: #f87b9d;
    box-shadow: 0 6px 20px rgba(248, 123, 157, 0.12);
    transform: translateY(-2px);
}

.dev-sdk-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff2f7;
    color: #f87b9d;
    border-radius: 8px;
    font-size: 20px;
    margin-bottom: 16px;
}

.dev-sdk-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.35;
}

.dev-sdk-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.55;
    margin-bottom: 16px;
}

.dev-sdk-card-link {
    font-size: 14px;
    font-weight: 600;
    color: #f87b9d;
}

.dev-sdk-card:hover .dev-sdk-card-link {
    text-decoration: underline;
}

.dev-sdk-card-link i {
    margin-left: 6px;
    font-size: 12px;
}

@media (max-width: 767.98px) {
    .dev-sdk-dir-title {
        font-size: 22px;
    }

    .dev-sdk-dir-grid {
        grid-template-columns: 1fr;
    }
}

/* Back to developers (guide page) */
.dev-guide-back-wrap {
    padding: 14px 0;
    background: #fff;
    border-bottom: 1px solid #f0f2f5;
}

.dev-guide-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #f87b9d;
    background: #fff2f7;
    border: 1px solid #ffe6ee;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dev-guide-back-btn:hover {
    background: #ffe6ee;
    border-color: #f87b9d;
    color: #e86a8a;
    text-decoration: none;
}

.dev-guide-back-btn i {
    font-size: 12px;
}

/* Banner alignment */
.developers-banner .inner-banner {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .developers-sidebar {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 15px;
        margin-bottom: 25px;
    }

    .developers-content {
        padding-left: 0;
        padding-right: 0;
    }

    .developers-sidebar-inner {
        position: static;
    }

    .developers-section {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .developers-content {
        padding-left: 12px;
        padding-right: 12px;
    }

    .developers-section {
        margin-bottom: 24px;
    }

    .developers-section-title {
        font-size: 20px;
    }

    .developers-section-heading {
        font-size: 22px;
    }

    .developers-section-subtitle {
        font-size: 16px;
    }
}

