@keyframes flyInButton {
    from {
        opacity: 0;
        right: -40px;
    }
    to {
        opacity: 1;
        right: 12px;
    }
}

.feed-to-ai-block {
    position: relative;
    padding: var(--gutter);
    background-color: var(--light-background);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.feed-to-ai-text {
    font-size: 0.8em;
    line-height: 1.6em;
}

.feed-to-ai-copy {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 8px;
    background-color: #2d3139;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    font-size: 11px;
    font-weight: 500;
}

.feed-to-ai-block:hover .feed-to-ai-copy {
    opacity: 1;
    visibility: visible;
    animation: flyInButton 0.4s ease-out;
}

.feed-to-ai-copy:hover {
    background-color: #3d4450;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feed-to-ai-copy:active {
    transform: scale(0.95);
}
