.expand-donate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px; /* Initial width */
    max-width: 160px; /* Prevents excessive growth */
    height: 42px; /* Locks in height */
    padding: 8px 12px;
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    background: #28a745; /* Button background */
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: width 0.3s ease-in-out, padding-right 0.3s ease-in-out;
}

/* Keeps the icon properly sized */
.expand-donate-btn img {
    height: 16px; /* Locks in icon size */
    margin-right: 6px;
    flex-shrink: 0;
}

/* The text part that expands */
.expand-donate-btn span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    transition: padding-left 0.3s ease-in-out;
}

/* Expands button width on hover but keeps it subtle */
.expand-donate-btn:hover {
    width: 170px; /* Slightly increases width */
}

/* Moves text slightly to the right when hovering */
.expand-donate-btn:hover span {
    padding-left: 5px; /* Gentle shift */
}



