.emailpopup-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 6px;
    border: 0;
    background: #007bff;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), background 220ms ease, box-shadow 220ms ease;
    box-shadow: 0 2px 0 rgba(0,0,0,0.06);
    will-change: transform;
}

.emailpopup-copy-btn:active {
    transform: translateY(1px) scale(.99);
}

.emailpopup-copy-btn .icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-size: 14px;
}

/* success state */
.emailpopup-copy-btn.copied {
    background: #28a745;
    box-shadow: 0 6px 18px rgba(40,167,69,0.18);
    transform: scale(1.03);
}

/* small fade animation for check icon */
.emailpopup-copy-btn .check {
    display: inline-block;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 220ms ease;
}

.emailpopup-copy-btn.copied .check {
    opacity: 1;
    transform: translateY(0);
}

/* hide code selection outline */
.emailpopup-code {
    user-select: all;
}

/* ensure modal content wraps correctly */
.productkey-popup .modal-inner-wrap {
    max-width: 900px;
    padding: 18px;
}