.copy-url-wrapper {
    display: block;
    width: 100%;
}

.copy-url-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.copy-url-btn i,
.copy-url-btn svg {
    display: block;
    line-height: 1;
    transition: all 0.3s ease;
}

/* Tooltip structure */
.copy-url-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background-color: #333333;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.copy-url-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333333 transparent transparent transparent;
}

/* Active feedback state */
.copy-url-tooltip.show-feedback {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
