/* Wallet Balance Skeleton Loader Styles */
.wallet-balance-skeleton {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4px 10px;
    min-width: 120px;
    height: 30px;
    position: relative;
    overflow: hidden;
}

.wallet-balance-skeleton::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    animation: shimmer 1.5s infinite;
    background-size: 200% 100%;
}

.wallet-balance-skeleton .icon-placeholder {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 8px;
}

.wallet-balance-skeleton .text-placeholder {
    flex-grow: 1;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Hide the skeleton when the actual balance is loaded */
.wallet-balance.loaded .wallet-balance-skeleton {
    display: none;
}

/* Hide the actual balance content until it's loaded */
.wallet-balance:not(.loaded) .wallet-balance-content {
    display: none;
}

/* Show the skeleton by default */
.wallet-balance .wallet-balance-skeleton {
    display: inline-flex;
}

/* Show the content when loaded */
.wallet-balance.loaded .wallet-balance-content {
    display: inline-flex;
    align-items: center;
} 