*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f0f2f5; color: #333; min-height: 100vh; }
a { text-decoration: none; color: inherit; }
.container { max-width: 480px; margin: 0 auto; padding: 20px; }
.card { background: #fff; border-radius: 12px; padding: 24px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.card h2 { margin-bottom: 16px; font-size: 1.25rem; }
.header { background: linear-gradient(135deg, #1a73e8, #0d47a1); color: #fff; padding: 20px; text-align: center; position: sticky; top: 0; z-index: 100; }
.header h1 { font-size: 1.3rem; margin-bottom: 4px; }
.header .subtitle { font-size: 0.85rem; opacity: 0.85; }
.nav { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.nav a { flex: 1 1 calc(50% - 6px); background: #fff; border-radius: 12px; padding: 16px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.15s, box-shadow 0.15s; }
.nav a:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.nav a .icon { font-size: 2rem; margin-bottom: 8px; display: block; }
.nav a .label { font-size: 0.85rem; font-weight: 600; color: #555; }
.balance-display { text-align: center; padding: 32px 16px; }
.balance-display .amount { font-size: 2.5rem; font-weight: 700; color: #1a73e8; }
.balance-display .label { font-size: 0.9rem; color: #777; margin-bottom: 8px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: #555; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; transition: border-color 0.2s; }
.form-group input:focus { outline: none; border-color: #1a73e8; }
.btn { display: inline-block; width: 100%; padding: 14px; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; text-align: center; transition: background 0.2s; }
.btn-primary { background: #1a73e8; color: #fff; }
.btn-primary:hover { background: #1557b0; }
.btn-danger { background: #e53935; color: #fff; }
.btn-danger:hover { background: #c62828; }
.btn-secondary { background: #e0e0e0; color: #333; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 0.9rem; }
.alert-error { background: #fde8e8; color: #c62828; border: 1px solid #f5c6c6; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.tx-list { list-style: none; }
.tx-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.tx-item:last-child { border-bottom: none; }
.tx-item .tx-info .tx-desc { font-weight: 600; font-size: 0.95rem; }
.tx-item .tx-info .tx-date { font-size: 0.8rem; color: #999; margin-top: 2px; }
.tx-item .tx-amount { font-weight: 700; font-size: 1rem; }
.tx-item .tx-amount.deposit { color: #2e7d32; }
.tx-item .tx-amount.withdrawal { color: #c62828; }
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #1a73e8, #0d47a1); }
.login-card { background: #fff; border-radius: 16px; padding: 40px 32px; width: 100%; max-width: 400px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.login-card h1 { text-align: center; color: #1a73e8; margin-bottom: 8px; }
.login-card .tagline { text-align: center; color: #777; margin-bottom: 24px; font-size: 0.9rem; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; display: flex; justify-content: space-around; padding: 10px 0; box-shadow: 0 -2px 8px rgba(0,0,0,0.08); z-index: 100; }
.bottom-nav a { text-align: center; font-size: 0.7rem; color: #777; padding: 4px 0; }
.bottom-nav a .icon { font-size: 1.3rem; display: block; margin-bottom: 2px; }
.bottom-nav a.active { color: #1a73e8; }
.profile-info { margin-bottom: 16px; }
.profile-info .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.profile-info .row .label { color: #777; font-size: 0.9rem; }
.profile-info .row .value { font-weight: 600; font-size: 0.9rem; }
.page-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.account-number { font-size: 0.85rem; color: #999; text-align: center; margin-top: 4px; }
.mb-16 { margin-bottom: 16px; }
body.has-bottom-nav { padding-bottom: 70px; }
