body {
    background-color: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.main-content {
    padding: 20px;
    padding-bottom: 80px; /* Space for footer */
}

.header-title {
    text-align: center;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* User Info Card */
.user-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: #4cd964;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
    font-size: 24px;
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.user-status {
    font-size: 12px;
    color: #999;
}

/* Balance Card */
.balance-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 15px;
    padding: 20px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.balance-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
    display: block;
}

.balance-amount {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.account-number {
    font-size: 12px;
    opacity: 0.8;
}

.recharge-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

/* Grid Menu */
.grid-menu {
    background: #fff;
    border-radius: 15px;
    padding: 20px 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.grid-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 20px;
    color: #fff;
}

.grid-text {
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* Icon Colors */
.icon-blue { background: #4facfe; }
.icon-orange { background: #ff9a9e; }
.icon-green { background: #4cd964; }
.icon-purple { background: #a18cd1; }
.icon-pink { background: #ff758c; }
.icon-cyan { background: #00f2fe; }
.icon-red { background: #ff4b1f; }

/* Footer Styles (Ensure compatibility with existing footer) */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    z-index: 1000;
}
