/* Total Balance Section */
.my-total-section {
    padding: 0.75rem;
    text-align: center;
}

.my-total-section .total-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: #887B63;
    margin-bottom: 0.5rem;
}

.my-total-section .total-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4E4436;
}

/* Card Styles (Spending and Savings) */
.spending-card, .savings-card {
    background-color: rgb(252, 248, 234);
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    height: 80px;
}

.spending-card .balance-icon {
    color: #34C759;
    font-size: 1.7em;  
    margin-right: 0.75rem;
    width: 24px;
    text-align: center;
}

.savings-card .balance-icon {
    color: #fb9174ed;
    font-size: 1.7em; 
    margin-right: 0.75rem;
    width: 24px;
    text-align: center;
}

/* Transaction Card Styles */
.transaction-card {
    background-color: rgb(252, 248, 234);
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1rem;
}

.transaction-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

.transaction-title {
    color: #887B63;
    font-weight: bold;
    font-size: 1.2em;
}

.transaction-list {
    display: flex;
    flex-direction: column;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.transaction-left {
    display: flex;
    align-items: center;
}

.transaction-icon {
    color: #34C759;
    font-size: 1.4em;
    margin-right: 0.75rem;
}

.transaction-text {
    display: flex;
    flex-direction: column;
}

.transaction-description {
    color: #4E4436;
    font-size: 1.1em;
    font-weight: bold;
}

.transaction-subtitle {
    color: #887B63;
    font-size: 0.9em;
}

.transaction-amount {
    color: #4E4436;
    font-weight: bold;
    font-size: 1.1em;
}

/* Shared Styles for Balance Display */
.balance-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.balance-left {
    display: flex;
    align-items: center;
}

.text-balance {
    color: #887B63;
    font-weight: bold;
    font-size: 1.2em;
}

.text-balance-value {
    color: #4E4436;
    font-weight: bold;
    font-size: 1.3em;
}

/* Transaction Icon Color Variations */
.transaction-icon.fa-minus-circle {
    color: #FF3B30; /* Red color for spending transactions */
}

.transaction-icon.fa-piggy-bank {
    color: #fb9174ed; /* Same color as the savings card icon */
}

.transaction-icon.swap-icon {
    color: #007AFF; /* Blue color for swap transactions */
}

/* Marshmallow Logo */
.marshmallow-logo {
   
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.header {
    position: relative;
    z-index: 1;
}

/* Wallet Connect Button */
.connect-wallet-btn {
    display: flex;
    align-items: center;
    background-color: #d8d4f0;
    color: #FFFDF8;
    border: 2px solid #AB9FF2;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.connect-wallet-btn:hover {
    background-color: #c5bef2;
    color: #9A8CE2;
    border-color: #9A8CE2;
}

.connect-wallet-btn.connected {
    background-color: #AB9FF2;
    color: #FFFDF8;
}

.connect-wallet-btn.connected:hover {
    background-color: #9A8CE2;
}

.ocid-icon {
    width: 20px;
    height: 17px;
    margin-right: 6px;
}

/* Adjust header to accommodate the new button */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.header i.fas.fa-user-circle {
    font-size: 1.5rem;
    color: #4E4436;
}