/* ==========================================
   JCFlow — Pestañas Multi-Lenguaje Snippets
   p/api-desarrolladores/dom/index.css
   ========================================== */

.snippets-tabs-bar {
    display: flex;
    align-items: center;
    background: #181825;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px 0;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.snippets-tabs-bar::-webkit-scrollbar {
    display: none;
}

.snippet-tab-btn {
    background: transparent;
    border: none;
    outline: none;
    color: #a6adc8;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.snippet-tab-btn:hover {
    color: #f5e0dc;
    background: rgba(255, 255, 255, 0.04);
}

.snippet-tab-btn.active {
    color: #89b4fa;
    background: #1e1e2e;
    border-bottom-color: #89b4fa;
}

.snippet-pane {
    display: none;
    background: #1e1e2e;
}

.snippet-pane.active {
    display: block;
}

.snippet-lang-tag {
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    font-family: monospace;
}

.vert-code-box {
    background: #1e1e2e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.vert-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: #181825;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vert-code-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vert-code-dots {
    display: flex;
    gap: 6px;
}

.vert-code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.vert-code-dot--red { background: #f38ba8; }
.vert-code-dot--yellow { background: #f9e2af; }
.vert-code-dot--green { background: #a6e3a1; }

.vert-code-title {
    font-size: 0.82rem;
    color: #bac2de;
    font-family: monospace;
}

.vert-code-body {
    padding: 20px;
    margin: 0;
    overflow-x: auto;
    font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #cdd6f4;
}

.vert-code-comment { color: #6c7086; font-style: italic; }
.vert-code-kw { color: #cba6f7; font-weight: 600; }
.vert-code-str { color: #a6e3a1; }
.vert-code-prop { color: #89b4fa; }
.vert-code-num { color: #fab387; }
.vert-code-fn { color: #89dceb; }
