.ai-content-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.ai-content-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--color-fondo-botones);
    color: var(--color-textos-botones);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .1);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.ai-content-action:hover,
.ai-content-action:focus {
    color: var(--color-textos-botones);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(15, 23, 42, .16);
    opacity: .96;
}

.ai-content-action__icon {
    display: inline-flex;
    font-size: 16px;
}

.ai-content-actions--compact {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 5px;
}

.ai-content-actions--compact .ai-content-action {
    min-height: 28px;
    padding: 5px 8px;
    border: 1px solid rgba(51, 122, 183, .2);
    background: #eef6ff;
    color: #24679d;
    box-shadow: none;
    font-size: 10px;
    letter-spacing: 0;
    text-transform: none;
}

.ai-content-actions--compact .ai-content-action:hover,
.ai-content-actions--compact .ai-content-action:focus {
    color: #174d77;
    background: #e2f0fc;
    box-shadow: 0 4px 10px rgba(36, 103, 157, .12);
}

.ai-content-actions--compact .ai-content-action__icon {
    font-size: 12px;
}

@media (max-width: 576px) {
    .ai-content-actions:not(.ai-content-actions--compact) .ai-content-action {
        flex: 1 1 100%;
    }
}
