.donation-account {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.donation-account__title {
    margin: 0 0 .5rem;
}

.donation-account__intro {
    margin-bottom: .5rem;
}

.donation-account__intro > :first-child { margin-top: 0; }
.donation-account__intro > :last-child { margin-bottom: 0; }

.donation-account__row {
    margin: 0;
    line-height: 1.5;
}

.donation-account__label {
    margin-right: .25rem;
}

.donation-account__copy-group {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.donation-account__value {
    overflow-wrap: anywhere;
}

.copy-button {
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: .2rem;
    background: transparent;
    color: currentColor;
    cursor: pointer;
    vertical-align: middle;
    transition: background-color .2s ease, opacity .2s ease, transform .2s ease;
}

.copy-button:hover {
    background-color: rgb(0 0 0 / 8%);
}

.copy-button:active {
    transform: scale(.92);
}

.copy-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.copy-button__copy-icon,
.copy-button__success-icon {
    display: block;
}

.copy-button__success-icon {
    display: none;
}

.copy-button.is-copied .copy-button__copy-icon {
    display: none;
}

.copy-button.is-copied .copy-button__success-icon {
    display: block;
}

.copy-feedback {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 600px) {
    .copy-button {
        width: 2rem;
        height: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .copy-button {
        transition: none;
    }
}

