[data-hdv2-bank-copy],
[data-hdv2-copy-tick-mode] {
    position: relative;
    min-width: 4.75rem;
}
    align-items: center;
    justify-content: center;
    line-height: 0;
}

[data-hdv2-copy-tick] svg {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[data-hdv2-copy-tick] svg path {
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
}

.is-copied[data-hdv2-bank-copy],
.is-copied[data-hdv2-copy-tick-mode] {
    position: relative;
    color: hsl(142.1 70% 32%);
    border-color: hsl(142.1 70% 42% / 0.45);
    background: hsl(142.1 76% 36% / 0.1);
}

.is-copied[data-hdv2-bank-copy] > [data-hdv2-copy-label],
.is-copied[data-hdv2-copy-tick-mode] > [data-hdv2-copy-label] {
    opacity: 0;
    transform: scale(0.85);
    pointer-events: none;
}

.is-copied[data-hdv2-bank-copy] > [data-hdv2-copy-tick],
.is-copied[data-hdv2-copy-tick-mode] > [data-hdv2-copy-tick] {
    display: inline-flex;
    position: absolute;
    inset: 0;
    margin: auto;
    animation: hdv2-copy-tick-pop 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

.is-copied[data-hdv2-bank-copy] > [data-hdv2-copy-tick] svg path,
.is-copied[data-hdv2-copy-tick-mode] > [data-hdv2-copy-tick] svg path {
    animation: hdv2-copy-tick-draw 0.35s ease 0.05s forwards;
}

[data-hdv2-bank-copy] > [data-hdv2-copy-label],
[data-hdv2-copy-tick-mode] > [data-hdv2-copy-label] {
    display: inline-block;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

@keyframes hdv2-copy-tick-pop {
    from {
        opacity: 0;
        transform: scale(0.55);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes hdv2-copy-tick-draw {
    to {
        stroke-dashoffset: 0;
    }
}
