.guidance-hash-link{
    cursor: pointer;
    position: relative;
    width: fit-content;
}

.guidance-hash-link:hover {
    font-weight: 600;
}

.guidance-hash-link::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 16px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-image: url(../assets/images/link-copy.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guidance-hash-link:hover::before {
    opacity: 1;
}

.guidance-hash-link.copied::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 16px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-image: url(../assets/images/link-copied.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    animation: copiedIcon 1.5s ease;
}

.guidance-hash-link.copied:hover::before {
    background-image: url(../assets/images/link-copied.svg);
    opacity: 1;
}

@keyframes copiedIcon {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }
    80% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
}

.guidance-toast {
    position: fixed;
    bottom: 35px;
    right: 25px;
    background-color: #333;
    color: #fff;
    padding: 16px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.guidance-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.guidance-toast-message {
    display: block;
    font-size: 14px;
    line-height: 1.5;
}

.guidance-body .accordion-title {
    position: relative;
}

.guidance-body .accordion-title:hover {
    font-weight: 600;
}

.guidance-accordion-link-icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 8px;
    background-image: url(../assets/images/link-copy.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    vertical-align: middle;
    position: absolute;
    margin-top: 8px;
    opacity: 0;
}
