/* =====================
   GLOBAL
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background: #f4f6f9;
    color: #1f2937;
}

/* =====================
   APP WRAPPER
===================== */
.app {
    max-width: 420px;
    margin: auto;
    background: #f4f6f9;
    min-height: 100vh;
}

/* =====================
   TOP HEADER
===================== */
.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: #0f172a;
    color: #fff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.top-header small {
    font-size: 12px;
    color: #cbd5f5;
}

.top-header h4 {
    font-size: 18px;
    margin-top: 4px;
}

.top-header i {
    font-size: 22px;
}

.back-icon {
    color: #fff;
    font-size: 20px;
}

/* =====================
   PROFILE CARD
===================== */
.profile-card {
    margin: 18px 20px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    gap: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.profile-img {
    width: 52px;
    height: 52px;
    background: #e5e7eb;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    font-size: 28px;
}

.profile-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.profile-info p {
    font-size: 13px;
    color: #6b7280;
}

/* =====================
   WALLET CARD
===================== */
.wallet-card {
    margin: 0 20px 18px;
    background: #0f172a;
    border-radius: 16px;
    padding: 18px;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.wallet-card p {
    font-size: 13px;
    opacity: 0.9;
}

.wallet-card h2 {
    margin-top: 6px;
    font-size: 26px;
}

.wallet-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 12px;
    color: #cbd5f5;
}

/* =====================
   ACTION GRID
===================== */
.action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 20px;
}

.action-box {
    background: #fff;
    border-radius: 14px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1f2937;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.action-box i {
    font-size: 22px;
    color: #2563eb;
}

.action-box span {
    font-size: 12px;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 420px) {
    .app {
        width: 100%;
    }
}