* { box-sizing: border-box; }
body { margin: 0; padding: 32px 20px; background: #eef3f6; color: #1b2933; font-family: Arial, sans-serif; }
.auth-shell { width: min(100%, 760px); margin: 0 auto; }
.auth-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }
.brand { color: #075985; font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.auth-nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.button, button { display: inline-block; border: 0; border-radius: 4px; padding: 10px 16px; background: #087f8c; color: #fff; cursor: pointer; font-size: .95rem; text-decoration: none; }
.button.secondary { background: #dbe7ec; color: #1b2933; }
.panel { background: #fff; border: 1px solid #d6e1e6; border-radius: 8px; padding: 28px; box-shadow: 0 4px 12px rgba(27, 41, 51, .07); margin-bottom: 20px; }
h1, h2 { margin-top: 0; color: #075985; }
.form-grid { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 700; color: #344955; }
input, select { width: 100%; border: 1px solid #bdccd3; border-radius: 4px; padding: 11px; font: inherit; }
.message { padding: 12px; border-radius: 4px; background: #fff2d6; color: #78520b; margin-bottom: 18px; }
.success { background: #e0f4e8; color: #14532d; }
.muted { color: #687984; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 16px 0; }
.stat { padding: 15px; background: #f3f8fa; border-left: 4px solid #f59e0b; }
.stat strong { display: block; font-size: 1.25rem; margin-top: 5px; }
.wallet-row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; align-items: end; padding: 14px 0; border-bottom: 1px solid #e4ecef; }
.wallet-row:last-child { border-bottom: 0; }
.inline-form { display: inline; }
.danger { background: #b42318; }
@media (max-width: 640px) { body { padding: 20px 12px; } .auth-header { align-items: flex-start; flex-direction: column; } .panel { padding: 20px; } .wallet-row { grid-template-columns: 1fr; } }
