.ppc-duplicate-actions {
    position: relative;
}

.ppc-duplicate-actions .ppc-tooltip-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ppc-duplicate-actions .ppc-duplicate-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.7;
}

.ppc-duplicate-actions .ppc-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 10px 16px;
    min-width: 260px;
    max-width: 320px;
    border-radius: 6px;
    background: #23282d;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.ppc-duplicate-actions .ppc-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #23282d transparent transparent transparent;
}

.ppc-duplicate-actions .ppc-tooltip-wrapper:hover .ppc-tooltip,
.ppc-duplicate-actions .ppc-tooltip-wrapper:focus-within .ppc-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .ppc-duplicate-actions .ppc-tooltip {
        transition: none;
    }
}
