/*
 * File Path: assets/css/admin/classification/classification-chips.css
 * Classification metabox -- Layer 3 suggestion chips, active BISAC/Thema
 * code chips, overflow notice, tier note.
 * Component of mbs-admin-classification.css (R-015).
 */

/* ── Layer 3: Suggestion chips ───────────────────────────────── */

.mbs-genre-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mbs-suggestion-chip {
    font-size: 12px;
    padding: 3px 10px;
    height: auto;
    line-height: 1.5;
    background: #f6f7f7;
    border-color: #c3c4c7;
    color: var(--mbs-status-info);
    transition: background 0.1s, color 0.1s;
}

.mbs-suggestion-chip:hover,
.mbs-suggestion-chip:focus {
    background: var(--mbs-status-info);
    border-color: var(--mbs-status-info);
    color: #fff;
}

/* ── Code chips (BISAC / Thema active) ───────────────────────── */

.mbs-class-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
    min-height: 0;
}

.mbs-class-chips:empty {
    display: none;
}

.mbs-class-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f6fc;
    border: 1px solid #72aee6;
    border-radius: 3px;
    padding: 3px 6px;
    font-size: 12px;
    color: #1d2327;
}

.mbs-class-chip-label {
    line-height: 1.4;
}

.mbs-class-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    border: none;
    background: none;
    color: #50575e;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.1s, color 0.1s;
}

.mbs-class-chip-remove:hover {
    background: #dc3232;
    color: #fff;
}

/* ── Overflow notice ─────────────────────────────────────────── */

.mbs-class-overflow-notice {
    margin: 4px 0 8px;
    font-size: 12px;
    color: #50575e;
    font-style: italic;
}

/* ── Tier note ───────────────────────────────────────────────── */

.mbs-class-tier-note {
    margin-top: 6px;
    font-size: 11px;
    color: #8c8f94;
}

