/* Digital Wallets Styles */
#digitalWalletButton {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Style the payment request button */
#walletButtonMount {
    width: 100%;
}

/* Apple Pay button styling */
.apple-pay-button {
    -webkit-appearance: -apple-pay-button;
    -apple-pay-button-type: add-money;
    -apple-pay-button-style: black;
    height: 48px;
    width: 100%;
}

/* Google Pay button override */
.gpay-button {
    background: #000 !important;
    border: 1px solid rgba(255, 215, 0, 0.3) !important;
}

/* Hover effect for wallet buttons */
#walletButtonMount > div:hover {
    transform: scale(1.02);
    transition: transform 0.2s;
}

/* Loading state for wallet button */
#walletButtonMount.loading {
    opacity: 0.6;
    pointer-events: none;
}

#walletButtonMount.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #FFD700;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}