/* ============================================================
   ChatBase — Flashcard decks UI (flashdecks.js)
   ============================================================ */

.fc-decks-panel {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
}
.fc-decks-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.fc-decks-head h4 { font-size: 15px; margin: 0; }

.fc-decks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.fc-deck-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-hover);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: transform 0.15s ease;
}
.fc-deck-item:hover { transform: scale(1.02); }
.fc-deck-item.active { outline: 2px solid var(--accent-purple); }
.fc-deck-item-name { font-size: 13px; font-weight: 600; }
.fc-deck-item-count { font-size: 11px; color: var(--text-secondary); }
.fc-deck-item-del {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 4px;
}

.fc-deck-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.fc-deck-name { font-size: 13px; color: var(--text-secondary); }

.fc-card-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}
