* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    margin: 0;
    background: #f4f6f8;
}

.app {
    max-width: 420px;
    margin: auto;
    padding-bottom: 80px;
}

/* HEADER */
.top-header {
    background: linear-gradient(to right, #4b0082, #6a1b9a);
    padding: 30px 20px;
    color: white;
    text-align: center;
}

.logo {
    width: 140px;
    margin-bottom: 10px;
}

.greeting {
    font-size: 14px;
    opacity: 0.9;
}

/* ACCOUNT CARD */
.account-card {
    background: white;
    margin: -40px 16px 16px;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.account-name {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.balance {
    font-size: 40px;
    font-weight: 700;
    margin-top: 8px;
}

.currency {
    font-size: 20px;
    vertical-align: top;
}

.balance-label {
    font-size: 12px;
    color: #777;
}

.current-balance {
    margin-top: 8px;
    font-size: 14px;
    color: #444;
}

.current-balance span {
    color: #777;
    font-size: 11px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 13px;
}

.card-footer a {
    color: #4b0082;
    text-decoration: none;
    font-weight: 600;
}

/* VIEW ALL */
.view-all {
    text-align: center;
    margin: 20px 0;
}

.view-all button {
    width: 90%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #4b0082;
    background: white;
    color: #4b0082;
    font-weight: 600;
}

/* ACTIVITY */
.activity {
    background: white;
    margin: 0 16px;
    border-radius: 14px;
    padding: 16px;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-header h3 {
    font-size: 14px;
}

.activity-header select {
    border-radius: 6px;
    padding: 4px;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
}

.activity-item small {
    display: block;
    color: #777;
    font-size: 11px;
}

.activity-item.positive span {
    color: green;
    font-weight: 600;
}

.activity-item.pending span {
    color: orange;
}

/* BOTTOM NAV */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background: white;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #ddd;
    padding: 10px 0;
}

.bottom-nav a {
    text-align: center;
    font-size: 12px;
    color: #555;
    text-decoration: none;
}

.bottom-nav a.active {
    color: #4b0082;
    font-weight: 600;
}

.bottom-nav span {
    display: block;
    font-size: 10px;
}
