/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Sora', sans-serif; font-size: 14px; background: #f4f2ee; color: #1a1a18; line-height: 1.6; }
a { color: inherit; text-decoration: none; }

/* ── Navbar ── */
.navbar { background: #fff; border-bottom: 0.5px solid #e0ddd6; position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 56px; display: flex; align-items: center; gap: 32px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 32px; height: 32px; background: #1877F2; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-title { font-size: 15px; font-weight: 600; color: #1a1a18; display: block; line-height: 1.2; }
.brand-sub { font-size: 11px; color: #888; display: block; }
.nav-links { display: flex; gap: 4px; margin-left: 16px; }
.nav-link { padding: 6px 12px; border-radius: 6px; font-size: 13px; color: #666; transition: all .12s; }
.nav-link:hover { background: #f4f2ee; color: #1a1a18; }
.nav-link.active { background: #f4f2ee; color: #1877F2; font-weight: 500; }
.nav-status { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 12px; color: #888; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.4} }

/* ── Layout ── */
.main-content { max-width: 1280px; margin: 0 auto; padding: 28px 24px; }
.footer { text-align: center; padding: 24px; font-size: 12px; color: #aaa; border-top: 0.5px solid #e0ddd6; margin-top: 40px; }
.footer a { color: #1877F2; }

/* ── Alerts ── */
.alert { padding: 10px 16px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.alert-success { background: #f0fdf4; color: #166534; border: 0.5px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 0.5px solid #fecaca; }

/* ── Page header ── */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.page-title { font-size: 22px; font-weight: 600; color: #1a1a18; }
.page-sub { font-size: 13px; color: #888; margin-top: 2px; }
.product-header { display: flex; align-items: center; gap: 14px; }
.product-icon-lg { font-size: 32px; line-height: 1; }
.header-actions { display: flex; gap: 8px; }

/* ── Stats ── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 20px; }
.stat-card { background: #fff; border: 0.5px solid #e0ddd6; border-radius: 10px; padding: 16px; }
.stat-label { font-size: 11px; font-weight: 500; color: #888; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.stat-value { font-size: 28px; font-weight: 600; color: #1a1a18; }
.accent-green { color: #16a34a; }
.accent-blue { color: #1877F2; }

/* ── Cards ── */
.card { background: #fff; border: 0.5px solid #e0ddd6; border-radius: 12px; overflow: hidden; }
.card.p-0 { padding: 0; }
.card.mb-16 { margin-bottom: 16px; }
.card.mt-16 { margin-top: 16px; }
.card-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 0.5px solid #e0ddd6; }
.card-title { font-size: 13px; font-weight: 600; color: #1a1a18; }
.card-link { font-size: 12px; color: #1877F2; }
.card-count { font-size: 12px; color: #888; background: #f4f2ee; padding: 2px 8px; border-radius: 10px; }

/* ── Two column ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Subscription list ── */
.sub-list { padding: 8px; }
.sub-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; cursor: pointer; transition: background .12s; }
.sub-row:hover { background: #f9f8f5; }
.sub-icon { font-size: 20px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: #f4f2ee; border-radius: 8px; }
.sub-info { flex: 1; }
.sub-name { font-size: 13px; font-weight: 500; }
.sub-meta { font-size: 11px; color: #888; }

/* ── Badges ── */
.badge { font-size: 11px; padding: 3px 8px; border-radius: 10px; font-weight: 500; }
.badge-on { background: #f0fdf4; color: #16a34a; border: 0.5px solid #bbf7d0; }
.badge-off { background: #f4f2ee; color: #888; border: 0.5px solid #e0ddd6; }

/* ── Event list ── */
.event-list { padding: 8px 12px; }
.event-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 0.5px solid #f0ede8; font-size: 12px; }
.event-row:last-child { border-bottom: none; }
.ev-badge { padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 500; flex-shrink: 0; }
.ev-incoming { background: #f0fdf4; color: #16a34a; }
.ev-verify { background: #eff6ff; color: #1877F2; }
.ev-test { background: #faf5ff; color: #7c3aed; }
.ev-error { background: #fef2f2; color: #dc2626; }
.ev-product { font-weight: 500; flex-shrink: 0; }
.ev-field { color: #888; font-family: 'IBM Plex Mono', monospace; flex: 1; }
.ev-sig { font-size: 11px; }
.ev-time { color: #aaa; font-size: 11px; white-space: nowrap; }
.sig-ok { color: #16a34a; }
.sig-fail { color: #dc2626; }

/* ── Bar chart ── */
.bar-chart { padding: 12px 18px; }
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bar-label { width: 120px; font-size: 12px; color: #666; text-align: right; }
.bar-track { flex: 1; height: 10px; background: #f4f2ee; border-radius: 5px; overflow: hidden; }
.bar-fill { height: 100%; background: #1877F2; border-radius: 5px; transition: width .4s; }
.bar-count { width: 30px; font-size: 12px; font-weight: 500; }

/* ── Test grid ── */
.test-grid { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; border: none; transition: all .12s; font-family: 'Sora', sans-serif; }
.btn-primary { background: #1877F2; color: #fff; }
.btn-primary:hover { background: #1464d8; }
.btn-outline { background: #fff; color: #1a1a18; border: 0.5px solid #d0cdc6; }
.btn-outline:hover { background: #f9f8f5; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-xs { padding: 4px 8px; font-size: 11px; }

/* ── Form ── */
.form-layout { max-width: 860px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 18px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.span-2 { grid-column: span 2; }
.form-label { font-size: 12px; font-weight: 500; color: #444; }
.form-input { padding: 8px 12px; border: 0.5px solid #d0cdc6; border-radius: 8px; font-size: 13px; background: #fff; font-family: 'Sora', sans-serif; transition: border .12s; }
.form-input:focus { outline: none; border-color: #1877F2; box-shadow: 0 0 0 3px rgba(24,119,242,.1); }
.form-input-sm { padding: 6px 10px; border: 0.5px solid #d0cdc6; border-radius: 6px; font-size: 12px; background: #fff; font-family: 'Sora', sans-serif; }
.form-hint { font-size: 11px; color: #aaa; }
.required { color: #dc2626; }
.form-actions { display: flex; gap: 10px; margin-top: 4px; }

/* ── Product picker ── */
.product-picker { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 16px 18px; }
.product-card { display: flex; flex-direction: column; align-items: center; padding: 14px; border: 0.5px solid #e0ddd6; border-radius: 10px; cursor: pointer; transition: all .12s; text-align: center; }
.product-card:hover { border-color: #b0aaa0; background: #fafaf8; }
.product-card.selected { border-color: #1877F2; background: #eff6ff; }
.product-card input { display: none; }
.pc-icon { font-size: 24px; margin-bottom: 6px; }
.pc-name { font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.pc-desc { font-size: 11px; color: #888; }

/* ── Fields ── */
.fields-group { padding: 14px 18px; }
.fields-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.field-check { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 0.5px solid #e0ddd6; border-radius: 7px; cursor: pointer; font-size: 12px; transition: all .12s; }
.field-check:hover { border-color: #b0aaa0; }
.field-check.checked { border-color: #1877F2; background: #eff6ff; }
.field-check input { display: none; }
.check-box { width: 14px; height: 14px; border: 1.5px solid #ccc; border-radius: 3px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .12s; }
.field-check.checked .check-box { background: #1877F2; border-color: #1877F2; }
.check-svg { display: none; }
.field-check.checked .check-svg { display: block; }
.fields-empty { padding: 20px 18px; font-size: 13px; color: #aaa; }
.field-actions { display: flex; gap: 6px; }
.field-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.field-tag { background: #f4f2ee; color: #555; font-size: 10px; padding: 2px 6px; border-radius: 4px; font-family: 'IBM Plex Mono', monospace; }
.field-tag.more { background: #eff6ff; color: #1877F2; }
.field-tag-lg { display: inline-block; background: #f4f2ee; color: #444; font-size: 12px; padding: 4px 10px; border-radius: 6px; font-family: 'IBM Plex Mono', monospace; margin: 4px; }
.fields-display { padding: 14px 18px; }

/* ── Data table ── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 10px 16px; font-size: 11px; font-weight: 600; color: #888; text-align: left; border-bottom: 0.5px solid #e0ddd6; background: #fafaf8; text-transform: uppercase; letter-spacing: .04em; }
.data-table td { padding: 12px 16px; font-size: 13px; border-bottom: 0.5px solid #f0ede8; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafaf8; }
.product-cell { display: flex; align-items: center; gap: 8px; }
.product-icon-sm { font-size: 16px; }
.product-name { font-weight: 500; }
.mono { font-family: 'IBM Plex Mono', monospace; font-size: 12px; }
.truncate { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.text-muted { color: #aaa; }
.small { font-size: 11px; }
.time-ago { color: #888; font-size: 12px; }

/* ── Actions ── */
.action-row { display: flex; align-items: center; gap: 4px; }
.action-btn { background: none; border: 0.5px solid transparent; border-radius: 6px; padding: 4px 8px; cursor: pointer; font-size: 14px; transition: all .12s; }
.action-btn:hover { background: #f4f2ee; border-color: #e0ddd6; }
.action-btn.danger:hover { background: #fef2f2; border-color: #fecaca; }

/* ── Detail table ── */
.detail-table { padding: 8px 0; }
.dt-row { display: flex; padding: 10px 18px; border-bottom: 0.5px solid #f0ede8; }
.dt-row:last-child { border-bottom: none; }
.dt-key { width: 140px; font-size: 12px; color: #888; flex-shrink: 0; }
.dt-val { font-size: 13px; color: #1a1a18; flex: 1; word-break: break-all; }

/* ── Endpoint box ── */
.endpoint-box { padding: 14px 18px; }
.endpoint-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.method { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.method.get { background: #f0fdf4; color: #16a34a; }
.method.post { background: #eff6ff; color: #1877F2; }
.endpoint-note { font-size: 11px; color: #aaa; margin-left: auto; }

/* ── Event detail ── */
.event-detail-list { padding: 8px 12px; }
.ev-detail-row { border-bottom: 0.5px solid #f0ede8; cursor: pointer; }
.ev-detail-row:last-child { border-bottom: none; }
.ev-detail-header { display: flex; align-items: center; gap: 8px; padding: 8px 4px; }
.ev-field-name { font-family: 'IBM Plex Mono', monospace; font-size: 12px; flex: 1; }
.ev-sig-icon { font-size: 11px; }
.ev-ts { font-size: 11px; color: #aaa; }
.ev-payload { padding: 0 4px 10px; }
.payload-pre { font-family: 'IBM Plex Mono', monospace; font-size: 11px; background: #f9f8f5; padding: 12px; border-radius: 8px; overflow-x: auto; white-space: pre-wrap; border: 0.5px solid #e8e4dc; color: #444; line-height: 1.7; }
.payload-row td { padding: 0; background: #fafaf8; }

/* ── Empty states ── */
.empty-state { text-align: center; padding: 32px 20px; color: #888; }
.empty-state.large { padding: 60px 20px; }
.empty-icon { font-size: 32px; margin-bottom: 10px; }
.empty-state p { font-size: 13px; margin-bottom: 14px; }

/* ═══════════════════════════════════════════════════════════════
   SUPER ADMIN – shared nav & layout
   ═══════════════════════════════════════════════════════════════ */

/* CSS Custom Properties (design tokens used across views) */
:root {
    --bg: #f4f2ee;
    --bg-card: #fff;
    --border: #e0ddd6;
    --text-secondary: #888;
    --text-muted: #aaa;
    --text-primary: #1a1a18;
    --accent: #1877F2;
    --accent-muted: #eff6ff;
    --surface-1: #fff;
    --surface-2: #fafaf8;
    --font-mono: 'IBM Plex Mono', monospace;
}

/* ── Super Admin Nav ── */
.sa-nav { background: #1e293b; padding: 0 24px; height: 56px; display: flex; align-items: center; gap: 24px; }
.sa-brand { color: #fff; font-weight: 700; font-size: 15px; }
.sa-nav a { color: #94a3b8; font-size: 13px; text-decoration: none; padding: 6px 10px; border-radius: 6px; }
.sa-nav a:hover, .sa-nav a.active { color: #fff; background: rgba(255,255,255,.1); }
.sa-nav .logout { margin-left: auto; }

/* ── Super Admin main ── */
.sa-main, .main { max-width: 1100px; margin: 0 auto; padding: 32px 24px; }

/* ── Grid ── */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .grid2 { grid-template-columns: 1fr; } }

/* ── Panel ── */
.panel { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.panel h3 { font-size: 14px; font-weight: 700; margin: 0 0 16px; }

/* ── SA table overrides ── */
.sa-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sa-table th { text-align: left; padding: 10px 12px; font-size: 11px; font-weight: 600;
               text-transform: uppercase; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.sa-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.sa-table tr:hover td { background: var(--bg); }

/* ── SA Badges ── */
.badge-on { background: #d1fae5; color: #065f46; border-radius: 99px; font-size: 10px; padding: 2px 8px; font-weight: 600; }
.badge-off { background: #fee2e2; color: #991b1b; border-radius: 99px; font-size: 10px; padding: 2px 8px; font-weight: 600; }

/* ── SA Action btn ── */
.sa-action-btn { font-size: 11px; padding: 4px 10px; border-radius: 4px; cursor: pointer;
                 border: 1px solid var(--border); background: var(--bg); margin-right: 4px; }
.slug-cell { font-family: var(--font-mono); font-size: 12px; }

/* ═══════════════════════════════════════════════════════════════
   SUPER ADMIN – Registrations
   ═══════════════════════════════════════════════════════════════ */
.tab-bar { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.tab { padding: 10px 18px; font-size: 13px; font-weight: 500; cursor: pointer;
       border: none; background: none; border-bottom: 2px solid transparent;
       margin-bottom: -1px; color: var(--text-secondary); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.badge-count { background: var(--accent); color: #fff; border-radius: 99px; font-size: 10px; padding: 1px 7px; margin-left: 6px; }

.reg-card { background: var(--bg-card, #fff); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; margin-bottom: 12px; }
.reg-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.reg-company { font-size: 15px; font-weight: 600; }
.reg-slug { font-family: var(--font-mono); font-size: 12px; background: var(--bg); border: 1px solid var(--border); padding: 2px 8px; border-radius: 4px; }
.reg-meta { font-size: 12px; color: var(--text-secondary); margin-top: 6px; }
.reg-desc { font-size: 12px; color: var(--text-secondary); margin-top: 8px; background: var(--bg); border-radius: 6px; padding: 8px 10px; border: 1px solid var(--border); }
.reg-actions { display: flex; gap: 8px; align-items: center; }
.btn-approve { background: #16a34a; color: #fff; border: none; padding: 7px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-reject { background: #dc2626; color: #fff; border: none; padding: 7px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; }
.status-pill { font-size: 11px; padding: 3px 10px; border-radius: 99px; font-weight: 500; }
.pill-approved { background: #d1fae5; color: #065f46; }
.pill-rejected { background: #fee2e2; color: #991b1b; }
.pill-pending { background: #fef9c3; color: #854d0e; }
.empty-state-reg { text-align: center; padding: 40px 20px; color: var(--text-secondary); font-size: 14px; }

/* ═══════════════════════════════════════════════════════════════
   SUPER ADMIN – Login / centred card pages (Reject, AddAdmin, Approve)
   ═══════════════════════════════════════════════════════════════ */
.sa-centered { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--bg); }
.sa-card { width: min(380px, 95vw); }
.sa-brand-block { text-align: center; margin-bottom: 32px; }
.sa-icon { width: 52px; height: 52px; background: #1e293b; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 24px; }
.sa-title { font-size: 20px; font-weight: 600; }
.sa-sub { font-size: 12px; color: var(--text-secondary); margin-top: 4px; font-family: var(--font-mono); }
.card-wide { width: min(480px, 95vw); }

/* ═══════════════════════════════════════════════════════════════
   AUTH – Login & Verify
   ═══════════════════════════════════════════════════════════════ */
.auth-centered { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--bg); }
.login-card { width: min(400px, 95vw); }
.login-brand { text-align: center; margin-bottom: 32px; }
.login-brand-icon { width: 52px; height: 52px; background: var(--accent); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.login-title { font-size: 20px; font-weight: 600; }
.login-sub { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.step-indicator { display: flex; gap: 8px; margin-bottom: 24px; }
.step { flex: 1; height: 3px; border-radius: 99px; background: var(--border); transition: background .3s; }
.step.active { background: var(--accent); }
.step.done { background: var(--accent); opacity: .5; }
.wa-hint { background: #d1fae5; border: 1px solid #6ee7b7; border-radius: 8px; padding: 10px 14px; font-size: 12px; color: #065f46; margin-bottom: 16px; }

/* OTP boxes (Auth/Verify) */
.otp-inputs { display: flex; gap: 10px; margin-bottom: 20px; }
.otp-box { flex: 1; height: 54px; text-align: center; font-size: 22px; font-family: 'IBM Plex Mono', monospace; font-weight: 600;
           border: 2px solid var(--border); border-radius: 10px; background: var(--surface-1); color: var(--text-primary);
           outline: none; transition: border-color .15s; }
.otp-box:focus { border-color: var(--accent); }
.otp-box.filled { border-color: var(--accent); background: var(--accent-muted, #eff6ff); }
.timer { font-size: 12px; color: var(--text-secondary); text-align: center; margin-bottom: 16px; }
.timer.expired { color: #dc2626; }
.resend-btn { background: none; border: none; color: var(--accent); font-size: 13px; cursor: pointer; text-decoration: underline; padding: 0; }
.resend-btn:disabled { color: var(--text-muted); text-decoration: none; cursor: default; }

/* ═══════════════════════════════════════════════════════════════
   REGISTER – Index, Verify, Success
   ═══════════════════════════════════════════════════════════════ */
.reg-centered { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--bg); padding: 24px 0; }
.reg-card { width: min(520px, 95vw); }
.reg-brand { text-align: center; margin-bottom: 32px; }
.reg-brand-icon { width: 52px; height: 52px; background: var(--accent); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.reg-title { font-size: 20px; font-weight: 600; }
.reg-sub { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.slug-row { display: flex; gap: 8px; align-items: flex-start; }
.slug-row .form-control { flex: 1; }
.slug-badge { font-size: 11px; padding: 3px 8px; border-radius: 99px; font-family: var(--font-mono); margin-top: 8px; display: inline-block; }
.slug-ok  { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.slug-err { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.slug-check { background: #fef9c3; color: #854d0e; border: 1px solid #fde047; }
.login-hint { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-secondary); }
.login-hint a { color: var(--accent); text-decoration: none; font-weight: 500; }

/* Register Verify – step bar */
.step-bar { display: flex; gap: 6px; margin-bottom: 24px; }
.step-bar .step { flex: 1; height: 3px; border-radius: 99px; background: var(--border); }
.step-bar .step.done { background: var(--accent); opacity: .5; }
.step-bar .step.active { background: var(--accent); }
.brand { text-align: center; margin-bottom: 28px; }

/* OTP boxes (Register/Verify – slightly taller) */
.otp-box-lg { flex: 1; height: 56px; text-align: center; font-size: 24px; font-family: 'IBM Plex Mono', monospace; font-weight: 600;
              border: 2px solid var(--border); border-radius: 10px; background: var(--surface-1); color: var(--text-primary);
              outline: none; transition: border-color .15s; }
.otp-box-lg:focus { border-color: var(--accent); }
.otp-box-lg.filled { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }

.summary-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; font-size: 13px; }
.summary-row { display: flex; justify-content: space-between; padding: 3px 0; }
.summary-lbl { color: var(--text-secondary); }
.summary-val { font-weight: 500; }

/* Register Success */
.success-card { width: min(460px, 95vw); text-align: center; }
.success-icon { width: 72px; height: 72px; background: #d1fae5; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 32px; }
.success-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.success-sub { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.info-box { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin: 24px 0; text-align: left; font-size: 13px; }
.info-row { display: flex; gap: 8px; margin-bottom: 6px; }
.info-label { color: var(--text-secondary); width: 80px; flex-shrink: 0; }
.info-val { font-weight: 500; font-family: var(--font-mono); }

/* ═══════════════════════════════════════════════════════════════
   BOT – Detail view
   ═══════════════════════════════════════════════════════════════ */
.drag-ghost { opacity: .4; background: var(--accent-muted) !important; }
.rule-disabled { opacity: .55; }
.mt-2 { margin-top: 8px; }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-neutral { background: var(--surface-3); color: var(--text-secondary); }
.badge-warning { background: #fef3c7; color: #92400e; }
