.sdk-card {
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
}

.sdk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.language-tabs {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.nav-tabs {
    background: #fff;
    border-bottom: 2px solid #e9ecef;
}

.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    padding: 0.75rem 1.25rem;
}

.nav-tabs .nav-link:hover {
    border: none;
    color: #495057;
}

.nav-tabs .nav-link.active {
    border: none;
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
    margin-bottom: -2px;
}

pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 4px;
    margin: 0;
}

code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

.nav-pills .nav-link {
    color: var(--dark-color);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background-color: rgba(99, 102, 241, 0.1);
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.flow-steps {
    padding-left: 1.5rem;
}

.flow-steps li {
    margin-bottom: 1rem;
    position: relative;
}

.best-practices-list {
    list-style: none;
    padding: 0;
}

.best-practices-list li {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
}

/* Override for docs page pre elements */
.docs-page pre,
.docs-code-block {
    background: var(--dark-color) !important;
    color: #fff !important;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.docs-code-block code {
    background: transparent !important;
    color: #fff !important;
    padding: 0;
}

/* 确保tab内容正确显示 */
.tab-content .tab-pane {
    display: none;
}

.tab-content .tab-pane.active,
.tab-content .tab-pane.show {
    display: block;
}

code {
    font-family: 'Fira Code', monospace;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(99, 102, 241, 0.5);
}

.flow-description {
    background: rgba(99, 102, 241, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
}

.flow-steps li {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.flow-steps li:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.flow-steps li strong {
    color: var(--primary-color);
}