@font-face {
  font-family: 'Jakarta';
  src: url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --ink: #1d2721;
  --ink-soft: #4a524c;
  --muted: #7c8079;
  --line: #e3dccd;
  --forest: #1f4d3c;
  --forest-deep: #163a2d;
  --leaf: #d8e8d2;
  --tangerine: #ef6a3a;
  --tangerine-dark: #d4552a;
  --danger: #b4371f;
  --radius: 14px;
  --font: 'Jakarta', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
}
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--tangerine-dark); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.logo svg { width: 28px; height: 28px; flex: none; }
.logo b { color: var(--tangerine); font-weight: 800; }
.logo:hover { color: var(--ink); }

/* ---------- Tombol & input ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--tangerine); color: #fff; }
.btn-primary:hover { background: var(--tangerine-dark); color: #fff; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--forest); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: wait; }

.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field small { color: var(--muted); font-weight: 500; }
.field input {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(31, 77, 60, .12); }

.alert {
  display: none;
  padding: 11px 14px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #fbe6df;
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
}
.alert.show { display: block; }

/* ---------- Halaman daftar / masuk ---------- */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.auth-form {
  display: flex;
  flex-direction: column;
  padding: 32px clamp(20px, 6vw, 72px);
}
.auth-form .inner { width: 100%; max-width: 400px; margin: auto 0; padding-block: 40px; }
.auth-form h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 10px; }
.auth-form .lead { color: var(--ink-soft); margin: 0 0 30px; }
.auth-form .btn { width: 100%; margin-top: 6px; }
.auth-form .switch { margin-top: 22px; color: var(--ink-soft); font-size: 15px; }

.auth-side {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--paper);
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-side::before {
  /* pola titik halus, biar panel tidak polos */
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.auth-side > * { position: relative; }
.auth-side .caption { max-width: 380px; margin-top: 34px; font-size: 18px; line-height: 1.5; color: #e8efe9; }
.auth-side .caption strong { color: #fff; }

/* ---------- Simulasi percakapan ---------- */
.convo {
  width: 100%;
  max-width: 400px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.convo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.convo-head .avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--forest);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.convo-head b { display: block; }
.convo-head small { color: #2f8a5b; font-weight: 600; }
.convo-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #fbf8f1; }

.bubble {
  max-width: 82%;
  padding: 10px 13px;
  font-size: 14.5px;
  line-height: 1.45;
  border-radius: 16px;
  opacity: 0;
  animation: pop .35s ease forwards;
}
.bubble time { display: block; margin-top: 3px; font-size: 11px; opacity: .6; }
.bubble.them { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.us { align-self: flex-end; background: var(--forest); color: #fff; border-bottom-right-radius: 4px; }
.bubble:nth-child(1) { animation-delay: .2s; }
.bubble:nth-child(2) { animation-delay: 1.1s; }
.bubble:nth-child(3) { animation-delay: 2.1s; }
.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px;
  opacity: 0;
  animation: pop .35s ease 2.9s forwards;
}
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }

@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .bubble, .typing { animation: none; opacity: 1; }
  .typing i { animation: none; }
}

@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { order: -1; padding-block: 36px; align-items: center; }
  .auth-side .caption { display: none; }
  .convo { transform: none; }
  .auth-form .inner { margin: 0 auto; padding-block: 8px 24px; }
}

/* ---------- Dashboard ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(246, 241, 231, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .who { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-soft); }
.topbar .who strong { color: var(--ink); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 36px clamp(16px, 4vw, 40px) 64px; }
.greet { font-size: clamp(26px, 4vw, 34px); margin-bottom: 6px; }
.greet-sub { color: var(--ink-soft); margin: 0 0 30px; }

.grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h2 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--ink-soft); margin: 0 0 16px; font-size: 15px; }
.card.span { grid-column: 1 / -1; }

.step { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tangerine-dark); margin-bottom: 8px; }

.snippet {
  position: relative;
  background: var(--ink);
  color: #d9e4dc;
  border-radius: 10px;
  padding: 16px 16px 16px 16px;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
}
.snippet .tag { color: #f4a37f; }
.snippet .attr { color: #a8d5ba; }
.copy-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.copy-row small { color: var(--muted); }

.plan-name { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 2px 0 12px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 18px; font-size: 14.5px; color: var(--ink-soft); }
.plan-list li { padding: 5px 0 5px 24px; position: relative; }
.plan-list li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 10px; height: 6px; border-left: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(-45deg); }
.plan-list li.no { color: var(--muted); }
.plan-list li.no::before { border: 0; height: 2px; top: 13px; background: var(--muted); transform: none; }

.empty {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 0;
}
.empty svg { width: 76px; height: 76px; flex: none; }
.empty p { margin: 0; }

.skeleton { color: transparent; background: var(--line); border-radius: 6px; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: left; }
.lost .inner { max-width: 440px; }
.lost h1 { font-size: clamp(32px, 6vw, 46px); margin: 18px 0 10px; }
.lost p { color: var(--ink-soft); margin: 0 0 26px; }

@media (max-width: 860px) {
  .auth-side.hide-mobile { display: none; }
}

/* ---------- App shell (dashboard) ---------- */
.app { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
.app .topbar { position: static; flex-wrap: wrap; row-gap: 8px; }
.tabs { display: flex; gap: 4px; background: #ece5d6; padding: 4px; border-radius: 999px; }
.tabs a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.tabs a:hover { color: var(--ink); }
.tabs a.active { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.tabs .count {
  display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px;
  border-radius: 9px; background: var(--tangerine); color: #fff; font-size: 11px; line-height: 18px; text-align: center;
}
.tabs .count:empty { display: none; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #c9c3b6; }
.live.on { color: #2f8a5b; }
.live.on::before { background: #2f8a5b; box-shadow: 0 0 0 3px rgba(47,138,91,.18); }
.view { flex: 1; min-height: 0; overflow-y: auto; }
.view[hidden] { display: none; }

/* ---------- Kotak masuk ---------- */
.inbox { display: grid; grid-template-columns: 340px minmax(0, 1fr); overflow: hidden; }
.convlist { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: var(--cream); }
.convlist-head { padding: 16px 16px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.convlist-head h2 { font-size: 18px; }
.seg { display: flex; gap: 2px; background: #ece5d6; padding: 3px; border-radius: 9px; }
.seg button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-soft); padding: 5px 10px; border-radius: 7px; cursor: pointer; }
.seg button.active { background: var(--paper); color: var(--ink); }
.convs { list-style: none; margin: 0; padding: 0 8px 12px; overflow-y: auto; flex: 1; }
.conv {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center;
  padding: 11px 10px; border-radius: 12px; cursor: pointer;
}
.conv:hover { background: #efe8da; }
.conv.active { background: var(--paper); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.conv .av {
  grid-row: span 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--forest); background: var(--leaf);
}
.conv .nm { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv .tm { font-size: 12px; color: var(--muted); }
.conv .pv { font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv .pv.typing-now { color: #2f8a5b; font-style: italic; }
.conv .un { justify-self: end; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--tangerine); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.conv.unread .nm, .conv.unread .pv { color: var(--ink); font-weight: 700; }
.list-empty { padding: 28px 20px; color: var(--ink-soft); font-size: 14.5px; }
.list-empty svg { width: 64px; height: 64px; display: block; margin-bottom: 12px; }

.thread { display: flex; flex-direction: column; min-height: 0; background: #fbf8f1; }
.thread-empty { margin: auto; text-align: center; color: var(--muted); padding: 24px; max-width: 320px; }
.thread-main { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.thread-main[hidden] { display: none; }
.thread-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.thread-head .info { flex: 1; min-width: 0; }
.thread-head b { display: block; font-size: 15.5px; }
.thread-head small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-head small a { color: var(--ink-soft); }
.back { display: none; border: 0; background: none; font-size: 22px; line-height: 1; padding: 4px 8px 4px 0; cursor: pointer; color: var(--ink); }
.thread-log { flex: 1; overflow-y: auto; padding: 20px clamp(14px, 3vw, 32px); display: flex; flex-direction: column; gap: 8px; }
.day { align-self: center; font-size: 12px; font-weight: 600; color: var(--muted); background: #efe8da; padding: 3px 10px; border-radius: 999px; margin: 8px 0; }
.m { max-width: min(72%, 560px); padding: 9px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.m time { display: block; font-size: 11px; opacity: .6; margin-top: 2px; }
.m.visitor { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.m.agent { align-self: flex-end; background: var(--forest); color: #fff; border-bottom-right-radius: 4px; }
.m.agent .by { display: block; font-size: 11.5px; font-weight: 700; opacity: .75; }
.thread-log .typing { display: none; }
.thread-log .typing.show { display: inline-flex; opacity: 1; animation: none; }
.thread-compose { display: flex; align-items: flex-end; gap: 10px; padding: 12px 16px; background: var(--paper); border-top: 1px solid var(--line); }
.thread-compose textarea {
  flex: 1; resize: none; font: inherit; font-size: 15px; padding: 10px 14px; max-height: 140px;
  border: 1.5px solid var(--line); border-radius: 12px; outline: none; background: #fff; color: var(--ink);
}
.thread-compose textarea:focus { border-color: var(--forest); }
.thread-compose .hint { font-size: 12px; color: var(--muted); }
.closed-note { text-align: center; font-size: 13px; color: var(--muted); padding: 6px; }

@media (max-width: 760px) {
  .inbox { grid-template-columns: 1fr; }
  .inbox.show-thread .convlist { display: none; }
  .inbox:not(.show-thread) .thread { display: none; }
  .back { display: block; }
  .app .topbar .who .biz { display: none; }
  .tabs { order: 3; width: 100%; justify-content: space-between; }
  .tabs a { flex: 1; text-align: center; padding: 7px 8px; }
}

/* ---------- Pengaturan widget ---------- */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.swatch { width: 34px; height: 34px; border-radius: 10px 10px 3px 10px; border: 2px solid transparent; cursor: pointer; padding: 0; outline-offset: 2px; }
.swatch.active { outline: 2.5px solid var(--ink); }
.swatch-custom { position: relative; overflow: hidden; background: conic-gradient(#ef6a3a, #e2b93b, #1f4d3c, #2a6f97, #8a3f6b, #ef6a3a); }
.swatch-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.field textarea { width: 100%; padding: 12px 15px; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; outline: none; resize: vertical; min-height: 70px; }
.field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(31, 77, 60, .12); }
.preview { position: relative; min-height: 230px; border-radius: 12px; background: repeating-linear-gradient(45deg, #f1ebdf, #f1ebdf 10px, #f6f1e7 10px, #f6f1e7 20px); padding: 18px; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 12px; }
.preview .pv-bubble { max-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 10px 13px; font-size: 14px; align-self: flex-end; margin-right: 8px; }
.preview .pv-launch { width: 54px; height: 54px; border-radius: 20px 20px 6px 20px; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); }
.preview .pv-launch svg { width: 26px; height: 26px; }
.saved { color: #2f8a5b; font-size: 14px; font-weight: 600; }
.notice { background: var(--leaf); color: var(--forest-deep); padding: 12px 16px; border-radius: 12px; font-size: 14.5px; margin-bottom: 20px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* ---------- Tim ---------- */
.admin-link { font-size: 13px; font-weight: 700; color: var(--tangerine-dark); text-decoration: none; padding: 4px 10px; border: 1.5px dashed var(--tangerine); border-radius: 999px; }
.members { list-style: none; margin: 0; padding: 0; }
.member { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #efe8da; }
.member:last-child { border-bottom: 0; }
.member .av { width: 38px; height: 38px; border-radius: 50%; background: var(--leaf); color: var(--forest); display: grid; place-items: center; font-weight: 800; flex: none; }
.member .av.ghost { background: #efe8da; color: var(--ink-soft); font-weight: 400; }
.member .info { flex: 1; min-width: 0; }
.member .info b { display: block; font-size: 15px; }
.member .info small { color: var(--muted); font-size: 13px; }
.invites { margin-top: 18px; }
.list-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; }
.invite-result { margin-top: 14px; }
.invite-result .snippet { white-space: normal; word-break: break-all; }
.muted { color: var(--muted); display: block; margin-top: 10px; }

/* ---------- Paket ---------- */
.order-box { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; background: #fff4ec; border: 1.5px solid #f6c7ae; border-radius: var(--radius); padding: 20px 24px; margin-bottom: 26px; }
.order-box h2 { font-size: 18px; margin: 2px 0 6px; }
.order-box p { margin: 0; color: var(--ink-soft); font-size: 15px; max-width: 620px; }
.cycle { display: inline-flex; margin-bottom: 18px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--forest); box-shadow: 0 18px 40px -24px rgba(31,77,60,.6); }
.plan.current::after { content: 'Paket kamu'; position: absolute; top: 18px; right: 18px; font-size: 11.5px; font-weight: 700; color: var(--forest); background: var(--leaf); padding: 3px 9px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.ribbon { position: absolute; top: -12px; left: 22px; background: var(--forest); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price { margin: 10px 0 16px; }
.price b { font-size: 30px; letter-spacing: -0.03em; }
.price span { color: var(--muted); font-size: 14px; }
.plan .plan-list { flex: 1; }
.plan .btn { width: 100%; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 10px; border-bottom: 1px solid #efe8da; vertical-align: middle; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #efe8da; color: var(--ink-soft); white-space: nowrap; }
.tag.pending { background: #fff0e6; color: var(--tangerine-dark); }
.tag.paid { background: var(--leaf); color: var(--forest); }
.tag.pro { background: var(--leaf); color: var(--forest); }
.tag.business { background: var(--forest); color: #fff; }

/* ---------- Admin ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.stat b { font-size: 26px; letter-spacing: -0.03em; }
.wrap > .card + .card { margin-top: 20px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.search { padding: 9px 13px; font: inherit; font-size: 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; width: 260px; max-width: 100%; }
.actions { white-space: nowrap; }
.actions .btn { margin-left: 4px; }
select.mini { font: inherit; font-size: 13px; padding: 6px 8px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }

/* .tag dipakai untuk label status; di dalam blok kode kembalikan jadi pewarnaan biasa */
.snippet .tag { display: inline; padding: 0; border-radius: 0; background: none; font-size: inherit; font-weight: inherit; white-space: inherit; color: #f4a37f; }
.wrap.wide { max-width: 1280px; }

/* ---------- Pembayaran QRIS ---------- */
.order-main { flex: 1; min-width: 0; }
.qr-wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.qr { width: 220px; height: 220px; background: #fff; border-radius: 14px; padding: 10px; border: 1px solid var(--line); flex: none; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-info { display: flex; flex-direction: column; gap: 6px; max-width: 360px; font-size: 14.5px; color: var(--ink-soft); }
.qr-info b { color: var(--ink); font-size: 16px; }
.qr-timer { font-weight: 700; color: var(--tangerine-dark); font-variant-numeric: tabular-nums; }
.qr-wait { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.qr-wait i { width: 10px; height: 10px; border-radius: 50%; background: #2f8a5b; animation: blink 1.2s infinite; flex: none; }
.qr-expired p { margin: 12px 0 10px; }
.paid-box { background: var(--leaf); color: var(--forest-deep); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 2px; }
.paid-box b { font-size: 17px; }
.test-pay { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border: 1.5px dashed var(--tangerine); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 22px; background: var(--paper); }
.test-pay b { display: block; }
.test-pay span { color: var(--ink-soft); font-size: 14.5px; }
