:root { --green:#0b6b3a; --dark:#1d1d1f; --muted:#6b7280; --bg:#f3f5f7; --card:#fff; }
* { box-sizing:border-box; }
body { margin:0; font-family:Arial, Helvetica, sans-serif; background:var(--bg); color:var(--dark); }
a { color:var(--green); text-decoration:none; }
.container { width:min(1100px, 94vw); margin:30px auto; }
.header { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }
.logo { height:64px; max-width:180px; }
.nav a, .btn { display:inline-block; padding:10px 14px; border-radius:10px; background:var(--green); color:#fff; border:0; cursor:pointer; font-weight:700; }
.btn.secondary { background:#374151; }
.btn.danger { background:#b91c1c; }
.panel { background:var(--card); border-radius:18px; box-shadow:0 10px 30px rgba(0,0,0,.08); padding:22px; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; }
input, select { width:100%; padding:11px 12px; border:1px solid #d1d5db; border-radius:10px; margin:6px 0 14px; }
label { font-weight:700; }
table { width:100%; border-collapse:collapse; background:#fff; border-radius:14px; overflow:hidden; }
th, td { padding:12px; border-bottom:1px solid #e5e7eb; text-align:left; }
th { background:#eef7f1; }
.badge { padding:5px 9px; border-radius:999px; color:#fff; font-size:12px; font-weight:700; }
.active { background:#15803d; } .expired { background:#d97706; } .blocked { background:#b91c1c; }
.member-card { width:390px; max-width:100%; border-radius:22px; overflow:hidden; background:#fff; box-shadow:0 18px 45px rgba(0,0,0,.18); border:1px solid #e5e7eb; }
.card-top { background:linear-gradient(135deg,var(--green),#10854b); color:#fff; padding:18px; display:flex; align-items:center; justify-content:space-between; }
.card-logo { background:#fff; border-radius:12px; padding:6px; height:58px; max-width:130px; }
.card-body { padding:20px; }
.photo { width:96px; height:116px; object-fit:cover; border-radius:14px; background:#e5e7eb; }
.card-row { display:flex; gap:16px; align-items:flex-start; }
.qr { width:110px; height:110px; }
.muted { color:var(--muted); }
.actions { display:flex; gap:8px; flex-wrap:wrap; }
@media print { body { background:white; } .no-print { display:none!important; } .container { margin:0; } .member-card { box-shadow:none; } }
