@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Inter:wght@400;500;600;700&display=swap');

/* =====================================================================
   Halaman Pesan (dashboard/register.php)
   Warna & font mengikuti landing page Pixel Memori, termasuk tema gelap
   (disimpan di localStorage 'pixelmemori_theme').
   ===================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f4;
  --panel: #ffffff;
  --ink: #211c17;
  --muted: #79726a;
  --accent-1: #b8763f;
  --accent-2: #8c3f52;
  --gold: #c9a24b;
  --line: #e7e3dd;
  --shadow: rgba(30, 25, 20, 0.10);

  --on-accent: #ffffff;
  --btn-grad: linear-gradient(120deg, #8c3f52, #a85a6c);
  --btn-shadow: rgba(140, 63, 82, 0.38);
  --sel-ring: rgba(140, 63, 82, 0.16);
  --sel-bg: rgba(140, 63, 82, 0.05);
  --head-bg: rgba(255, 255, 255, 0.88);
  --ok: #2f7a44;
  --ok-bg: #e7f4e5;
  --bad: #b3342f;
  --bad-bg: #fbeaea;
}

html[data-theme="dark"] {
  --bg: #0c0c0c;
  --bg-alt: #121110;
  --panel: #171513;
  --ink: #f3ead9;
  --muted: #a89983;
  --accent-1: #d4af37;
  --accent-2: #e8c164;
  --gold: #d4af37;
  --line: #2b2620;
  --shadow: rgba(0, 0, 0, 0.55);

  --on-accent: #14110a;
  --btn-grad: linear-gradient(120deg, #d4af37, #a9822a);
  --btn-shadow: rgba(212, 175, 55, 0.3);
  --sel-ring: rgba(212, 175, 55, 0.22);
  --sel-bg: rgba(212, 175, 55, 0.07);
  --head-bg: rgba(12, 12, 12, 0.88);
  --ok: #7fd091;
  --ok-bg: rgba(60, 160, 90, 0.16);
  --bad: #ff9c94;
  --bad-bg: rgba(220, 80, 70, 0.14);
}

* { box-sizing: border-box; }

body.order-page {
  margin: 0;
  background: var(--bg-alt);
  color: var(--ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.order-page a { color: var(--accent-2); }
.order-page h1, .order-page h2, .order-page h3 { font-family: 'Playfair Display', Georgia, serif; margin: 0; color: var(--ink); }
.sr { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.o-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 60px; padding: 0 20px;
  background: var(--head-bg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.o-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.o-brand img { height: 32px; width: auto; display: block; }
.o-brand span { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 700; font-size: 18px; color: var(--ink); white-space: nowrap; }
.o-header-right { display: flex; align-items: center; gap: 6px; }
.o-link {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px;
  color: var(--ink) !important; text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap;
}
.o-link:hover { background: var(--bg-alt); }
.o-link svg { width: 16px; height: 16px; flex: 0 0 auto; }
.o-wa svg { color: #1fa855; }
.o-theme {
  width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer;
  border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink);
}
.o-theme:hover { border-color: var(--gold); }
.o-theme svg { width: 17px; height: 17px; }
.o-theme .i-sun { display: none; }
html[data-theme="dark"] .o-theme .i-sun { display: block; }
html[data-theme="dark"] .o-theme .i-moon { display: none; }
@media (max-width: 639px) { .o-link span { display: none; } .o-link { padding: 8px; } .o-brand span { font-size: 16px; } }
@media (min-width: 640px) { .o-header { padding: 0 40px; } }

/* ---------- Hero + penunjuk langkah ---------- */
.o-main { max-width: 1180px; margin: 0 auto; padding: 30px 20px 120px; }
@media (min-width: 1000px) { .o-main { padding: 44px 40px 90px; } }
.o-hero { max-width: 720px; margin-bottom: 30px; }
.o-hero h1 { font-size: clamp(30px, 6vw, 48px); line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
.o-hero h1 em { font-style: italic; font-weight: 600; color: var(--accent-2); }
.o-hero p { margin: 14px 0 0; max-width: 560px; color: var(--muted); font-size: 15px; }

.track { list-style: none; display: flex; align-items: center; margin: 26px 0 0; padding: 0; max-width: 560px; }
.track li { display: flex; align-items: center; }
.track li:not(:last-child) { flex: 1; }
.track li:not(:last-child)::after { content: ''; flex: 1; height: 2px; margin: 0 12px; background: var(--line); border-radius: 2px; }
.track a { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--muted) !important; }
.track b {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); background: var(--panel); font-size: 12px; font-weight: 700; transition: background .15s, color .15s, border-color .15s;
}
.track b svg { width: 14px; height: 14px; display: none; }
.track span { font-size: 13px; font-weight: 600; line-height: 1.15; }
.track small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.track li.done b { background: var(--accent-2); border-color: var(--accent-2); color: var(--on-accent); }
.track li.done b i { display: none; }
.track li.done b svg { display: block; }
.track li.done a { color: var(--ink) !important; }
.track li.done::after { background: var(--accent-2); }
@media (max-width: 479px) { .track small { display: none; } .track li:not(:last-child)::after { margin: 0 8px; } }

.o-alert {
  margin: 0 0 22px; padding: 12px 16px; border-radius: 12px;
  background: var(--bad-bg); color: var(--bad); border: 1px solid currentColor; font-size: 14px; font-weight: 500;
}

/* ---------- Tata letak ---------- */
.o-grid { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) {
  .o-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .82fr); gap: 36px; }
  .o-nota { position: sticky; top: 84px; }
}

/* ---------- Langkah (garis waktu di kiri) ---------- */
.step { position: relative; margin-bottom: 30px; scroll-margin-top: 80px; }
.step-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.step-no {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 17px;
}
.step-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.step-title h2 { font-size: 22px; line-height: 1.2; }
.step-tag {
  padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel);
  font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.step-sub { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
@media (min-width: 640px) {
  .step { padding-left: 58px; }
  .step-no { position: absolute; left: 0; top: 0; width: 40px; height: 40px; }
  .step::before { content: ''; position: absolute; left: 19px; top: 48px; bottom: -30px; width: 2px; background: var(--line); }
  .step:last-child::before { display: none; }
  .step-head { min-height: 40px; align-items: center; margin-bottom: 14px; }
}
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
@media (min-width: 640px) { .panel { padding: 22px; } }
.nudge .panel { animation: nudge 1.1s ease 1; }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 35% { box-shadow: 0 0 0 6px var(--sel-ring); border-color: var(--accent-2); } }

/* ---------- 1. Desain ---------- */
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 5px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); }
.seg-opt { display: block; position: relative; cursor: pointer; }
.seg-card { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 4px; border-radius: 10px; text-align: center; transition: background .15s, box-shadow .15s; }
.seg-opt:hover .seg-card { background: var(--panel); }
.seg-name { font-weight: 700; font-size: 14px; }
.seg-price { font-size: 12px; color: var(--muted); }
.seg-price s { margin-right: 4px; }
.seg-price b { color: var(--accent-2); font-weight: 700; }
.seg input:checked + .seg-card, .seg-opt input:checked + .seg-card { background: var(--panel); box-shadow: 0 1px 3px var(--shadow), 0 0 0 1.5px var(--accent-2); }
.seg-opt input:focus-visible + .seg-card { outline: 2px solid var(--accent-2); outline-offset: 2px; }
@media (max-width: 420px) { .seg-price s { display: none; } }
.seg-note { margin: 12px 2px 14px; font-size: 13px; color: var(--muted); }

.tile-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { position: relative; display: block; cursor: pointer; }
.tile-card {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px;
  border: 2px solid transparent; background-clip: padding-box; transition: border-color .15s, box-shadow .15s, transform .15s;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.3), transparent 55%), linear-gradient(155deg, var(--accent-1), #8c3f52);
}
.tile:nth-child(5n+2) .tile-card { background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.3), transparent 55%), linear-gradient(155deg, #93A67F, #5f6f4c); }
.tile:nth-child(5n+3) .tile-card { background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.3), transparent 55%), linear-gradient(155deg, #c9a24b, #a97c34); }
.tile:nth-child(5n+4) .tile-card { background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.3), transparent 55%), linear-gradient(155deg, #c78a9a, #8c3f52); }
.tile:nth-child(5n+5) .tile-card { background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.3), transparent 55%), linear-gradient(155deg, #8a93a6, #4c5a6f); }
/* Aturan nth-child di atas memakai shorthand 'background' (mereset clip) dan lebih spesifik; tegaskan lagi di sini. */
.tile:nth-child(n) .tile-card { background-clip: padding-box; }
.tile:hover .tile-card { transform: translateY(-2px); }
.tile input:checked + .tile-card { border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--sel-ring); }
.tile input:focus-visible + .tile-card { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.tile-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.tile-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Playfair Display', Georgia, serif; font-size: 56px; font-weight: 700; color: rgba(255,255,255,.88); text-shadow: 0 2px 14px rgba(0,0,0,.25); }
.tile-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,8,6,.78) 0%, rgba(10,8,6,.3) 36%, transparent 58%); }
.tile-meta { position: absolute; left: 12px; right: 12px; bottom: 11px; color: #fff; }
.tile-kicker { display: block; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.tile-name { display: block; margin-top: 1px; font-family: 'Playfair Display', Georgia, serif; font-size: 15px; font-weight: 600; line-height: 1.2; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.tile-view {
  position: absolute; top: 8px; left: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: #211c17 !important; font-size: 11px; font-weight: 700; text-decoration: none;
}
.tile-view svg { width: 11px; height: 11px; }
.tile-check {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,.28); color: transparent; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: background .15s, color .15s, transform .15s;
}
.tile-check svg { width: 14px; height: 14px; }
.tile:hover .tile-check { background: rgba(0,0,0,.4); }
.tile input:checked + .tile-card .tile-check { background: var(--accent-2); color: var(--on-accent); transform: scale(1.08); }
.more-btn {
  display: block; margin: 16px auto 0; padding: 10px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600;
}
.more-btn:hover { border-color: var(--gold); }

/* ---------- 2. Fitur tambahan ---------- */
.addons { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) {
  .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Jumlah add-on ganjil: kartu terakhir melebar penuh supaya tidak ada celah kosong. */
  .addons > .addon:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.addon { display: block; position: relative; cursor: pointer; }
.addon-card {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.addon:hover .addon-card { border-color: var(--gold); }
.addon input:checked + .addon-card { border-color: var(--accent-2); background: var(--sel-bg); box-shadow: 0 0 0 3px var(--sel-ring); }
.addon input:focus-visible + .addon-card { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.addon-top { display: flex; align-items: center; justify-content: space-between; }
.addon-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--sel-bg); color: var(--accent-2); }
.addon-ico svg { width: 20px; height: 20px; }
.addon-switch { position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--line); transition: background .15s; }
.addon-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s; }
.addon input:checked + .addon-card .addon-switch { background: var(--accent-2); }
.addon input:checked + .addon-card .addon-switch::after { transform: translateX(18px); }
.addon-name { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 700; line-height: 1.2; }
.addon-desc { display: block; font-size: 13px; color: var(--muted); }
.addon-points { display: grid; gap: 6px; margin-top: 2px; font-size: 12.5px; }
.addon-points > span { display: flex; gap: 7px; align-items: flex-start; }
.addon-points svg { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 3px; color: var(--accent-2); }
.addon-price { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.addon-price s { font-size: 12px; color: var(--muted); }
.addon-price b { font-family: 'Playfair Display', Georgia, serif; font-size: 21px; color: var(--accent-2); }
.chip { font-style: normal; padding: 2px 8px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 10.5px; font-weight: 700; }

/* ---------- 3. Data ---------- */
.field-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field-wide { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.field label em { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 14.5px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--muted); opacity: .7; }
.field input:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--sel-ring); }
.field input[readonly] { background: var(--bg-alt); cursor: not-allowed; }
#fRef:not(:placeholder-shown) { text-transform: uppercase; }
.field small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }

/* ---------- Nota ---------- */
.nota-card {
  position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -24px var(--shadow);
}
.nota-in { padding: 22px; }
.nota-head { display: flex; align-items: center; gap: 10px; }
.nota-head svg { width: 20px; height: 20px; color: var(--accent-2); }
.nota-head h2 { font-size: 22px; }
.nota-sub { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.nota-design { margin-top: 16px; }
.sum-empty { padding: 14px; border: 1px dashed var(--line); border-radius: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.sum-design { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); }
.sum-thumb {
  position: relative; flex: 0 0 auto; width: 48px; height: 64px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--accent-1), #8c3f52); color: rgba(255,255,255,.92); font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 18px;
}
.sum-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.sum-design-text { min-width: 0; }
.sum-design-text b { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 16px; line-height: 1.25; }
.sum-design-text small { display: block; font-size: 12px; color: var(--muted); }

.nota-lines { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.nota-lines li { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; font-size: 14px; }
.nota-lines li > span { min-width: 0; }
.nota-lines b { display: block; font-weight: 600; }
.nota-lines small { display: block; font-size: 12px; color: var(--muted); }
.nota-lines em { font-style: normal; font-weight: 600; text-align: right; white-space: nowrap; }
.nota-lines em s { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.nota-save { margin-top: 14px; padding: 8px 12px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font-size: 12.5px; font-weight: 600; text-align: center; }
.nota-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.nota-total span { font-size: 14px; font-weight: 700; }
.nota-total b { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; line-height: 1.1; color: var(--accent-2); white-space: nowrap; }

.nota-sep { position: relative; height: 0; margin: 0; border: 0; border-top: 2px dashed var(--line); }
.nota-sep::before, .nota-sep::after {
  content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-alt); border: 1px solid var(--line);
}
.nota-sep::before { left: -11px; }
.nota-sep::after { right: -11px; }
.nota-who { margin: 0; display: grid; gap: 8px; font-size: 13px; }
.nota-who > div { display: flex; justify-content: space-between; gap: 14px; }
.nota-who dt { color: var(--muted); flex: 0 0 auto; }
.nota-who dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; min-width: 0; }

.btn-order {
  width: 100%; padding: 15px 18px; border: 0; border-radius: 12px; cursor: pointer; background: var(--btn-grad); color: var(--on-accent);
  font: inherit; font-size: 14.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: 0 12px 26px -12px var(--btn-shadow); transition: transform .12s, box-shadow .12s;
}
.btn-order:hover:not(.is-locked) { transform: translateY(-1px); box-shadow: 0 16px 30px -12px var(--btn-shadow); }
.btn-order.is-locked { background: var(--line); color: var(--muted); box-shadow: none; }
.btn-order svg { width: 17px; height: 17px; }
.nota-btn { margin-top: 18px; }
.sum-hint { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--muted); min-height: 18px; }
.sum-foot { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }

/* ---------- Bar total (HP) ---------- */
.o-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--head-bg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.o-bar > div { flex: 1; min-width: 0; line-height: 1.2; }
.o-bar small { display: block; font-size: 11px; color: var(--muted); }
.o-bar b { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; color: var(--accent-2); white-space: nowrap; }
.o-bar .btn-order { width: auto; padding: 13px 22px; }
@media (min-width: 1000px) { .o-bar { display: none; } }

/* ---------- Halaman sukses ---------- */
.o-done { max-width: 560px; margin: 8px auto 0; }
.done-top { text-align: center; padding: 26px 22px 6px; }
.done-icon { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.done-icon svg { width: 27px; height: 27px; }
.done-top h1 { font-size: 26px; }
.done-top p { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.done-top p strong { color: var(--ink); }
.done-box { margin: 0 22px 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-alt); font-size: 14px; line-height: 1.8; }
.done-box strong { word-break: break-all; }
.done-note { margin: 0 22px 4px; font-size: 12.5px; color: var(--muted); }
.done-actions { padding: 0 22px 22px; }
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 16px; padding: 15px 18px; border-radius: 12px;
  text-decoration: none; background: var(--btn-grad); color: var(--on-accent) !important; font-size: 14.5px; font-weight: 700; box-shadow: 0 12px 26px -12px var(--btn-shadow);
}
.btn-wa svg { width: 18px; height: 18px; }
.done-login { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---- Cegah kolom isian "tembus" keluar kartu (iOS Safari: date/time/datetime-local
   punya lebar bawaan sendiri). Berlaku di dashboard, admin, dan form pesan. ---- */
.grid-form > *, .inline-edit-field, .form-section > *, .collapse-body > * { min-width: 0; }
input, select, textarea { max-width: 100%; min-width: 0; }
input[type=datetime-local], input[type=date], input[type=time], input[type=month], input[type=week] {
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 46px;
  text-align: left; overflow: hidden;
}
input[type=datetime-local]::-webkit-date-and-time-value, input[type=date]::-webkit-date-and-time-value, input[type=time]::-webkit-date-and-time-value {
  text-align: left; min-width: 0; margin: 0;
}
input[type=datetime-local]::-webkit-datetime-edit, input[type=time]::-webkit-datetime-edit { padding: 0; }

/* Paket: add-on yang sudah termasuk / gratis dari paket */
.addon.is-included { cursor: default; }
.addon.is-included input { pointer-events: none; }
.addon.is-included .addon-price b, .addon.is-free .addon-price b { text-decoration: line-through; opacity: .5; }
.addon-state { background: var(--sel-bg); color: var(--accent-2); font-style: normal; }
.addon-state[hidden] { display: none; }
