/* =========================================
   WALLET BUTTON & DROPDOWN STYLES
   ========================================= */

.wallet-container {
    display: inline-block;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    vertical-align: middle;
    z-index: 1000;
}

.wallet-btn {
    background-color: #0ba026;
    border: none;
    outline: none;
    padding: 4px 10px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    height: auto;
    max-width: 200px;
    overflow: hidden;
}

body:not(.light) .wallet-btn {
    background-color: #0ba026;
}

.wallet-btn:hover {
    background-color: #00b380;
}

body:not(.light) .wallet-btn:hover {
    background-color: #099820;
}

.wallet-btn i {
    font-size: 16px;
    color: #fff;
}

body.light .wallet-btn i {
    color: #fff;
}

.wallet-balance {
    font-weight: 600;
    font-size: 14px;
    margin-left: auto;
    text-align: right;
    min-width: fit-content;
}

.wallet-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0;
    min-width: 280px;
    display: none;
    z-index: 1000;
    margin-top: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.wallet-container:hover .wallet-dropdown {
    display: block;
}

.wallet-container.active .wallet-dropdown {
    display: block !important;
}

.wallet-dropdown-header {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.wallet-dropdown-header label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    display: inline;
}

.wallet-dropdown-header .balance-amount {
    font-size: 18px;
    font-weight: bold;
    color: #0ba026;
    margin: 0;
    display: inline;
}

.wallet-dropdown-actions {
    display: flex;
    gap: 10px;
    padding: 15px;
}

.wallet-dropdown-actions a {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #0ba026;
    color: #fff;
    display: block;
}

.wallet-dropdown-actions a:hover {
    background-color: #00b380;
}

body.light .wallet-dropdown {
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

body.light .wallet-dropdown-header {
    background-color: #f5f5f5;
    border-bottom-color: #ddd;
}

body.light .wallet-dropdown-header label {
    color: #666;
}

body.light .wallet-dropdown-header .balance-amount {
    color: #0ba026;
}
