/*
 | Smart Arisan v1.11.0
 | Professional UI System: layout, sidebar, forms, tables, cards, mobile and print.
 */
:root {
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --primary: #0f766e;
  --primary-strong: #0f5f59;
  --primary-soft: #ccfbf1;
  --primary-faint: #f0fdfa;
  --primary-2: #2563eb;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --warning: #d97706;
  --warning-soft: #fef3c7;
  --success: #16a34a;
  --success-soft: #dcfce7;
  --info: #2563eb;
  --info-soft: #dbeafe;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow: 0 18px 50px rgba(15, 23, 42, .10);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --sidebar-width: 292px;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, .10), transparent 28rem),
    radial-gradient(circle at top right, rgba(37, 99, 235, .10), transparent 24rem),
    var(--bg);
}

a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.hidden, [hidden] { display: none !important; }
.muted { color: var(--muted); }
.no-print[hidden] { display: none !important; }

/* ===== App shell ===== */
.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--sidebar-width);
  padding: 18px;
  overflow-y: auto;
  color: #e5e7eb;
  background: linear-gradient(180deg, #0f172a, #0f766e 115%);
  box-shadow: 20px 0 60px rgba(15, 23, 42, .22);
}
.platform-area { --primary: #1d4ed8; --primary-strong: #1e40af; --primary-soft: #dbeafe; --primary-faint: #eff6ff; }
.platform-shell .sidebar,
.sidebar-platform { background: linear-gradient(180deg, #020617, #1e3a8a 115%); }
.content {
  width: calc(100% - var(--sidebar-width));
  margin-left: var(--sidebar-width);
  padding: 22px;
}
.sidebar-head,
.brand,
.topbar,
.topbar-actions,
.actions,
.userbox,
.table-toolbar,
.app-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-head { justify-content: space-between; margin-bottom: 18px; }
.brand { min-width: 0; }
.brand-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.03em;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), var(--shadow-xs);
}
.brand-text { min-width: 0; }
.brand-text strong,
.brand strong { display: block; font-size: 16px; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text span,
.brand span { display: block; margin-top: 1px; color: rgba(226, 232, 240, .74); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-close,
.menu-btn {
  display: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  background: rgba(255,255,255,.12);
  border-radius: 12px;
}
.sidebar-close { width: 38px; height: 38px; font-size: 24px; }
.userbox {
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}
.userbox strong { display: block; color: #fff; }
.userbox span { display: block; color: rgba(226,232,240,.72); font-size: 12px; }
.userbox em {
  display: inline-flex;
  white-space: nowrap;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #cffafe;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(20,184,166,.18);
}
.nav-section {
  margin: 18px 10px 8px;
  color: rgba(226,232,240,.58);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  margin: 4px 0;
  color: rgba(248,250,252,.84);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: .18s ease;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.14);
}
.nav-icon { width: 24px; text-align: center; }

/* ===== Page header ===== */
.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(226,232,240,.82);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}
.topbar-title { min-width: 0; }
.breadcrumb-lite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.topbar h1 { margin: 0; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.04em; line-height: 1.1; }
.topbar p { margin: 6px 0 0; color: var(--muted); max-width: 720px; }
.topbar-actions { justify-content: flex-end; flex-wrap: wrap; }
.menu-btn { color: var(--text); background: var(--surface); border: 1px solid var(--border); padding: 10px 12px; }

/* ===== Cards and layout ===== */
.card,
.login-card,
.member-card,
.payment-receipt,
.verify-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card { padding: 20px; margin-bottom: 16px; }
.card h2 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.02em; }
.card p:first-child { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-bottom: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-bottom: 16px; }
.stat { position: relative; overflow: hidden; min-height: 128px; }
.stat::after {
  content: "";
  position: absolute;
  right: -35px;
  top: -35px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--primary-soft);
  opacity: .72;
}
.stat span { position: relative; display: block; z-index: 1; color: var(--muted); font-weight: 800; }
.stat strong { position: relative; display: block; z-index: 1; margin: 4px 0; font-size: 32px; line-height: 1.05; letter-spacing: -.05em; }
.stat small { position: relative; z-index: 1; color: var(--muted); }

/* ===== Buttons, alerts, badges ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 15px;
  color: #fff;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 22px rgba(15, 118, 110, .18);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(15, 118, 110, .22); }
.btn-light { color: var(--text); background: var(--surface-soft); border-color: var(--border); box-shadow: none; }
.btn-danger { background: linear-gradient(135deg, #dc2626, #991b1b); }
.btn-sm { min-height: 34px; padding: 8px 11px; font-size: 12px; border-radius: 11px; }

.btn-icon {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 13px;
}
.btn-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.table td.actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.table td.actions form { display: inline-flex; margin: 0; }

.actions { flex-wrap: wrap; margin: 14px 0; }
.alert {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  margin-bottom: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.alert-success { color: #166534; background: var(--success-soft); border-color: #bbf7d0; }
.alert-danger { color: #991b1b; background: var(--danger-soft); border-color: #fecaca; }
.alert-warning { color: #92400e; background: var(--warning-soft); border-color: #fde68a; }
.alert-info { color: #1e40af; background: var(--info-soft); border-color: #bfdbfe; }
.alert-close { border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: #e2e8f0;
  color: #334155;
  white-space: nowrap;
}
.badge-success { color: #166534; background: var(--success-soft); }
.badge-danger { color: #991b1b; background: var(--danger-soft); }
.badge-warning { color: #92400e; background: var(--warning-soft); }
.badge-info { color: #1e40af; background: var(--info-soft); }
.badge-muted { color: #475569; background: #e2e8f0; }

/* ===== Forms ===== */
.form-grid,
.tenant-register-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.form-grid .full,
.tenant-register-form .full { grid-column: 1 / -1; }
label { display: block; color: var(--text); font-weight: 850; }
label small,
.form-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 650; }
input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 11px 12px;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: #fff;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
textarea { min-height: 110px; resize: vertical; }
input:focus,
select:focus,
textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.input-invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 4px var(--danger-soft) !important; }
.check-row { display: flex; align-items: center; gap: 8px; }
.check-row input { width: auto; margin: 0; }
.searchbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  padding: 14px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.searchbar label { flex: 1; min-width: 220px; }

/* ===== Tables ===== */
.table-card { padding: 0; overflow: hidden; }
.table-toolbar {
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
}
.table-toolbar strong { font-size: 16px; }
.table-toolbar span { color: var(--muted); font-size: 12px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; }
.table th,
.table td { padding: 13px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.table th { color: #475569; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; background: #f8fafc; }
.table tr:hover td { background: #fbfdff; }
.table td.actions { min-width: 180px; }
.empty-state {
  padding: 32px 18px !important;
  color: var(--muted);
  text-align: center !important;
}
.empty-state strong { display: block; color: var(--text); margin-bottom: 4px; }
.chartbar { min-width: 120px; height: 13px; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
.chartbar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--primary-2)); }

/* ===== Public login and tenant flow ===== */
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 12% 8%, rgba(153,246,228,.85), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(147,197,253,.72), transparent 26rem),
    linear-gradient(135deg,#0f172a,#0f766e);
}
.login-card {
  width: min(520px, 100%);
  padding: 28px;
  border-color: rgba(255,255,255,.70);
  background: rgba(255,255,255,.96);
  box-shadow: 0 28px 90px rgba(15,23,42,.28);
}
.login-card .brand { margin-bottom: 22px; color: var(--text); }
.login-card .brand span { color: var(--muted); }
.login-card h1,
.login-card h2 { margin: 0 0 8px; letter-spacing: -.04em; line-height: 1.1; }
.login-card p { color: var(--muted); }
.platform-login-card { border-top: 7px solid #2563eb; }
.tenant-login-card,
.user-login-card { border-top: 7px solid #0f766e; }
.area-selector-card,
.tenant-register-card { width: min(920px, 100%); }
.area-choice,
.user-login-hero {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(135deg, var(--surface-soft), #fff);
}
.area-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #115e59;
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 900;
}
.user-login-hero h2 { font-size: clamp(24px,3vw,34px); }
.login-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.login-links a {
  padding: 8px 11px;
  color: var(--primary-2);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
}
.tenant-slug-form { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.tenant-slug-form label { min-width: 220px; flex: 1; }

/* ===== QRIS, cards, receipts ===== */
.qris-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, var(--primary-faint), #fff);
}
.qris-img { width: 190px; max-width: 40%; padding: 10px; object-fit: contain; border: 1px solid var(--border); border-radius: 18px; background: #fff; }
.member-card,
.payment-receipt,
.verify-card { width: min(900px,100%); margin: 0 auto 16px; padding: 24px; }
.member-card { position: relative; overflow: hidden; color: #fff; border: 0; background: linear-gradient(135deg,#0f766e,#2563eb); }
.member-card::after { content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.12); }
.member-card-head,
.member-card-body,
.receipt-head,
.receipt-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.member-card-body { align-items: center; margin-top: 24px; }
.member-card .label,
.member-card-head span,
.receipt-head span { margin: 0; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; opacity: .78; }
.member-card-body h1 { margin: 4px 0 10px; font-size: clamp(28px, 4vw, 46px); letter-spacing: -.05em; }
.member-card .badge { color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.16); }
.member-card-foot { position: relative; z-index: 1; margin-top: 18px; font-size: 12px; opacity: .82; word-break: break-all; }
.qr-box,
.dynamic-qris-box {
  min-width: 220px;
  padding: 14px;
  color: var(--text);
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.qr-box img { display: block; width: 220px; max-width: 100%; height: auto; margin: auto; border-radius: 12px; }
.qr-box small,
.dynamic-qris-box small { display: block; margin-top: 8px; color: var(--muted); font-weight: 800; }
.verify-card { text-align: center; }
.verify-icon { display: inline-grid; place-items: center; width: 66px; height: 66px; margin-bottom: 12px; color: #166534; font-size: 34px; font-weight: 900; border-radius: 999px; background: var(--success-soft); }
.qris-setting-grid { align-items: start; }
.qris-dynamic-config textarea[data-qris-base] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.5; }
.qris-preview-card { position: sticky; top: 108px; }
.dynamic-qris-output { display: grid; place-items: center; min-height: 210px; }
.platform-qris-card .qris-preview { display: grid; place-items: center; min-width: 230px; }
.nice-list { margin: 12px 0 0 20px; font-weight: 700; }
.nice-list li { margin: 8px 0; }
.print-header { display: none; }
.app-footer { justify-content: space-between; flex-wrap: wrap; padding: 10px 4px 0; color: var(--muted); font-size: 12px; }

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  :root { --sidebar-width: 292px; }
  .content { width: 100%; margin-left: 0; padding: 14px; }
  .sidebar { transform: translateX(-105%); transition: transform .24s ease; }
  .sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-open .mobile-backdrop { display: block; position: fixed; inset: 0; z-index: 15; background: rgba(15,23,42,.52); }
  .sidebar-close,
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .topbar { position: relative; top: auto; align-items: flex-start; }
  .topbar-actions { width: 100%; justify-content: flex-start; }
  .grid,
  .grid-2,
  .form-grid,
  .tenant-register-form { grid-template-columns: 1fr; }
  .table thead { display: none; }
  .table tr { display: block; border-bottom: 1px solid var(--border); }
  .table td { display: grid; grid-template-columns: 42% 1fr; gap: 10px; border-bottom: 0; padding: 9px 14px; }
  .table td::before { content: attr(data-label); color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
  .table td.actions { display: flex; flex-wrap: wrap; min-width: 0; }
  .table td.actions::before { display: none; }
  .qris-card,
  .member-card-head,
  .member-card-body,
  .receipt-head,
  .receipt-grid { flex-direction: column; }
  .qris-img { width: 100%; max-width: 100%; }
  .qris-preview-card { position: static; }
}
@media (max-width: 560px) {
  body { font-size: 13px; }
  .login-wrap { place-items: start center; padding: 14px; }
  .login-card,
  .card,
  .topbar,
  .member-card,
  .payment-receipt,
  .verify-card { border-radius: 20px; padding: 16px; }
  .btn { width: 100%; }
  .actions .btn-icon,
  .table td.actions .btn-icon { width: 38px; min-width: 38px; }
  .actions .btn,
  .topbar-actions .btn,
  .login-links a { width: auto; }
  .tenant-slug-form .btn { width: 100%; }
  .table td { grid-template-columns: 1fr; gap: 4px; }
}

/* ===== Print ===== */
@media print {
  body { background: #fff; }
  .sidebar,
  .topbar,
  .actions,
  .btn,
  .searchbar,
  .app-footer,
  .no-print,
  [data-install-app] { display: none !important; }
  .content { width: 100%; margin: 0; padding: 0; }
  .card,
  .member-card,
  .payment-receipt,
  .verify-card { box-shadow: none; break-inside: avoid; }
  .member-card { color: #000; background: #fff; border: 2px solid #111; }
  .member-card .badge { color: #000; border-color: #111; }
  .print-header { display: block; text-align: center; margin-bottom: 20px; }
  .table th,
  .table td { font-size: 12px; padding: 8px; }
  .badge { color: #000; background: #fff; border: 1px solid #999; }
}

/* v1.14.0 - Tenant registration invoice */
.tenant-invoice-page{max-width:1120px;margin:0 auto;padding:20px}
.invoice-hero-card{display:flex;justify-content:space-between;gap:20px;align-items:center;background:linear-gradient(135deg,#ffffff,#f8fafc)}
.invoice-hero-card h2{margin:8px 0 4px;font-size:clamp(22px,3vw,34px)}
.invoice-total-box{min-width:260px;border:1px solid var(--border);border-radius:22px;padding:18px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.08)}
.invoice-total-box small,.invoice-total-box span{display:block;color:var(--muted)}
.invoice-total-box strong{display:block;font-size:28px;margin:6px 0;color:var(--primary)}
@media(max-width:760px){.tenant-invoice-page{padding:10px}.invoice-hero-card{display:block}.invoice-total-box{min-width:0;margin-top:14px}}

/* ===== Futuristic Landing Page v1.17.1 + subtle animations ===== */
.landing-modern {
  width: min(1180px, 100%);
  margin: 0 auto;
  color: #e5f9ff;
}
.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: 26px;
  align-items: center;
  overflow: hidden;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid rgba(153, 246, 228, .28);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 14%, rgba(45, 212, 191, .30), transparent 23rem),
    radial-gradient(circle at 88% 26%, rgba(59, 130, 246, .33), transparent 24rem),
    linear-gradient(135deg, rgba(2, 6, 23, .94), rgba(15, 23, 42, .86) 55%, rgba(15, 118, 110, .72));
  box-shadow: 0 30px 100px rgba(2, 6, 23, .38);
}
.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.8), transparent 78%);
  pointer-events: none;
}
.landing-hero::after {
  content: "";
  position: absolute;
  inset: -35% -25% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,.22), transparent 62%);
  filter: blur(2px);
  animation: landing-glow-drift 9s ease-in-out infinite alternate;
  pointer-events: none;
}
.landing-copy { position: relative; z-index: 1; animation: landing-fade-up .75s ease both; }
.landing-brand {
  display: inline-flex;
  padding: 10px 12px;
  margin-bottom: 18px;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(12px);
}
.landing-brand span { color: rgba(226,232,240,.78) !important; }
.landing-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 12px;
  color: #99f6e4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid rgba(153,246,228,.28);
  border-radius: 999px;
  background: rgba(20, 184, 166, .10);
  animation: landing-soft-glow 3.8s ease-in-out infinite;
}
.landing-copy h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -.065em;
}
.landing-lead {
  max-width: 700px;
  margin: 20px 0 0;
  color: rgba(226,232,240,.82);
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.72;
}
.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.btn-ghost {
  color: #dbeafe;
  border-color: rgba(191, 219, 254, .28);
  background: rgba(255,255,255,.08);
  box-shadow: none;
}
.landing-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.landing-trust span {
  display: inline-flex;
  gap: 6px;
  padding: 8px 10px;
  color: rgba(226,232,240,.82);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}
.landing-trust b { color: #fff; }
.arisan-visual {
  position: relative;
  z-index: 1;
  min-height: 520px;
}
.orbit-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid rgba(125, 211, 252, .23);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-one { width: 440px; height: 440px; animation: landing-ring-pulse 5.5s ease-in-out infinite; }
.orbit-two { width: 310px; height: 310px; border-style: dashed; animation: landing-spin 22s linear infinite; }
.visual-card {
  position: absolute;
  color: #0f172a;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 55px rgba(2, 6, 23, .26);
  backdrop-filter: blur(18px);
}
.visual-card-main {
  left: 50%;
  top: 50%;
  width: min(360px, 82%);
  padding: 20px;
  transform: translate(-50%, -50%);
  animation: landing-float-main 6s ease-in-out infinite;
}
.visual-topline,
.winner-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.visual-topline span,
.winner-strip small,
.visual-card small,
.visual-card em {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
  font-style: normal;
}
.visual-topline strong { color: #0f766e; }
.draw-wheel {
  position: relative;
  display: grid;
  place-items: center;
  width: 210px;
  height: 210px;
  margin: 22px auto;
  border-radius: 50%;
  background:
    conic-gradient(from 18deg, #0f766e, #2563eb, #22c55e, #f59e0b, #0f766e);
  box-shadow: inset 0 0 0 16px rgba(255,255,255,.88), 0 20px 45px rgba(15, 118, 110, .28);
  transform-origin: center;
  animation: landing-draw-shuffle 4.6s cubic-bezier(.65,.02,.22,1) infinite;
}
.draw-wheel::before {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from 0deg, rgba(153,246,228,.0), rgba(153,246,228,.70), rgba(37,99,235,.0));
  animation: landing-rotate 7.5s linear infinite;
}
.draw-wheel span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  color: #fff;
  font-size: 26px;
  font-weight: 1000;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a, #0f766e);
  box-shadow: 0 0 0 8px rgba(15,23,42,.08), 0 14px 28px rgba(15,23,42,.18);
  animation: landing-draw-counter 4.6s cubic-bezier(.65,.02,.22,1) infinite;
}
.draw-wheel i {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  transform: rotate(calc(var(--i) * 60deg)) translateY(-93px);
  transform-origin: center;
}
.winner-strip {
  padding: 12px;
  border-radius: 18px;
  background: #f0fdfa;
}
.winner-strip b { color: #115e59; }
.visual-card-payment {
  top: 24px;
  right: 8px;
  width: 230px;
  padding: 16px;
  animation: landing-float-card 5.8s ease-in-out infinite .4s;
}
.visual-card-payment strong {
  display: block;
  margin: 4px 0 12px;
  font-size: 24px;
  letter-spacing: -.04em;
}
.mini-progress {
  height: 11px;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #e2e8f0;
}
.mini-progress span { position: relative; display: block; height: 100%; overflow: hidden; border-radius: inherit; background: linear-gradient(90deg,#0f766e,#2563eb); }
.mini-progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-100%);
  animation: landing-progress-shine 2.7s ease-in-out infinite;
}
.visual-card-qris {
  left: 0;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  font-weight: 900;
  animation: landing-float-card 6.4s ease-in-out infinite .8s;
}
.fake-qr {
  position: relative;
  overflow: hidden;
  width: 76px;
  height: 76px;
  border-radius: 14px;
  background:
    linear-gradient(90deg,#0f172a 10px,transparent 10px) 0 0/19px 19px,
    linear-gradient(#0f172a 10px,transparent 10px) 0 0/19px 19px,
    #fff;
  border: 8px solid #fff;
  box-shadow: inset 0 0 0 2px #0f172a;
}
.fake-qr::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(20,184,166,.65);
  box-shadow: 0 0 12px rgba(20,184,166,.8);
  animation: landing-scan 2.8s linear infinite;
}
.visual-card-reminder {
  right: 0;
  bottom: 76px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  animation: landing-float-card 5.4s ease-in-out infinite 1.1s;
}
.visual-card-reminder b { color: #1d4ed8; }
.visual-card-reminder span { color: #475569; }
.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}
.landing-feature {
  padding: 20px;
  border: 1px solid rgba(226,232,240,.88);
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
  animation: landing-fade-up .65s ease both;
}
.landing-feature:nth-child(2) { animation-delay: .08s; }
.landing-feature:nth-child(3) { animation-delay: .16s; }
.landing-feature:nth-child(4) { animation-delay: .24s; }
.landing-feature span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 1000;
  border-radius: 999px;
  background: #ccfbf1;
}
.landing-feature h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 17px;
  letter-spacing: -.025em;
}
.landing-feature p { margin: 0; color: #64748b; }
@keyframes landing-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes landing-rotate { to { transform: rotate(360deg); } }
@keyframes landing-draw-shuffle {
  0% { transform: rotate(0deg) scale(1); }
  10% { transform: rotate(42deg) scale(1.015); }
  24% { transform: rotate(132deg) scale(.992); }
  38% { transform: rotate(238deg) scale(1.018); }
  54% { transform: rotate(356deg) scale(1); }
  70% { transform: rotate(492deg) scale(1.016); }
  86% { transform: rotate(626deg) scale(.996); }
  100% { transform: rotate(720deg) scale(1); }
}
@keyframes landing-draw-counter {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(-42deg); }
  24% { transform: rotate(-132deg); }
  38% { transform: rotate(-238deg); }
  54% { transform: rotate(-356deg); }
  70% { transform: rotate(-492deg); }
  86% { transform: rotate(-626deg); }
  100% { transform: rotate(-720deg); }
}
@keyframes landing-glow-drift {
  0% { transform: translate3d(0,0,0) scale(.92); opacity: .64; }
  100% { transform: translate3d(-70px,70px,0) scale(1.08); opacity: .92; }
}
@keyframes landing-soft-glow {
  0%,100% { box-shadow: 0 0 0 rgba(45,212,191,0); }
  50% { box-shadow: 0 0 28px rgba(45,212,191,.26); }
}
@keyframes landing-ring-pulse {
  0%,100% { opacity: .74; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.035); }
}
@keyframes landing-float-main {
  0%,100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}
@keyframes landing-float-card {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes landing-scan {
  0% { top: -4px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: calc(100% + 4px); opacity: 0; }
}
@keyframes landing-progress-shine {
  0% { transform: translateX(-100%); }
  54%,100% { transform: translateX(100%); }
}
@keyframes landing-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .landing-hero::after,
  .landing-copy,
  .landing-pill,
  .orbit-one,
  .orbit-two,
  .visual-card-main,
  .visual-card-payment,
  .visual-card-qris,
  .visual-card-reminder,
  .draw-wheel,
  .draw-wheel span,
  .draw-wheel::before,
  .fake-qr::after,
  .mini-progress span::after,
  .landing-feature {
    animation: none !important;
  }
}


@media (max-width: 980px) {
  .landing-hero { grid-template-columns: 1fr; }
  .arisan-visual { min-height: 450px; }
  .landing-feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .landing-modern { width: 100%; }
  .landing-hero { padding: 20px; border-radius: 28px; }
  .landing-actions .btn { width: 100%; }
  .landing-trust span { flex: 1 1 calc(50% - 10px); justify-content: center; }
  .arisan-visual { min-height: 410px; }
  .orbit-one { width: 310px; height: 310px; }
  .orbit-two { width: 230px; height: 230px; }
  .visual-card-main { width: 92%; }
  .draw-wheel { width: 168px; height: 168px; }
  .draw-wheel i { transform: rotate(calc(var(--i) * 60deg)) translateY(-74px); }
  .visual-card-payment { right: -4px; top: 12px; width: 190px; }
  .visual-card-qris { left: -4px; bottom: 18px; }
  .visual-card-reminder { right: -4px; bottom: 126px; }
  .landing-feature-grid { grid-template-columns: 1fr; }
}


/* v1.17.4 - Floating cek status pendaftaran dari landing page */
.landing-status-modal[hidden] { display: none !important; }
.landing-status-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 22px;
}
.landing-status-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(45, 212, 191, .30), transparent 28rem),
    rgba(2, 6, 23, .70);
  backdrop-filter: blur(10px);
  animation: modal-fade-in .18s ease both;
}
.landing-status-panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  border: 1px solid rgba(255,255,255,.72);
  animation: modal-pop-in .24s cubic-bezier(.2,.8,.2,1) both;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #0f172a;
  font-size: 26px;
  line-height: 1;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}
body.modal-open { overflow: hidden; }
@keyframes modal-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 640px) {
  .landing-status-modal { padding: 12px; align-items: start; overflow: auto; }
  .landing-status-panel { margin-top: 20px; padding: 24px 18px; }
  .landing-status-panel .form-grid { grid-template-columns: 1fr; }
  .modal-close { top: 12px; right: 12px; }
}

/* ===== Cheerful Color Refresh v1.17.4 =====
   Tema dibuat lebih ceria, hangat, dan modern tanpa mengurangi keterbacaan. */
:root {
  --bg: #fff8ed;
  --surface: #ffffff;
  --surface-soft: #fffaf0;
  --text: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --border: #f1d9c1;
  --border-strong: #d8c3ad;
  --primary: #0ea5a4;
  --primary-strong: #087c7b;
  --primary-soft: #ccfbf1;
  --primary-faint: #ecfeff;
  --primary-2: #f97316;
  --accent-sky: #38bdf8;
  --accent-pink: #fb7185;
  --accent-yellow: #facc15;
  --accent-purple: #8b5cf6;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-sm: 0 12px 34px rgba(249, 115, 22, .10), 0 8px 24px rgba(14, 165, 164, .08);
  --shadow: 0 22px 60px rgba(14, 165, 164, .14), 0 18px 50px rgba(249, 115, 22, .10);
}
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(250, 204, 21, .26), transparent 24rem),
    radial-gradient(circle at 92% 12%, rgba(56, 189, 248, .24), transparent 24rem),
    radial-gradient(circle at 48% 100%, rgba(251, 113, 133, .16), transparent 26rem),
    linear-gradient(180deg, #fffdf7 0%, var(--bg) 48%, #effefe 100%);
}
.sidebar {
  background:
    radial-gradient(circle at 24% 0%, rgba(250, 204, 21, .22), transparent 12rem),
    linear-gradient(180deg, #064e5a 0%, #0ea5a4 55%, #f97316 130%);
}
.platform-area {
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --primary-soft: #dbeafe;
  --primary-faint: #eff6ff;
  --primary-2: #f97316;
}
.platform-shell .sidebar,
.sidebar-platform {
  background:
    radial-gradient(circle at 16% 0%, rgba(251, 113, 133, .26), transparent 12rem),
    linear-gradient(180deg, #172554 0%, #2563eb 58%, #f97316 130%);
}
.brand-icon {
  background: linear-gradient(135deg, #0ea5a4 0%, #38bdf8 45%, #f97316 100%);
}
.platform-area .brand-icon,
.platform-shell .brand-icon {
  background: linear-gradient(135deg, #2563eb 0%, #8b5cf6 46%, #f97316 100%);
}
.topbar,
.card,
.login-card,
.member-card,
.payment-receipt,
.verify-card,
.table-card,
.searchbar {
  border-color: rgba(241, 217, 193, .92);
  box-shadow: var(--shadow-sm);
}
.topbar {
  background: rgba(255, 255, 255, .90);
}
.stat::after {
  background: linear-gradient(135deg, rgba(250, 204, 21, .35), rgba(56, 189, 248, .24), rgba(251, 113, 133, .18));
}
.btn {
  background: linear-gradient(135deg, #0ea5a4 0%, #38bdf8 48%, #f97316 100%);
  box-shadow: 0 14px 30px rgba(14, 165, 164, .16), 0 12px 26px rgba(249, 115, 22, .16);
}
.btn:hover {
  box-shadow: 0 16px 34px rgba(14, 165, 164, .22), 0 14px 30px rgba(249, 115, 22, .20);
}
.btn-light {
  color: #0f172a;
  background: #fffdf7;
  border-color: rgba(241, 217, 193, .98);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}
.btn-danger { background: linear-gradient(135deg, #ef4444, #f97316); }
.badge { background: #fef3c7; color: #7c2d12; }
.badge-success { color: #065f46; background: #ccfbf1; }
.badge-danger { color: #9f1239; background: #ffe4e6; }
.badge-warning { color: #854d0e; background: #fef3c7; }
.badge-info { color: #075985; background: #e0f2fe; }
.alert-success { background: #dcfce7; border-color: #86efac; }
.alert-warning { background: #fef3c7; border-color: #fde68a; }
.alert-info { background: #e0f2fe; border-color: #bae6fd; }
.table-toolbar {
  background: linear-gradient(180deg, #ffffff, #fff7ed);
}
.table th {
  color: #6b4a25;
  background: #fff7ed;
}
.table tr:hover td { background: #fffbeb; }
input:focus,
select:focus,
textarea:focus {
  border-color: #0ea5a4;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, .22);
}
.chartbar span,
.mini-progress span { background: linear-gradient(90deg, #0ea5a4, #38bdf8, #f97316); }
.login-wrap {
  background:
    radial-gradient(circle at 14% 8%, rgba(250, 204, 21, .52), transparent 24rem),
    radial-gradient(circle at 86% 16%, rgba(56, 189, 248, .42), transparent 24rem),
    radial-gradient(circle at 50% 100%, rgba(251, 113, 133, .28), transparent 26rem),
    linear-gradient(135deg, #075985 0%, #0f766e 48%, #fb923c 120%);
}
.tenant-login-card,
.user-login-card,
.tenant-register-card { border-top-color: #f97316; }
.platform-login-card { border-top-color: #38bdf8; }
.area-badge {
  color: #075985;
  background: #e0f2fe;
}
.member-card {
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, .30), transparent 18rem),
    linear-gradient(135deg, #0ea5a4, #38bdf8 52%, #f97316);
}
.qris-card,
.invoice-hero-card {
  background: linear-gradient(135deg, #ffffff, #fff7ed 55%, #ecfeff);
}
.invoice-total-box strong { color: #f97316; }
.dynamic-qris-box,
.qr-box {
  border-color: rgba(241, 217, 193, .98);
}

/* Landing khusus dibuat lebih ceria tetapi tetap futuristik. */
.landing-modern { color: #f8feff; }
.landing-hero {
  border-color: rgba(255, 255, 255, .34);
  background:
    radial-gradient(circle at 12% 12%, rgba(250, 204, 21, .34), transparent 22rem),
    radial-gradient(circle at 82% 22%, rgba(56, 189, 248, .38), transparent 24rem),
    radial-gradient(circle at 56% 104%, rgba(251, 113, 133, .28), transparent 25rem),
    linear-gradient(135deg, #073b4c 0%, #0f766e 44%, #2563eb 78%, #f97316 126%);
  box-shadow: 0 34px 110px rgba(14, 165, 164, .22), 0 28px 90px rgba(249, 115, 22, .18);
}
.landing-hero::after {
  background: radial-gradient(circle, rgba(250,204,21,.24), rgba(56,189,248,.22), transparent 64%);
}
.landing-pill {
  color: #fff7ed;
  border-color: rgba(254, 243, 199, .42);
  background: rgba(249, 115, 22, .20);
}
.btn-ghost {
  color: #fff7ed;
  border-color: rgba(254, 243, 199, .32);
  background: rgba(255, 255, 255, .12);
}
.orbit-ring { border-color: rgba(255, 255, 255, .32); }
.draw-wheel {
  background: conic-gradient(from 18deg, #0ea5a4, #38bdf8, #8b5cf6, #fb7185, #facc15, #f97316, #0ea5a4);
  box-shadow: inset 0 0 0 16px rgba(255,255,255,.90), 0 22px 48px rgba(249, 115, 22, .26);
}
.draw-wheel span {
  background: linear-gradient(135deg, #073b4c, #0ea5a4 58%, #f97316);
}
.draw-wheel::before {
  background: conic-gradient(from 0deg, rgba(250,204,21,0), rgba(250,204,21,.74), rgba(56,189,248,.54), rgba(251,113,133,0));
}
.winner-strip { background: #fff7ed; }
.winner-strip b,
.visual-topline strong { color: #0f766e; }
.visual-card-reminder b { color: #f97316; }
.fake-qr::after {
  background: rgba(249, 115, 22, .70);
  box-shadow: 0 0 14px rgba(249, 115, 22, .9);
}
.landing-feature {
  border-color: rgba(241, 217, 193, .96);
  background: linear-gradient(180deg, rgba(255,255,255,.98), #fffaf0);
}
.landing-feature span {
  color: #7c2d12;
  background: linear-gradient(135deg, #fef3c7, #ccfbf1);
}
.landing-status-backdrop {
  background:
    radial-gradient(circle at 18% 10%, rgba(250, 204, 21, .28), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(56, 189, 248, .24), transparent 24rem),
    rgba(7, 59, 76, .72);
}

/* ===== Clean Futuristic Professional Theme v1.17.5 =====
   Tema dibuat lebih clean, tegas, modern, dan futuristik.
   Palet ceria v1.17.4 diganti menjadi navy, slate, cyan, dan blue agar aplikasi terasa lebih profesional. */
:root {
  --bg: #eef3f8;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #07111f;
  --muted: #5b6b80;
  --muted-2: #8a99aa;
  --border: #d7e0ea;
  --border-strong: #aebccd;
  --primary: #0f766e;
  --primary-strong: #0a4f4b;
  --primary-soft: #ccfbf1;
  --primary-faint: #f0fdfa;
  --primary-2: #2563eb;
  --accent-cyan: #22d3ee;
  --accent-blue: #2563eb;
  --accent-ink: #020617;
  --shadow-xs: 0 1px 2px rgba(2, 6, 23, .06);
  --shadow-sm: 0 12px 32px rgba(2, 6, 23, .075);
  --shadow: 0 24px 70px rgba(2, 6, 23, .13);
}
body {
  background:
    radial-gradient(circle at 12% 6%, rgba(34, 211, 238, .14), transparent 24rem),
    radial-gradient(circle at 92% 10%, rgba(37, 99, 235, .12), transparent 26rem),
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 58%, #e6edf5 100%);
}
.sidebar {
  background:
    linear-gradient(180deg, rgba(34, 211, 238, .10), transparent 18rem),
    linear-gradient(180deg, #020617 0%, #0f172a 58%, #0f766e 145%);
  box-shadow: 20px 0 70px rgba(2, 6, 23, .24);
}
.platform-area {
  --primary: #2563eb;
  --primary-strong: #1e40af;
  --primary-soft: #dbeafe;
  --primary-faint: #eff6ff;
  --primary-2: #22d3ee;
}
.platform-shell .sidebar,
.sidebar-platform {
  background:
    linear-gradient(180deg, rgba(34, 211, 238, .12), transparent 18rem),
    linear-gradient(180deg, #020617 0%, #0f172a 55%, #1e3a8a 140%);
}
.brand-icon,
.platform-area .brand-icon,
.platform-shell .brand-icon {
  background: linear-gradient(135deg, #0f766e 0%, #22d3ee 48%, #2563eb 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 12px 32px rgba(34, 211, 238, .16);
}
.topbar,
.card,
.login-card,
.member-card,
.payment-receipt,
.verify-card,
.table-card,
.searchbar {
  border-color: rgba(215, 224, 234, .98);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-sm);
}
.topbar {
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(18px);
}
.breadcrumb-lite,
.visual-topline strong,
.winner-strip b { color: var(--primary-strong); }
.stat::after {
  background: linear-gradient(135deg, rgba(34, 211, 238, .20), rgba(37, 99, 235, .14));
}
.btn {
  background: linear-gradient(135deg, #0f766e 0%, #0891b2 48%, #2563eb 100%);
  box-shadow: 0 14px 30px rgba(8, 145, 178, .16), 0 10px 24px rgba(37, 99, 235, .12);
}
.btn:hover {
  box-shadow: 0 16px 34px rgba(8, 145, 178, .22), 0 14px 30px rgba(37, 99, 235, .16);
}
.btn-light {
  color: #0f172a;
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 8px 20px rgba(2, 6, 23, .045);
}
.btn-danger { background: linear-gradient(135deg, #dc2626, #be123c); }
.badge { background: #e2e8f0; color: #334155; }
.badge-success { color: #065f46; background: #d1fae5; }
.badge-danger { color: #9f1239; background: #ffe4e6; }
.badge-warning { color: #854d0e; background: #fef3c7; }
.badge-info { color: #075985; background: #e0f2fe; }
.table-toolbar { background: linear-gradient(180deg, #ffffff, #f8fafc); }
.table th {
  color: #334155;
  background: #f1f5f9;
}
.table tr:hover td { background: #f8fafc; }
input:focus,
select:focus,
textarea:focus {
  border-color: #0891b2;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .18);
}
.chartbar span,
.mini-progress span { background: linear-gradient(90deg, #0f766e, #22d3ee, #2563eb); }
.login-wrap {
  background:
    radial-gradient(circle at 12% 8%, rgba(34, 211, 238, .20), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, .18), transparent 25rem),
    linear-gradient(135deg, #020617 0%, #0f172a 50%, #0f766e 140%);
}
.tenant-login-card,
.user-login-card,
.tenant-register-card,
.platform-login-card { border-top-color: #22d3ee; }
.area-badge { color: #0f172a; background: #e0f2fe; }
.member-card {
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, .22), transparent 18rem),
    linear-gradient(135deg, #020617, #0f766e 55%, #2563eb);
}
.qris-card,
.invoice-hero-card { background: linear-gradient(135deg, #ffffff, #f8fafc 58%, #ecfeff); }
.invoice-total-box strong { color: #0f766e; }
.dynamic-qris-box,
.qr-box { border-color: var(--border); }

/* Landing v1.17.5: clean, tegas, futuristik */
.landing-modern { color: #f8fafc; }
.landing-hero {
  border-color: rgba(148, 163, 184, .28);
  background:
    radial-gradient(circle at 16% 12%, rgba(34, 211, 238, .22), transparent 24rem),
    radial-gradient(circle at 86% 24%, rgba(37, 99, 235, .24), transparent 26rem),
    linear-gradient(135deg, #020617 0%, #0f172a 52%, #0f766e 132%);
  box-shadow: 0 34px 110px rgba(2, 6, 23, .34);
}
.landing-hero::before {
  opacity: .86;
  background-image:
    linear-gradient(rgba(148,163,184,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.055) 1px, transparent 1px);
}
.landing-hero::after {
  background: radial-gradient(circle, rgba(34,211,238,.22), rgba(37,99,235,.14), transparent 66%);
}
.landing-pill {
  color: #a7f3d0;
  border-color: rgba(34, 211, 238, .34);
  background: rgba(15, 118, 110, .18);
}
.btn-ghost {
  color: #e0f2fe;
  border-color: rgba(186, 230, 253, .26);
  background: rgba(15, 23, 42, .22);
}
.landing-trust span {
  color: rgba(226,232,240,.84);
  border-color: rgba(148,163,184,.20);
  background: rgba(15,23,42,.20);
}
.orbit-ring { border-color: rgba(125, 211, 252, .26); }
.visual-card {
  border-color: rgba(226,232,240,.76);
  background: rgba(255,255,255,.94);
  box-shadow: 0 22px 58px rgba(2, 6, 23, .28);
}
.draw-wheel {
  background: conic-gradient(from 18deg, #0f766e, #0891b2, #2563eb, #0f766e);
  box-shadow: inset 0 0 0 16px rgba(255,255,255,.92), 0 22px 48px rgba(8, 145, 178, .24);
}
.draw-wheel span { background: linear-gradient(135deg, #020617, #0f172a 48%, #0f766e); }
.draw-wheel::before { background: conic-gradient(from 0deg, rgba(34,211,238,0), rgba(34,211,238,.64), rgba(37,99,235,.42), rgba(34,211,238,0)); }
.winner-strip { background: #f0fdfa; }
.visual-card-reminder b { color: #2563eb; }
.fake-qr::after {
  background: rgba(34, 211, 238, .72);
  box-shadow: 0 0 14px rgba(34, 211, 238, .9);
}
.landing-feature {
  border-color: rgba(215, 224, 234, .98);
  background: rgba(255,255,255,.96);
}
.landing-feature span {
  color: #0f766e;
  background: #ccfbf1;
}
.landing-feature h2 { color: #07111f; }
.landing-feature p { color: #5b6b80; }
.landing-status-backdrop {
  background:
    radial-gradient(circle at 18% 10%, rgba(34, 211, 238, .20), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(37, 99, 235, .18), transparent 24rem),
    rgba(2, 6, 23, .76);
}

/* ===== v1.17.7: tabel pendaftaran tenant minimalis dan presisi ===== */
.registration-table-card {
  overflow: hidden;
  border-radius: 24px;
}
.registration-table-card .table-toolbar {
  padding: 15px 18px;
  background: var(--surface);
}
.registration-table-card .table-toolbar > div {
  display: grid;
  gap: 3px;
}
.registration-table-card .table-toolbar strong,
.registration-table-card .table-toolbar span {
  display: block;
}
.registration-table {
  min-width: 1120px;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}
.registration-table .col-tenant { width: 15%; }
.registration-table .col-invoice { width: 16%; }
.registration-table .col-owner { width: 16%; }
.registration-table .col-member { width: 8%; }
.registration-table .col-amount { width: 10%; }
.registration-table .col-payment { width: 12%; }
.registration-table .col-status { width: 12%; }
.registration-table .col-action { width: 11%; }
.registration-table th {
  padding: 13px 18px;
  color: #334155;
  background: #f6f9fc;
  border-bottom: 1px solid var(--border);
}
.registration-table td {
  height: 76px;
  padding: 14px 18px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.registration-table tr:hover td { background: #fbfdff; }
.tenant-cell strong,
.owner-cell strong,
.invoice-number,
.amount-cell strong,
.member-cell strong {
  display: block;
  color: var(--text);
  font-weight: 850;
  line-height: 1.25;
}
.tenant-path,
.owner-email,
.due-date,
.proof-link,
.member-cell .muted {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.25;
}
.invoice-number {
  max-width: 150px;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.amount-cell,
.member-cell,
.status-cell {
  white-space: nowrap;
}
.amount-cell strong {
  width: max-content;
}
.registration-table td.registration-actions {
  display: table-cell !important;
  min-width: 0 !important;
  white-space: nowrap;
  text-align: left;
  vertical-align: middle;
}
.registration-actions > a,
.registration-actions > form {
  display: inline-flex !important;
  margin: 0 7px 0 0 !important;
  vertical-align: middle;
}
.registration-actions .btn-icon {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: 13px;
  box-shadow: none;
}
.registration-actions .btn-icon svg {
  width: 17px;
  height: 17px;
}
.proof-link {
  width: max-content;
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.proof-link:hover { text-decoration: underline; }
.dot-separator { margin: 0 4px; color: var(--muted-2); }

@media (max-width: 720px) {
  .registration-table {
    min-width: 0;
    table-layout: auto;
    border-collapse: separate;
  }
  .registration-table td {
    height: auto;
    white-space: normal;
  }
  .registration-table .amount-cell,
  .registration-table .member-cell,
  .registration-table .status-cell {
    white-space: normal;
  }
  .registration-table td.registration-actions {
    display: grid !important;
    gap: 8px;
  }
  .registration-actions > a,
  .registration-actions > form {
    margin: 0 !important;
  }
}
