/**
 * CHC Copy Link Styles
 * Visual feedback for copy link functionality
 */

/* Success state */
.chc-copy-success {
    color: #28a745 !important;
}

.chc-copy-success .gcis {
    color: #28a745 !important;
}

/* Error state */
.chc-copy-error {
    color: #dc3545 !important;
}

.chc-copy-error .gcis {
    color: #dc3545 !important;
}

/* Flash animation for copy feedback */
.chc-copy-flash {
    animation: chc-copy-flash 0.3s ease-in-out;
}

@keyframes chc-copy-flash {
    0% {
        background-color: transparent;
    }
    50% {
        background-color: rgba(40, 167, 69, 0.2);
        border-radius: 4px;
    }
    100% {
        background-color: transparent;
    }
}

/* Hover state for copy link */
[id^="chc_copy_link_"]:hover {
    cursor: pointer;
}

/* Ensure tooltip positioning works correctly */
.ps-tooltip--permalink {
    position: relative;
}
