/*
 * GX TAG COMPONENT
 * Dark mode + Flamingo Pink accents
 * Supports: default, clickable, removable, outline
 */

.gx-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;

    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 500;

    background: var(--color-bg-card);
    color: var(--color-text-primary);

    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius);

    box-shadow: 0 0 12px rgba(255, 79, 163, 0.08);

    cursor: default;
    user-select: none;

    transition: all var(--transition-fast);
}

.gx-tag + .gx-tag {
    margin-left: 0.4rem;
}

/* Hover effect (clickable tags) */
.gx-tag.clickable {
    cursor: pointer;
}

.gx-tag.clickable:hover {
    border-color: var(--color-brand);
    box-shadow: var(--shadow-glow-pink-soft);
    color: var(--color-brand-hover);
}

/* Active tag (for filtering) */
.gx-tag.active {
    background: rgba(255, 79, 163, 0.12);
    border-color: var(--color-brand);
    color: var(--color-brand-hover);
    box-shadow: var(--shadow-glow-pink);
}

/* Outline variant */
.gx-tag-outline {
    background: transparent;
    border-color: var(--color-brand);
    color: var(--color-brand);
}

.gx-tag-outline:hover {
    box-shadow: var(--shadow-glow-pink);
}

/* Removable (X button) */
.gx-tag .remove-btn {
    font-size: 0.95rem;
    opacity: 0.7;
    cursor: pointer;

    transition: opacity var(--transition-fast);
}

.gx-tag .remove-btn:hover {
    opacity: 1;
    color: var(--color-brand-hover);
}

/* Tag grids (nice wrapping for long lists) */
.gx-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0;
}
