﻿/* Tooltip styling */
.tooltip {
    position: absolute;
    top: -30px; /* Adjust depending on position relative to the copy icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    display: none; /* Initially hidden */
    z-index: 10;
}

    /* Animation for the tooltip */
    .tooltip.show {
        display: block;
        animation: fadeOut 2s ease forwards;
    }

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
