/* Balance styles moved from wallet.css (corrected filename)
   NOTE: This file includes modifiers that target `.start-menu-wrapper`.
   The base `.start-menu-wrapper` lives in `payment-interface.css`.
*/
.wallet-balance-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    min-height: 40px;
}

.wallet-balance__label {
    /* Match the amount color for consistency */
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.wallet-balance__value {
    color: #4ade80;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

/* Top-bar compact adjustments */
.wallet-balance-display .wallet-action-btn {
    flex: none;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 8px;
    min-height: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wallet-balance-display .wallet-action-btn:hover {
    transform: translateY(-0.5px);
}

/* Slightly adjust layout when icon buttons sit next to the balance */
.hud-corner--top-center .wallet-balance-display {
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
}

.hud-corner--top-center .wallet-balance__label {
    font-size: 12px;
    line-height: 1;
}

.hud-corner--top-center .wallet-balance__value {
    font-size: 14px;
    line-height: 1;
}

/* Top-right group: layout for history icon, balance and deposit when moved to the right corner */
.top-right-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-right-group .icon-btn {
    flex: none;
}

.top-right-group .wallet-balance-display {
    flex: none;
}
