/* ==================================================================
   PaketVale Demo — Yaşayan Simülasyon
   2026-05-03
   ================================================================== */

:root {
  --bg: #0A0A0A;
  --bg-2: #0F0F0F;
  --bg-3: #161616;
  --bg-card: #141414;
  --border: rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.14);
  --text: #fff;
  --soft: #E5E7EB;
  --muted: #9CA3AF;
  --yellow: #FFD500;
  --yellow-soft: rgba(255,213,0,.10);
  --green: #22C55E;
  --red: #EF4444;
  --orange: #F59E0B;
  --pf-ys: #FF1F4F;
  --pf-getir: #5D3EBC;
  --pf-ty: #F27A1A;
  --pf-mg: #FFA500;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background: var(--bg);
  color: var(--soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* ===================== TOP NAV ===================== */
.dm-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.dm-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.dm-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
  font-size: 16px;
  letter-spacing: -.2px;
}
.dm-nav-back i { color: var(--yellow); font-size: 14px; }
.dm-nav-mid { flex: 1; text-align: center; }
.dm-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--yellow-soft);
  border: 1px solid rgba(255,213,0,.25);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--yellow);
  text-transform: uppercase;
}
.dm-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: dmPulse 1.6s ease-in-out infinite;
}
@keyframes dmPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.dm-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--yellow);
  color: #0A0A0A;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .1px;
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.dm-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255,213,0,.28);
}

@media (max-width: 720px) {
  .dm-nav-inner { padding: 12px 14px; }
  .dm-nav-mid { display: none; }
  .dm-nav-back span { display: none; }
  .dm-nav-cta { padding: 9px 14px; font-size: 13px; }
}

/* ===================== MAIN ===================== */
.dm-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 26px 22px 60px;
}

/* ===================== STEPBAR ===================== */
.dm-stepbar {
  position: relative;
  margin-bottom: 22px;
}
.dm-stepbar-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  list-style: none;
  position: relative;
  z-index: 2;
}
.dm-stepbar-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  cursor: pointer;
  transition: opacity .15s;
  opacity: .5;
}
.dm-stepbar-list li.is-active,
.dm-stepbar-list li.is-done { opacity: 1; }
.dm-stepbar-list li .dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
  transition: all .2s;
}
.dm-stepbar-list li.is-active .dot {
  background: var(--yellow);
  color: #0A0A0A;
  border-color: var(--yellow);
  box-shadow: 0 0 0 6px rgba(255,213,0,.12);
}
.dm-stepbar-list li.is-done .dot {
  background: var(--green);
  border-color: var(--green);
  color: #0A0A0A;
}
.dm-stepbar-list li.is-done .dot::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
.dm-stepbar-list li.is-done .dot {
  font-size: 0;
}
.dm-stepbar-list li .lbl {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.dm-stepbar-list li.is-active .lbl { color: var(--yellow); }
.dm-stepbar-progress {
  position: absolute;
  left: 0; right: 0;
  top: 14px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  z-index: 1;
}
.dm-stepbar-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--yellow);
  border-radius: 2px;
  transition: width .35s ease;
}

@media (max-width: 720px) {
  .dm-stepbar-list li .lbl { font-size: 10px; }
  .dm-stepbar-list li .dot { width: 26px; height: 26px; font-size: 12px; }
  .dm-stepbar-progress { top: 12px; }
}
@media (max-width: 480px) {
  .dm-stepbar-list { gap: 2px; }
  .dm-stepbar-list li { padding: 0 2px; }
  .dm-stepbar-list li .lbl { display: none; }
  .dm-stepbar-list li .dot { width: 24px; height: 24px; font-size: 11px; }
}

/* ===================== SHELL (split) ===================== */
.dm-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .dm-shell { grid-template-columns: 1fr; }
}

/* ===================== GUIDE (left) ===================== */
.dm-guide {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 88px;
  align-self: start;
}
.dm-guide-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
.dm-guide-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.4px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.dm-guide-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.dm-guide-points {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.dm-guide-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--soft);
  line-height: 1.45;
  border-bottom: 1px dashed rgba(255,255,255,.06);
}
.dm-guide-points li:last-child { border-bottom: 0; }
.dm-guide-points li i { color: var(--yellow); font-size: 12px; margin-top: 4px; flex-shrink: 0; }
.dm-guide-cta {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.dm-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--border-2);
  background: var(--bg-3);
  color: var(--soft);
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all .15s;
}
.dm-btn:hover:not(:disabled) {
  border-color: var(--yellow);
  color: var(--yellow);
}
.dm-btn:disabled { opacity: .35; cursor: not-allowed; }
.dm-btn-next {
  background: var(--yellow);
  color: #0A0A0A;
  border-color: var(--yellow);
}
.dm-btn-next:hover:not(:disabled) {
  background: #fff200;
  color: #0A0A0A;
}
.dm-btn-prev { flex: 0 0 auto; padding: 12px 16px; }
.dm-guide-skip { text-align: center; }
.dm-link {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 12.5px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.18);
  text-underline-offset: 3px;
  font-family: inherit;
}
.dm-link:hover { color: var(--yellow); text-decoration-color: var(--yellow); }

@media (max-width: 900px) {
  .dm-guide { position: static; padding: 22px; }
  .dm-guide-title { font-size: 20px; }
}

/* ===================== STAGE (right) ===================== */
.dm-stage {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 540px;
  position: relative;
  overflow: hidden;
}
.dm-step {
  display: none;
  padding: 26px;
  animation: dmFadeIn .35s ease both;
}
.dm-step.is-active { display: block; }
@keyframes dmFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dm-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.dm-stage-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}
.dm-stage-sub {
  font-size: 13px;
  color: var(--muted);
}
.dm-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: dmPulse 1.5s ease-in-out infinite;
}

/* Platform badges */
.dm-platforms {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.dm-pf {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .3px;
  color: var(--soft);
  text-transform: uppercase;
}
.dm-pf.pf-ys { background: rgba(255,31,79,.12); color: #FF6F8F; border-color: rgba(255,31,79,.28); }
.dm-pf.pf-getir { background: rgba(93,62,188,.18); color: #A089E2; border-color: rgba(93,62,188,.4); }
.dm-pf.pf-ty { background: rgba(242,122,26,.14); color: #F8A861; border-color: rgba(242,122,26,.34); }
.dm-pf.pf-mg { background: rgba(255,165,0,.14); color: #FFC871; border-color: rgba(255,165,0,.34); }

/* ===================== STEP 1 — Feed ===================== */
.dm-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 4px;
}
.dm-feed::-webkit-scrollbar { width: 6px; }
.dm-feed::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
.dm-order {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--yellow);
  border-radius: 10px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  animation: dmOrderIn .4s ease both;
}
.dm-order.is-new { border-left-color: var(--green); box-shadow: 0 0 0 1px rgba(34,197,94,.18); }
@keyframes dmOrderIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.dm-order-no {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}
.dm-order-mid { min-width: 0; }
.dm-order-cust {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dm-order-items {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dm-order-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.dm-order-amt {
  font-size: 14px;
  font-weight: 800;
  color: var(--yellow);
}
.dm-order-tag {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(34,197,94,.18);
  color: #5EEA9C;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* ===================== STEP 2 — Handle ===================== */
.dm-handle {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
}
.dm-handle-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.dm-handle-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.dm-handle-no {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}
.dm-handle-cust {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0 14px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.dm-handle-cust i { color: var(--yellow); }
.dm-handle-items {
  list-style: none;
  margin: 0 0 14px;
}
.dm-handle-items li {
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--soft);
}
.dm-handle-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px dashed var(--border);
  margin-bottom: 12px;
}
.dm-handle-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .3px;
  text-transform: uppercase;
}
.dm-handle-status.preparing { color: var(--orange); }
.dm-handle-status.ready { color: var(--green); }
.dm-handle-timer {
  font-family: ui-monospace, monospace;
  font-size: 16px;
  font-weight: 800;
  color: var(--yellow);
}
.dm-handle-btn {
  width: 100%;
  padding: 12px;
  background: var(--yellow);
  color: #0A0A0A;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.dm-handle-btn:hover { background: #fff200; }
.dm-handle-btn.ready {
  background: var(--green);
  color: #fff;
}
.dm-handle-btn.ready:hover { background: #16A34A; }
.dm-handle-side {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.dm-handle-flow .step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px dashed var(--border);
}
.dm-handle-flow .step:last-child { border-bottom: 0; }
.dm-handle-flow .step i { font-size: 9px; color: var(--border-2); }
.dm-handle-flow .step.done { color: var(--soft); }
.dm-handle-flow .step.done i { color: var(--green); font-size: 12px; }
.dm-handle-flow .step.active {
  color: var(--text);
  font-weight: 800;
}
.dm-handle-flow .step.active i {
  color: var(--yellow);
  font-size: 11px;
  animation: dmPulse 1.4s ease-in-out infinite;
}

@media (max-width: 720px) {
  .dm-handle { grid-template-columns: 1fr; }
}

/* ===================== STEP 3 — POS ===================== */
.dm-pos {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 14px;
}
.dm-pos h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.dm-pos-tables, .dm-pos-menu, .dm-pos-cart {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.dm-tables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.dm-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}
.dm-table.busy { background: rgba(239,68,68,.10); border-color: rgba(239,68,68,.32); color: #F87171; }
.dm-table.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #0A0A0A;
  box-shadow: 0 0 0 4px rgba(255,213,0,.15);
}
.dm-pos-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.dm-mi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--soft);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  text-align: left;
}
.dm-mi:hover { border-color: var(--yellow); transform: translateY(-1px); }
.dm-mi b { color: var(--yellow); font-size: 13px; }
.dm-cart-list {
  list-style: none;
  margin: 0 0 12px;
  min-height: 120px;
  max-height: 180px;
  overflow-y: auto;
}
.dm-cart-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
  color: var(--soft);
  animation: dmFadeIn .25s ease both;
}
.dm-cart-list li.empty {
  color: var(--muted);
  font-style: italic;
  font-size: 12.5px;
  border: 0;
  text-align: center;
  padding: 16px 0;
}
.dm-cart-list li b { color: var(--yellow); font-size: 13px; }
.dm-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--muted);
  font-size: 13px;
}
.dm-cart-total strong { color: var(--text); font-size: 18px; font-weight: 900; }
.dm-cart-pay {
  width: 100%;
  padding: 12px;
  background: var(--yellow);
  color: #0A0A0A;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}
.dm-cart-pay:hover { background: #fff200; }
.dm-cart-pay.done {
  background: var(--green);
  color: #fff;
}

@media (max-width: 900px) {
  .dm-pos { grid-template-columns: 1fr; }
}

/* ===================== STEP 4 — Stock ===================== */
.dm-stock {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.dm-stock-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  transition: all .2s;
}
.dm-stock-card.warn { border-color: rgba(245,158,11,.4); }
.dm-stock-card.crit {
  border-color: rgba(239,68,68,.5);
  background: rgba(239,68,68,.06);
  animation: dmFlashCrit 1.4s ease-in-out 1;
}
@keyframes dmFlashCrit {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
  50%      { box-shadow: 0 0 0 8px rgba(239,68,68,.15); }
}
.dm-stock-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.dm-stock-bar {
  height: 8px;
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}
.dm-stock-bar span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 4px;
  transition: width .35s ease, background .35s;
}
.dm-stock-bar span.warn { background: var(--orange); }
.dm-stock-bar span.crit { background: var(--red); }
.dm-stock-meta {
  font-size: 12.5px;
  color: var(--muted);
}
.dm-stock-meta b { color: var(--text); font-size: 14px; }
.dm-stock-card.crit .dm-stock-meta { color: var(--red); }

.dm-stock-alert {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.4);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: #F87171;
  animation: dmFadeIn .3s ease both;
}
.dm-stock-alert i { font-size: 16px; }
.dm-stock-alert strong { color: #fff; }

@media (max-width: 560px) {
  .dm-stock { grid-template-columns: 1fr; }
}

/* ===================== STEP 5 — Log ===================== */
.dm-log {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 4px;
}
.dm-log li {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--yellow);
  border-radius: 8px;
  padding: 11px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  animation: dmOrderIn .35s ease both;
}
.dm-log li.warn { border-left-color: var(--orange); }
.dm-log li.crit { border-left-color: var(--red); }
.dm-log-who {
  font-weight: 800;
  color: var(--text);
  font-size: 13.5px;
}
.dm-log-act {
  color: var(--soft);
}
.dm-log-act b { color: var(--yellow); font-weight: 700; }
.dm-log-time {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
}

/* ===================== STEP 6 — Profit ===================== */
.dm-profit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.dm-profit-tile {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}
.dm-profit-tile.primary {
  background: linear-gradient(135deg, rgba(255,213,0,.12), rgba(255,213,0,.02));
  border-color: rgba(255,213,0,.45);
  box-shadow: 0 8px 26px rgba(255,213,0,.08);
}
.dm-profit-tile .lbl {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.dm-profit-tile strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.4px;
  font-family: ui-monospace, monospace;
}
.dm-profit-tile.primary strong { color: var(--yellow); }
.dm-profit-tile small {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
}
.dm-profit-tile small i { font-size: 10px; margin-right: 4px; }

.dm-profit-chart {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 22px 18px;
}
.dm-profit-chart .bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: flex-end;
  height: 160px;
}
.dm-profit-chart .bars span {
  display: block;
  background: linear-gradient(180deg, rgba(255,213,0,.15), rgba(255,213,0,.05));
  border: 1px solid rgba(255,213,0,.18);
  border-radius: 6px 6px 0 0;
  transition: all .35s;
}
.dm-profit-chart .bars span.now {
  background: linear-gradient(180deg, var(--yellow), rgba(255,213,0,.6));
  border-color: var(--yellow);
  box-shadow: 0 0 16px rgba(255,213,0,.32);
}
.dm-profit-chart .bars-axis {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}
.dm-profit-chart .bars-axis span:last-child { color: var(--yellow); }

@media (max-width: 720px) {
  .dm-profit { grid-template-columns: 1fr; }
  .dm-profit-tile strong { font-size: 24px; }
  .dm-profit-chart .bars { height: 120px; }
}

/* ===================== FINAL ===================== */
.dm-final {
  text-align: center;
  padding: 48px 22px 60px;
  max-width: 640px;
  margin: 0 auto;
}
.dm-final-mark {
  display: inline-flex;
  width: 64px; height: 64px;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #0A0A0A;
  border-radius: 50%;
  font-size: 26px;
  margin-bottom: 22px;
  box-shadow: 0 16px 40px rgba(255,213,0,.32);
}
.dm-final-h {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.6px;
  line-height: 1.18;
  margin-bottom: 16px;
}
.dm-final-h .y { color: var(--yellow); }
.dm-final-sub {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
}
.dm-final-sub strong { color: var(--text); }
.dm-final-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  background: var(--yellow);
  color: #0A0A0A;
  border-radius: 14px;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .2px;
  box-shadow: 0 14px 36px rgba(255,213,0,.30), 0 0 0 1px rgba(255,213,0,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.dm-final-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(255,213,0,.4), 0 0 0 1px rgba(255,213,0,.55);
}
.dm-final-micro {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(229,231,235,.6);
  letter-spacing: .2px;
}
.dm-final-replay { margin-top: 22px; }

@media (max-width: 480px) {
  .dm-final { padding: 32px 18px 44px; }
  .dm-final-btn { width: 100%; justify-content: center; padding: 15px 22px; font-size: 15px; }
  .dm-final-mark { width: 54px; height: 54px; font-size: 22px; margin-bottom: 18px; }
}

/* ====================================================================
   v2 — RAHATSIZ EDİCİ KATMAN (2026-05-03)
   - Step 1 gecikme uyarı bar
   - Step 4 stok uyuşmazlığı + kayıp tutarı
   - Step 5 şüpheli işlem rozeti
   - Step 6 beklenen vs gerçekleşen + kayıp banner
   - Sol panel "Direkt sonucu gör" ana skip CTA'sı
   ==================================================================== */

/* Step 1 — Gecikme warning bar (feed üstü) */
.dm-warn-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.42);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  color: #FBBF24;
  font-size: 13px;
  font-weight: 600;
  animation: dmWarnIn .35s ease both;
}
.dm-warn-bar i { color: var(--orange); flex-shrink: 0; font-size: 14px; }
.dm-warn-bar strong { color: #fff; font-weight: 800; }
.dm-warn-bar span { line-height: 1.35; }
.dm-warn-tag {
  margin-left: auto !important;
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  padding: 3px 8px;
  background: rgba(245, 158, 11, 0.18);
  border-radius: 5px;
  color: #FBBF24;
  font-weight: 700;
  white-space: nowrap;
}
@keyframes dmWarnIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .dm-warn-bar { font-size: 12px; padding: 9px 12px; gap: 8px; flex-wrap: wrap; }
  .dm-warn-tag { font-size: 10.5px; }
}

/* Step 4 — Stok alert (yeni body yapısı) */
.dm-stock-alert {
  align-items: flex-start;
}
.dm-stock-alert-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}
.dm-stock-alert-body strong {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .1px;
}
.dm-stock-alert-sub {
  font-size: 12.5px;
  color: rgba(248, 113, 113, .85);
  line-height: 1.45;
}
.dm-stock-alert-sub b {
  color: #FCA5A5;
  font-weight: 800;
}

/* Step 5 — Şüpheli işlem rozeti */
.dm-log-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 2px 7px;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 800;
  color: #FCA5A5;
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;
}
.dm-log-badge i { font-size: 9px; }

@media (max-width: 480px) {
  .dm-log li { grid-template-columns: 1fr; gap: 4px; }
  .dm-log-time { justify-self: end; font-size: 11px; }
}

/* Step 6 — Beklenen vs Gerçekleşen + Kayıp banner */
.dm-profit-compare {
  margin-bottom: 22px;
}
.dm-pc-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}
.dm-pc-tile {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 22px 18px;
}
.dm-pc-tile.dm-pc-actual {
  border-color: rgba(255,213,0,.32);
  background: linear-gradient(135deg, rgba(255,213,0,.06), transparent);
}
.dm-pc-lbl {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.1px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.dm-pc-tile.dm-pc-actual .dm-pc-lbl { color: var(--yellow); }
.dm-pc-val {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.5px;
  line-height: 1.1;
}
.dm-pc-tile.dm-pc-actual .dm-pc-val { color: var(--yellow); }
.dm-pc-meta {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .1px;
}
.dm-pc-arrow {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

/* Kayıp banner (karar anı) */
.dm-loss-banner {
  position: relative;
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.10), rgba(239, 68, 68, 0.02));
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-left: 4px solid var(--red);
  border-radius: 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
}
.dm-loss-banner.is-revealed {
  opacity: 1;
  transform: translateY(0);
  animation: dmLossPulse 1.6s ease-in-out 1;
}
@keyframes dmLossPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
  40%      { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.18); }
}
.dm-loss-banner > i {
  font-size: 20px;
  color: var(--red);
  align-self: start;
  margin-top: 2px;
}
.dm-loss-body {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.dm-loss-lbl {
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--red);
  text-transform: uppercase;
}
.dm-loss-val {
  font-family: ui-monospace, monospace;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.5px;
}
.dm-loss-pct {
  font-size: 14px;
  font-weight: 800;
  color: #FCA5A5;
}
.dm-loss-detail {
  grid-column: 2;
  font-size: 12.5px;
  color: rgba(248, 113, 113, 0.78);
  line-height: 1.45;
  margin-top: 2px;
}

@media (max-width: 720px) {
  .dm-pc-row { grid-template-columns: 1fr; }
  .dm-pc-arrow { transform: rotate(90deg); margin: 0 auto; }
  .dm-pc-val { font-size: 26px; }
  .dm-loss-val { font-size: 24px; }
}
@media (max-width: 480px) {
  .dm-pc-tile { padding: 18px; }
  .dm-loss-banner { grid-template-columns: 1fr; gap: 8px; padding: 14px 16px; }
  .dm-loss-banner > i { font-size: 16px; }
  .dm-loss-detail { grid-column: 1; }
  .dm-loss-val { font-size: 22px; }
}

/* Sol panel — "Sonucu hızlı gör" skip (yumuşak sarı, agresyon yok) */
.dm-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 8px;
  padding: 11px 14px;
  background: rgba(255, 213, 0, 0.07);
  border: 1px solid rgba(255, 213, 0, 0.40);
  border-radius: 10px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2px;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.dm-jump:hover {
  background: rgba(255, 213, 0, 0.14);
  border-color: var(--yellow);
  color: #fff;
}
.dm-jump i { color: var(--yellow); font-size: 12px; }

/* Step 6 — Kayıp dağılımı vurgu satırı */
.dm-loss-share {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(248, 113, 113, 0.92);
  font-weight: 600;
  letter-spacing: .15px;
}
.dm-loss-share b {
  color: #FCA5A5;
  font-weight: 800;
  border-bottom: 1px dotted rgba(252, 165, 165, .5);
  padding-bottom: 1px;
}

/* Step 6 — Rescue satırı (yeşil çözüm — korkuyu güvene çevirir) */
.dm-rescue {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.10), rgba(34, 197, 94, 0.02));
  border: 1px solid rgba(34, 197, 94, 0.42);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  color: rgba(229, 231, 235, 0.95);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
}
.dm-rescue.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.dm-rescue strong { color: #fff; font-weight: 800; }
.dm-rescue-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: dmPulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .dm-rescue { font-size: 13.5px; padding: 12px 14px; }
}

/* ====================================================================
   v3 — KAPANIŞ MİKROLARI (2026-05-03)
   - Final CTA üstü urgency satırı
   - Final CTA altı risk-killer satırı
   - Sağ-alt "Demo oturumu sona eriyor" tick
   ==================================================================== */

/* Final urgency — CTA üstü, zaman sıkıştırma */
.dm-final-urgency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 18px;
  padding: 10px 18px;
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.40);
  border-radius: 999px;
  color: #FBBF24;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.4;
}
.dm-final-urgency i { color: var(--orange); font-size: 13px; flex-shrink: 0; }
.dm-final-urgency strong { color: #fff; font-weight: 800; }

/* Final safety — CTA altı, risk killer */
.dm-final-safety {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.10);
  font-size: 12.5px;
  color: rgba(229,231,235,.78);
  font-weight: 600;
  letter-spacing: .2px;
}
.dm-final-safety span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.dm-final-safety i {
  color: var(--green);
  font-size: 11px;
}

@media (max-width: 480px) {
  .dm-final-urgency { font-size: 12.5px; padding: 9px 14px; }
  .dm-final-safety { gap: 6px 12px; font-size: 12px; }
}

/* Sağ-alt "Demo oturumu sona eriyor" tick — urgency boost */
.dm-session-tick {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(229, 231, 235, 0.62);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.dm-session-tick.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.dm-session-tick .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: dmTickPulse 1.4s ease-in-out infinite;
}
@keyframes dmTickPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  50%      { box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); }
}

@media (max-width: 480px) {
  .dm-session-tick {
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    font-size: 11.5px;
  }
}

/* ====================================================================
   v4 — KAPANIŞ KİLİDİ (2026-05-03)
   - Personalization (Bu, senin sistemin olabilir)
   - CTA hover helper (2 dakikada kurulum başlar)
   - CTA altı "Bugün başla, bugün gör"
   ==================================================================== */

/* Personalization — soyutu kişiselleştir */
.dm-final-personal {
  margin: 4px auto 16px;
  max-width: 520px;
  padding: 0 8px;
  font-size: clamp(14.5px, 1.7vw, 17px);
  color: rgba(229, 231, 235, 0.92);
  line-height: 1.5;
  letter-spacing: .1px;
}
.dm-final-personal em {
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
}
.dm-final-personal strong {
  color: var(--yellow);
  font-weight: 800;
  border-bottom: 2px solid rgba(255,213,0,.45);
  padding-bottom: 1px;
}

@media (max-width: 480px) {
  .dm-final-personal { font-size: 13.5px; margin-bottom: 14px; }
  .dm-final-personal br { display: none; }
}

/* CTA hover helper — buton altında fade-in (CSS-only) */
.dm-final-cta-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.dm-final-btn-helper {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: .25px;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.dm-final-cta-wrap:hover .dm-final-btn-helper,
.dm-final-cta-wrap:focus-within .dm-final-btn-helper {
  opacity: 1;
  transform: translateY(0);
}
/* Mobil: hover yok — helper'ı her zaman göster */
@media (hover: none) {
  .dm-final-btn-helper { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  .dm-final-cta-wrap { display: flex; width: 100%; }
  .dm-final-btn-helper { font-size: 12px; }
}

/* CTA altı — "Bugün başla, bugün gör" (zaman baskısı) */
.dm-final-now {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .35px;
  color: var(--yellow);
  text-transform: uppercase;
}
@media (max-width: 480px) {
  .dm-final-now { font-size: 12px; margin-top: 12px; }
}

/* ====================================================================
   v5 — UI REALISM + YÖNETİM PANELİ (2026-05-03)
   - Stepbar 6 → 7
   - POS: kasa açık + Nakit/Kart + KDV + Fiş preview
   - Step 7: Yönetim Paneli (6 widget + detay drawer)
   ==================================================================== */

/* Stepbar 7 kolona genişle */
.dm-stepbar-list {
  grid-template-columns: repeat(7, 1fr) !important;
}
@media (max-width: 480px) {
  .dm-stepbar-list { grid-template-columns: repeat(7, 1fr) !important; }
}

/* === POS REALISM === */
.dm-pos-cashier {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  font-size: 12px;
  color: rgba(229, 231, 235, .82);
  font-weight: 600;
}
.dm-pos-cashier strong { color: #fff; font-weight: 800; letter-spacing: .2px; }
.dm-pos-cashier-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34,197,94,.5);
  animation: dmPulse 1.6s ease-in-out infinite;
}
.dm-pos-cashier-user i { color: var(--yellow); margin-right: 4px; font-size: 11px; }
.dm-pos-cashier-time {
  font-family: ui-monospace, monospace;
  color: var(--yellow);
  font-weight: 800;
}
.dm-pos-sep { color: rgba(255,255,255,.18); }

.dm-pos-table-info {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(255,213,0,.06);
  border: 1px solid rgba(255,213,0,.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dm-pos-info-lbl {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 800;
}
.dm-pos-table-info strong {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.dm-pos-info-meta {
  font-size: 11.5px;
  color: var(--muted);
}

/* Cart KDV / Subtotal satırları */
.dm-cart-tax {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 12.5px;
  color: var(--muted);
}
.dm-cart-tax span:last-child {
  font-family: ui-monospace, monospace;
  color: rgba(229,231,235,.85);
  font-weight: 700;
}

/* Ödeme buton satırı (Nakit / Kart) */
.dm-cart-pay-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dm-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--soft);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.dm-pay:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-1px);
}
.dm-pay-cash:hover { border-color: var(--green); color: var(--green); }
.dm-pay i { font-size: 14px; }

/* Fiş preview (overlay) */
.dm-receipt {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(6px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px;
  animation: dmFadeIn .35s ease both;
}
.dm-receipt-paper {
  background: #FAFAF7;
  color: #1f1f1f;
  width: 100%;
  max-width: 320px;
  padding: 22px 22px 18px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12.5px;
  line-height: 1.5;
  box-shadow: 0 26px 60px rgba(0,0,0,.45);
  position: relative;
}
.dm-receipt-paper::before,
.dm-receipt-paper::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 12px;
  background: repeating-linear-gradient(135deg, transparent 0 6px, #FAFAF7 6px 12px);
}
.dm-receipt-paper::before {
  top: -6px;
  background: linear-gradient(135deg, transparent 50%, #FAFAF7 0) 0 0 / 12px 12px,
              linear-gradient( 45deg, transparent 50%, #FAFAF7 0) 0 0 / 12px 12px;
}
.dm-receipt-paper::after {
  bottom: -6px;
  background: linear-gradient(225deg, transparent 50%, #FAFAF7 0) 0 0 / 12px 12px,
              linear-gradient(-45deg, transparent 50%, #FAFAF7 0) 0 0 / 12px 12px;
}
.dm-receipt-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}
.dm-receipt-head strong {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 800;
}
.dm-receipt-head span { font-size: 11px; color: #555; }
.dm-receipt-no { margin-top: 4px; }
.dm-receipt-no b { letter-spacing: 1.5px; }
.dm-receipt-divider {
  border-top: 1px dashed #aaa;
  margin: 8px 0;
}
.dm-receipt-items {
  list-style: none;
  margin: 4px 0;
  padding: 0;
}
.dm-receipt-items li {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 12px;
}
.dm-receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 12px;
}
.dm-receipt-total {
  font-size: 14px;
  font-weight: 800;
  margin-top: 2px;
}
.dm-receipt-total strong {
  font-size: 16px;
  letter-spacing: .5px;
}
.dm-receipt-foot {
  text-align: center;
  margin-top: 8px;
  font-size: 11px;
  color: #555;
  letter-spacing: .5px;
}
.dm-receipt-close {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--yellow);
  color: #0A0A0A;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.dm-receipt-close:hover { background: #fff200; }

/* === STEP 7 — Yönetim Paneli === */
.dm-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.dm-widget {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--soft);
  transition: all .15s;
}
.dm-widget:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.32);
}
.dm-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
}
.dm-widget-lbl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .35px;
  text-transform: uppercase;
}
.dm-widget-lbl i { color: var(--yellow); font-size: 12px; }
.dm-widget-trend {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-card);
  color: var(--muted);
  letter-spacing: .3px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dm-widget-trend.up { background: rgba(34,197,94,.14); color: #5EEA9C; }
.dm-widget-trend.warn { background: rgba(245,158,11,.14); color: #FBBF24; }
.dm-widget-trend.crit { background: rgba(239,68,68,.18); color: #FCA5A5; }
.dm-widget-trend i { font-size: 9px; }
.dm-widget-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34,197,94,.55);
  animation: dmPulse 1.5s ease-in-out infinite;
}
.dm-widget-val {
  font-family: ui-monospace, monospace;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.5px;
  line-height: 1.1;
}
.dm-widget-meta {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .15px;
}

.dm-widget.warn { border-color: rgba(245,158,11,.32); }
.dm-widget.crit { border-color: rgba(239,68,68,.34); }
.dm-widget.crit .dm-widget-val { color: #FCA5A5; }
.dm-widget.primary {
  background: linear-gradient(135deg, rgba(255,213,0,.10), rgba(255,213,0,.02));
  border-color: rgba(255,213,0,.42);
}
.dm-widget.primary .dm-widget-val { color: var(--yellow); }

@media (max-width: 900px) {
  .dm-panel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .dm-panel-grid { grid-template-columns: 1fr; gap: 10px; }
  .dm-widget { padding: 16px; }
  .dm-widget-val { font-size: 22px; }
}

/* Panel detail drawer */
.dm-panel-detail {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(8px);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  opacity: 0;
  transition: opacity .25s;
}
.dm-panel-detail.is-open { opacity: 1; }
.dm-panel-detail-body {
  background: var(--bg-card);
  border: 1px solid rgba(255,213,0,.32);
  border-radius: 14px;
  padding: 22px 26px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  animation: dmFadeIn .3s ease both;
}
.dm-panel-detail-body h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 14px;
  letter-spacing: -.2px;
}
.dm-panel-detail-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dm-panel-detail-body li {
  padding: 9px 12px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dm-panel-detail-body li b { color: #fff; font-weight: 800; }
.dm-panel-detail-body li.crit {
  border-color: rgba(239,68,68,.45);
  background: rgba(239,68,68,.08);
  color: #FCA5A5;
}
.dm-panel-detail-body li.link {
  border-color: rgba(255,213,0,.32);
  background: rgba(255,213,0,.06);
  color: var(--soft);
  font-style: italic;
  font-size: 12.5px;
  display: block;
}
.dm-panel-detail-body li.link b { color: var(--yellow); }
.dm-panel-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: var(--bg-card);
  color: var(--soft);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.dm-panel-detail-close:hover {
  background: var(--yellow);
  color: #0A0A0A;
  border-color: var(--yellow);
}

@media (max-width: 480px) {
  .dm-panel-detail { padding: 14px; }
  .dm-panel-detail-body { padding: 18px; }
}

/* ====================================================================
   v6 — 5 KAPATMA HAMLESİ (2026-05-03)
   - Sektör seçim splash
   - POS kasa bakiyesi göstergesi
   - Step 7 karşılaştırma bloğu + "sende yok" finalstrike
   - Final ekran "numara bırak" formu
   ==================================================================== */

/* === SPLASH === */
.dm-splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: dmFadeIn .35s ease both;
}
.dm-splash.is-closing {
  opacity: 0;
  transition: opacity .3s ease;
}
.dm-splash-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,213,0,.22);
  border-radius: 18px;
  padding: 36px 32px 28px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  text-align: center;
}
.dm-splash-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}
.dm-splash-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 10px;
}
.dm-splash-title .y { color: var(--yellow); }
.dm-splash-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.dm-splash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.dm-splash-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  color: var(--soft);
  transition: all .15s;
}
.dm-splash-opt:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,213,0,.10);
}
.dm-splash-ico { font-size: 28px; line-height: 1; }
.dm-splash-opt strong { font-size: 16px; font-weight: 800; color: #fff; }
.dm-splash-opt small { font-size: 12px; color: var(--muted); }
.dm-splash-skip {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.18);
  text-underline-offset: 3px;
  font-family: inherit;
  margin-top: 6px;
}
.dm-splash-skip:hover { color: var(--yellow); }

@media (max-width: 480px) {
  .dm-splash-card { padding: 28px 22px 22px; }
  .dm-splash-grid { grid-template-columns: 1fr; gap: 10px; }
  .dm-splash-opt { padding: 18px 14px; flex-direction: row; gap: 14px; text-align: left; }
  .dm-splash-opt strong { font-size: 15px; }
}

/* === POS KASA BAKİYESİ === */
.dm-pos-cashier-balance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dm-pos-cashier-balance i {
  color: var(--yellow);
  font-size: 11px;
}
.dm-pos-cashier-balance strong {
  font-family: ui-monospace, monospace;
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: .2px;
  transition: color .25s;
}

@media (max-width: 720px) {
  .dm-pos-cashier { font-size: 11px; padding: 5px 10px; gap: 6px; flex-wrap: wrap; }
}

/* === STEP 7 — KARŞILAŞTIRMA === */
.dm-compare {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed rgba(255,255,255,.10);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
}
.dm-compare-col {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.dm-compare-now { border-color: rgba(239, 68, 68, 0.32); }
.dm-compare-pv  {
  border-color: rgba(255, 213, 0, 0.42);
  background: linear-gradient(135deg, rgba(255,213,0,.06), transparent);
}
.dm-compare-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255,255,255,.10);
}
.dm-compare-now .dm-compare-head { color: #FCA5A5; }
.dm-compare-pv  .dm-compare-head { color: var(--yellow); }
.dm-compare-now .dm-compare-head i { color: var(--red); }
.dm-compare-pv  .dm-compare-head i { color: var(--yellow); }
.dm-compare ul { list-style: none; padding: 0; margin: 0; }
.dm-compare li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--soft);
}
.dm-compare li i {
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 9px;
  flex-shrink: 0;
}
.dm-compare li.ok i {
  background: rgba(34,197,94,.22);
  color: #5EEA9C;
}
.dm-compare li.no i {
  background: rgba(239,68,68,.22);
  color: #FCA5A5;
}
.dm-compare li.no { color: rgba(229,231,235,.58); text-decoration: line-through; text-decoration-color: rgba(239,68,68,.4); }
.dm-compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--muted);
  background: var(--bg-card);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-self: center;
  border: 1px solid var(--border-2);
}

@media (max-width: 720px) {
  .dm-compare { grid-template-columns: 1fr; }
  .dm-compare-vs { width: 36px; height: 36px; font-size: 11px; margin: 0 auto; }
}

/* Final kırılma cümlesi */
.dm-panel-finalstrike {
  margin-top: 18px;
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(255, 213, 0, 0.06), rgba(255, 213, 0, 0.02));
  border: 1px solid rgba(255, 213, 0, 0.32);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
  color: rgba(229, 231, 235, 0.92);
  line-height: 1.4;
}
.dm-panel-finalstrike i {
  color: var(--yellow);
  font-size: 22px;
  flex-shrink: 0;
}
.dm-panel-finalstrike strong {
  color: var(--yellow);
  font-weight: 900;
  border-bottom: 2px solid rgba(255,213,0,.5);
  padding-bottom: 1px;
}

@media (max-width: 480px) {
  .dm-panel-finalstrike { font-size: 14px; padding: 14px 16px; gap: 10px; }
  .dm-panel-finalstrike i { font-size: 18px; }
}

/* === LEAD FORM (final ekran) === */
.dm-lead {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed rgba(255,255,255,.10);
  text-align: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.dm-lead-or {
  position: relative;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}
.dm-lead-or span {
  background: var(--bg-card);
  padding: 0 14px;
  position: relative;
  z-index: 1;
}
.dm-lead-or::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: rgba(255,255,255,.12);
}
.dm-lead-head {
  font-size: 15px;
  color: rgba(229,231,235,.92);
  margin-bottom: 14px;
  line-height: 1.5;
}
.dm-lead-head strong { color: #fff; font-weight: 800; }
.dm-lead-head .y { color: var(--yellow); font-weight: 800; }
.dm-lead-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 10px;
}
.dm-lead-row input {
  padding: 13px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  color: #fff;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
  letter-spacing: .3px;
}
.dm-lead-row input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,213,0,.12);
}
.dm-lead-row input::placeholder { color: rgba(255,255,255,.32); }
.dm-lead-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: var(--yellow);
  color: #0A0A0A;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all .15s;
}
.dm-lead-btn:hover:not(:disabled) {
  background: #fff200;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255,213,0,.28);
}
.dm-lead-btn:disabled { opacity: .65; cursor: wait; }

.dm-lead-meta {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .15px;
}
.dm-lead-meta i { color: var(--green); margin-right: 4px; }

.dm-lead-msg {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
}
.dm-lead-msg.err {
  background: rgba(239,68,68,.10);
  border: 1px solid rgba(239,68,68,.4);
  color: #FCA5A5;
}

.dm-lead-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.42);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  text-align: left;
  font-size: 14px;
  color: rgba(229,231,235,.95);
  line-height: 1.45;
}
.dm-lead-success i {
  color: var(--green);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.dm-lead-success strong { color: #fff; font-weight: 800; display: block; margin-bottom: 4px; }
.dm-lead-success b { color: var(--yellow); font-weight: 800; }

@media (max-width: 480px) {
  .dm-lead-row { grid-template-columns: 1fr; }
  .dm-lead-btn { width: 100%; justify-content: center; }
}

