/* Account Dropdown Sidebar */
.account-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.account-sidebar {
    position: fixed;
    top: 0;
    right: -350px; /* Hidden by default */
    width: 320px;
    height: 100%;
    background-color: white;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.account-sidebar.open {
    right: 0;
}

.account-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.account-sidebar-header .user-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 15px;
}

.account-sidebar-header .close-btn {
    cursor: pointer;
    font-size: 18px;
    color: #666;
}

.account-balance-section {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.account-balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.balance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.balance-item {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
}

.balance-item .val {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-top: 5px;
    display: block;
}

.account-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-acc-action {
    padding: 10px;
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.btn-acc-deposit { background: #28a745; }
.btn-acc-withdraw { background: #dc3545; }

.account-menu-list {
    list-style: none;
    padding: 10px 0;
}

.account-menu-group {
    padding: 10px 20px 5px;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    font-weight: bold;
}

.account-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    gap: 15px;
    border-left: 3px solid transparent;
}

.account-menu-item i {
    width: 20px;
    text-align: center;
    color: #555;
    font-size: 16px;
}

.account-menu-item:hover, .account-menu-item.active {
    background-color: var(--light-grey);
    border-left-color: var(--yellow);
}

.account-menu-item.active {
    background-color: #fcecd4; /* Light orange/yellow matching the active state in screenshot */
}
