:root{--theme-primary:#152852;--theme-primary-hover:#1a3270;--theme-accent:#2b91b7;--theme-accent-hover:#247a9e;--theme-accent-light:#2b91b71f;--whop-primary:#2b91b7;--whop-primary-hover:#247a9e;--whop-accent:#152852;--whop-bg:#fff;--whop-bg-subtle:#f4f7fa;--whop-border:#e2e8f0;--whop-text:#152852;--whop-text-muted:#64748b;--whop-success:#10b981;--whop-danger:#dc2626;--whop-radius:10px;--whop-shadow:0 1px 3px #15285214;--whop-shadow-lg:0 4px 12px #2b91b72e;color:var(--whop-text);background-color:var(--whop-bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Inter,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}#root{flex-direction:column;min-height:100vh;display:flex}.top-bar{background:var(--whop-bg);border-bottom:1px solid var(--whop-border);box-shadow:var(--whop-shadow);z-index:100;position:sticky;top:0}.top-bar-inner{justify-content:space-between;align-items:center;gap:1rem;max-width:1200px;margin:0 auto;padding:.75rem 1.5rem;display:flex}.top-bar-logo{color:var(--theme-primary);font-size:1.1rem;font-weight:700}.top-bar-user{align-items:center;gap:1rem;display:flex}.top-bar-email{color:var(--whop-text-muted);font-size:.875rem}.btn-sm{padding:.4rem .85rem;font-size:.8125rem}.loading-dots{justify-content:center;align-items:center;gap:3px;display:inline-flex}.loading-dots span{background:currentColor;border-radius:50%;width:4px;height:4px;animation:.6s ease-in-out infinite both loading-dot}.loading-dots span:first-child{animation-delay:0s}.loading-dots span:nth-child(2){animation-delay:.15s}.loading-dots span:nth-child(3){animation-delay:.3s}@keyframes loading-dot{0%,80%,to{opacity:.4;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.btn .loading-dots span{width:5px;height:5px}.app-footer{background:var(--whop-bg);border-top:1px solid var(--whop-border);margin-top:auto;padding:1rem 1.5rem}.app-footer-inner{text-align:center;max-width:1200px;color:var(--whop-text-muted);margin:0 auto;font-size:.8125rem}.app-footer-sep{margin:0 .5rem}.app-main{width:100%;height:calc(100vh - 119px);overflow-y:auto}a{color:var(--whop-primary);font-weight:500;text-decoration:none}a:hover{color:var(--whop-primary-hover);text-decoration:underline}h1,h2,h3{font-weight:600;line-height:1.25}h1{font-size:1.75rem}h2{font-size:1.35rem}h3{font-size:1.15rem}.btn{border-radius:var(--whop-radius);cursor:pointer;border:none;justify-content:center;align-items:center;gap:.5rem;padding:.625rem 1.25rem;font-family:inherit;font-size:.9375rem;font-weight:600;transition:background-color .2s,box-shadow .2s;display:inline-flex}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:var(--whop-primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--whop-primary-hover);box-shadow:var(--whop-shadow-lg)}.btn-secondary{background:var(--whop-bg-subtle);color:var(--whop-text);border:1px solid var(--whop-border)}.btn-secondary:hover:not(:disabled){background:#eee}.btn-danger{background:var(--whop-danger);color:#fff}.btn-danger:hover:not(:disabled){background:#b91c1c}.input{width:100%;color:var(--whop-text);background:var(--whop-bg);border:1px solid var(--whop-border);border-radius:var(--whop-radius);padding:.75rem 1rem;font-family:inherit;font-size:1rem;transition:border-color .2s,box-shadow .2s}.input::placeholder{color:var(--whop-text-muted)}.input:focus{border-color:var(--theme-accent);box-shadow:0 0 0 3px var(--theme-accent-light);outline:none}.input.error{border-color:var(--whop-danger)}.card{background:var(--whop-bg);border:1px solid var(--whop-border);border-radius:var(--whop-radius);box-shadow:var(--whop-shadow);width:100%;max-width:420px;padding:1.5rem}.card-lg{max-width:560px;padding:2rem}.app-shell{background:var(--whop-bg-subtle);flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding:1.5rem;display:flex}.panel-header{text-align:center;margin-bottom:1.5rem}.panel-header h1{color:var(--whop-text);margin:0 0 .25rem}.panel-header p{color:var(--whop-text-muted);margin:0;font-size:.9375rem}.error-msg{color:var(--whop-danger);margin-top:.5rem;font-size:.875rem}.success-msg{color:var(--whop-success);margin-top:.5rem;font-size:.9375rem}.table-wrap{border:1px solid var(--whop-border);border-radius:var(--whop-radius);background:var(--whop-bg);overflow-x:auto}.table-loading-wrap{min-height:120px;position:relative}.table-loading-overlay{color:var(--whop-text-muted);border-radius:var(--whop-radius);z-index:5;background:#ffffffd9;justify-content:center;align-items:center;gap:.5rem;font-size:.9375rem;display:flex;position:absolute;inset:0}table{border-collapse:collapse;width:100%;font-size:.9375rem}th,td{text-align:left;border-bottom:1px solid var(--whop-border);padding:.75rem 1rem}th{color:var(--whop-text-muted);background:var(--whop-bg-subtle);font-weight:600}tr:last-child td{border-bottom:none}.badge{text-transform:capitalize;border-radius:6px;padding:.25rem .6rem;font-size:.75rem;font-weight:600;display:inline-block}.badge-active{color:#065f46}.badge-trialing{color:#1e40af}.badge-renewing{color:#3730a3}.badge-completed,.badge-joined{color:#065f46}.badge-inactive{color:#991b1b}.badge-canceling{color:#9a3412}.badge-canceled{color:#991b1b}.badge-expired{color:#7f1d1d}.badge-past_due,.badge-revoked{color:#92400e}.badge-default{color:#4b5563}.stepper{justify-content:center;align-items:center;margin-bottom:2rem;display:flex}.step{flex-direction:column;align-items:center;display:flex;position:relative}.circle{background:#e5e7eb;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;margin-bottom:6px;font-weight:600;transition:all .3s;display:flex}.step.active .circle{background:var(--theme-accent);color:#fff}.line{background:#e5e7eb;width:80px;height:2px;margin:0 16px}.update-card{border:1px solid var(--whop-border);background:var(--whop-bg-subtle)}.admin-stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.admin-stat-card{background:linear-gradient(135deg, var(--theme-primary) 0%, #1a3270 100%);color:#fff;border-radius:var(--whop-radius);box-shadow:var(--whop-shadow);padding:1.25rem;transition:transform .2s,box-shadow .2s}.admin-stat-card.accent{background:linear-gradient(135deg, var(--theme-accent) 0%, var(--theme-accent-hover) 100%)}.admin-stat-card:hover{box-shadow:var(--whop-shadow-lg);transform:translateY(-2px)}.admin-stat-card .label{text-transform:uppercase;letter-spacing:.05em;opacity:.9;margin-bottom:.25rem;font-size:.75rem}.admin-stat-card .value{font-size:1.75rem;font-weight:700;line-height:1.2}.admin-panel-header{margin-bottom:1.5rem}.admin-panel-header h1{color:var(--theme-primary);margin:0 0 .25rem;font-size:1.5rem}.admin-panel-header p{color:var(--whop-text-muted);margin:0;font-size:.9375rem}.admin-table-wrap{background:var(--whop-bg);border-radius:var(--whop-radius);border:1px solid var(--whop-border);box-shadow:var(--whop-shadow);overflow:hidden}.admin-table-wrap table th{background:var(--theme-primary);color:#fff;font-size:.8125rem;font-weight:600}.admin-table-wrap .btn-primary{background:var(--theme-accent)}.admin-table-wrap .btn-primary:hover:not(:disabled){background:var(--theme-accent-hover)}.top-bar-logo-container{cursor:pointer;align-items:center;gap:12px;display:flex}.top-bar-logo-img{object-fit:contain;width:auto;height:42px}.top-bar-logo{color:#1f2937;letter-spacing:.5px;font-family:Inter,sans-serif;font-size:22px;font-weight:600}.top-bar-logo-container:hover .top-bar-logo{color:#2563eb;transition:color .3s}@media (width<=768px){.top-bar-logo{font-size:18px}.top-bar-logo-img{height:36px}}
