/* Shared admin/front styles */
.wm-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 2px 12px rgba(0,0,0,.05);margin:16px 0;}
.wm-card-header{padding:12px 16px;border-bottom:1px solid #f1f5f9;background:#f8fafc;border-top-left-radius:16px;border-top-right-radius:16px;}
.wm-card-body{padding:16px;}
.wm-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff;}
.wm-table th,.wm-table td{padding:10px 12px;border-bottom:1px solid #eef2f7;vertical-align:middle}
.wm-table thead th{background:#f8fafc;text-align:left;font-weight:600}
.wm-table tr:last-child td{border-bottom:none}
.wm-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:8px}
.wm-flex{display:flex;align-items:center}
.wm-gap{gap:16px}
.wm-grow{flex:1}
.wm-thumb{width:80px;height:80px;object-fit:cover;border-radius:8px;border:1px solid #eee}
.wm-pills{list-style:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap}
.wm-pill{display:inline-flex;gap:6px;align-items:center;background:#f1f5f9;border:1px solid #e2e8f0;padding:6px 10px;border-radius:999px;font-size:12px}
.wm-switch{position:relative;display:inline-block;width:48px;height:26px}
.wm-switch input{opacity:0;width:0;height:0}
.wm-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background:#cbd5e1;transition:.2s;border-radius:999px}
.wm-slider:before{position:absolute;content:"";height:20px;width:20px;left:3px;bottom:3px;background:white;transition:.2s;border-radius:999px;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.wm-switch input:checked + .wm-slider{background:#22c55e}
.wm-switch input:checked + .wm-slider:before{transform:translateX(22px)}

/* Front design */
.wmx-wrapper{max-width:740px;margin:24px auto 64px auto;padding:0 12px;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial}
.wmx-hero{margin:0 auto 16px auto;border-radius:16px;overflow:hidden;box-shadow:0 6px 24px rgba(0,0,0,.12);max-width:720px}
.wmx-hero img{width:100%;display:block;height:auto}
.wmx-title{font-size:56px;line-height:1.05;margin:8px 0 6px 0;font-weight:800;letter-spacing:.5px}
.wmx-sub{color:#475569;margin-bottom:20px}
.wmx-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 3px 14px rgba(0,0,0,.06);margin:18px 0;overflow:hidden}
.wmx-card-h{padding:12px 16px;background:#f8fafc;border-bottom:1px solid #eef2f7;font-weight:600}
.wmx-table{width:100%;border-collapse:separate;border-spacing:0}
.wmx-table th,.wmx-table td{padding:12px;border-bottom:1px solid #f1f5f9}
.wmx-table thead th{background:#fafafa;text-align:left}
.wmx-table tr:last-child td{border-bottom:none}
.wmx-badge{display:inline-block;padding:2px 10px;border-radius:999px;background:#eef6ff;border:1px solid #cfe3ff}
.wmx-empty{margin:12px 16px;color:#64748b}


/* --- Smooth Minimal Membership UI --- */
.wmx-wrapper{max-width:760px;margin:24px auto 64px auto;padding:0 14px;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial}
.wmx-hero{margin:0 auto 14px auto;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.08);max-width:760px;transform:translateY(4px);opacity:.98;transition:transform .3s ease,opacity .3s ease}
.wmx-hero img{width:100%;display:block;height:auto}
.wmx-wrapper .wmx-hero{transform:none;opacity:1}
.wmx-title{font-size:44px;line-height:1.08;margin:6px 0 6px 0;font-weight:800;letter-spacing:.3px}
.wmx-sub{color:#55606f;margin-bottom:16px}
.wmx-card{background:#fff;border:1px solid #eaeef3;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.04);margin:16px 0;overflow:hidden}
.wmx-card-h{padding:10px 14px;background:#f9fafb;border-bottom:1px solid #eef2f7;font-weight:600}
.wmx-table{width:100%;border-collapse:separate;border-spacing:0}
.wmx-table th,.wmx-table td{padding:12px 14px;border-bottom:1px solid #f1f5f9}
.wmx-table thead th{background:#fafafa;text-align:left}
.wmx-table tr:last-child td{border-bottom:none}
.wmx-badge{display:inline-block;padding:2px 10px;border-radius:999px;background:#eef6ff;border:1px solid #cfe3ff}
.wmx-empty{margin:12px 14px;color:#6b7280}
.wmx-right{text-align:right}
@media (max-width:560px){ .wmx-title{font-size:34px} }
