﻿/* ── Backend Showcase ── */
.landing-backend-showcase {
  padding: 80px 0;
  background: #fff;
  overflow: hidden;
  scroll-snap-align: start;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-backend-showcase__inner {
  position: relative;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.landing-backend-showcase__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-backend-carousel {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 12px;
  align-items: center;
  background: transparent;
  padding: 0;
}

.landing-backend-carousel__viewport {
  border: 1px solid #eaecf0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  position: relative;
  box-shadow: 0 18px 36px rgba(16, 24, 40, 0.1);
}

.landing-backend-carousel__img {
  width: 100%;
  height: 610px;
  object-fit: contain;
  background: #f8fafc;
  display: block;
}

.landing-backend-carousel__caption {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.4) 0%, rgba(16, 24, 40, 0.72) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.landing-backend-carousel__nav {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.08);
}

.landing-backend-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.landing-backend-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: #d0d5dd;
  cursor: pointer;
}

.landing-backend-carousel__dot.active {
  width: 20px;
  background: #0d9488;
}

/* ── Browser Frame (Fake) ── */
.landing-browser-window {
  width: 100%;
  border-radius: 12px;
  box-shadow: 
    0 25px 50px -12px rgba(0,0,0,0.15),
    0 0 0 1px rgba(0,0,0,0.05);
  background: #fff;
  overflow: hidden;
  position: relative;
}

.landing-browser-chrome {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.landing-browser-dots {
  display: flex;
  gap: 6px;
}
.landing-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.landing-browser-dot--red { background: #ef4444; }
.landing-browser-dot--yellow { background: #2dd4bf; }
.landing-browser-dot--green { background: #22c55e; }

.landing-browser-url {
  flex: 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}
.landing-browser-url svg { width: 12px; height: 12px; color: #94a3b8; }

.landing-liveframe {
  width: 100%;
  border: 0;
  background: #fff;
  display: block;
}

.landing-liveframe--backend {
  height: 760px;
}

.landing-backend-story {
  background: #f8fafc;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 640px;
}

.landing-backend-story__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.landing-backend-story__stat {
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.landing-backend-story__stat span {
  font-size: 11px;
  color: #667085;
  font-weight: 600;
}

.landing-backend-story__stat strong {
  font-size: 18px;
  color: #101828;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.landing-backend-story__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

.landing-backend-story__panel {
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-backend-story__title {
  font-size: 13px;
  font-weight: 800;
  color: #101828;
}

.landing-backend-story__bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 4px 2px;
}

.landing-backend-story__bar-col {
  flex: 1;
  height: 220px;
  display: flex;
  align-items: flex-end;
}

.landing-backend-story__bar {
  width: 100%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #875bf7 0%, #0d9488 100%);
  min-height: 10px;
}

.landing-backend-story__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-backend-story__row {
  border: 1px solid #eaecf0;
  border-radius: 8px;
  background: #f9fafb;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #344054;
  font-size: 12px;
  font-weight: 600;
}

.landing-backend-story__row strong {
  color: #101828;
  font-weight: 800;
}

@media (max-width: 900px) {
  .landing-backend-carousel {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .landing-backend-carousel__img {
    height: 360px;
  }

  .landing-backend-carousel__nav {
    display: none;
  }

  .landing-backend-story__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-backend-story__grid {
    grid-template-columns: 1fr;
  }

  .landing-backend-story__bar-col {
    height: 160px;
  }
}

/* ── Dashboard V2 Class Compatibility (FullDashboard.tsx) ── */
.fdash-wrap {
  width: 100%;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.fdash-wrap.visible {
  opacity: 1;
  transform: none;
}

.fdash-browser {
  background: #fff;
}

.fdash-body {
  display: flex;
  min-height: 620px;
  background: #f8fafc;
}

.fdash-sidebar {
  width: 232px;
  background: #0f172a;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  padding: 12px 10px;
}

.fdash-sidebar__logo {
  width: 24px;
  height: 24px;
  margin: 6px 8px 14px;
}

.fdash-sidebar__nav {
  flex: 1;
  overflow: auto;
}

.fdash-sidebar__section {
  margin-bottom: 8px;
}

.fdash-sidebar__section-header {
  width: 100%;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
}

.fdash-sidebar__item {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
}

.fdash-sidebar__item.active {
  background: #1d4ed8;
  color: #fff;
}

.fdash-sidebar__footer {
  margin-top: 8px;
  font-size: 10px;
  color: #64748b;
  text-align: right;
  padding: 4px 8px;
}

.fdash-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fdash-header {
  height: 54px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.fdash-header__title {
  margin: 0;
  font-size: 16px;
  color: #0f172a;
}

.fdash-header__user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #475569;
  font-weight: 600;
}

.fdash-header__avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.fdash-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fdash-toolbar,
.fdash-card,
.fdash-feature-callout {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.fdash-toolbar {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
}

.fdash-toolbar__search {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
}

.fdash-toolbar__right,
.fdash-toolbar__tabs,
.fdash-toolbar__stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fdash-toolbar__btn,
.fdash-toolbar__tab {
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fdash-toolbar__tab.active,
.fdash-toolbar__btn--primary {
  border-color: #0d9488;
  background: #0d9488;
  color: #fff;
}

.fdash-toolbar__stat {
  font-size: 11px;
  color: #64748b;
}

.fdash-toolbar__stat--green { color: #166534; }
.fdash-toolbar__stat--amber { color: #92400e; }

.fdash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.fdash-stats--secondary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fdash-stat {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fdash-stat--compact { padding: 8px; }

.fdash-stat__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fdash-stat__icon--sm { width: 26px; height: 26px; }
.fdash-stat__label { font-size: 10px; color: #64748b; }
.fdash-stat__value { font-size: 14px; font-weight: 800; color: #0f172a; }

.fdash-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fdash-card {
  min-height: 160px;
  padding: 10px;
}

.fdash-card__header {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.fdash-chart-bars {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
}

.fdash-bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fdash-bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #5eead4 0%, #0d9488 100%);
}
.fdash-bar-label { font-size: 10px; color: #64748b; }

.fdash-donut-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fdash-donut { width: 110px; height: 110px; }

.fdash-donut-legend {
  flex: 1;
  display: grid;
  gap: 6px;
}

.fdash-donut-legend__item {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #334155;
}

.fdash-donut-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.fdash-donut-legend__pct { color: #64748b; font-weight: 700; }

.fdash-sales-table {
  border: 1px solid #edf2f7;
  border-radius: 8px;
  overflow: hidden;
}

.fdash-sales-row {
  display: grid;
  grid-template-columns: 62px 1fr 100px 80px 96px;
  gap: 8px;
  padding: 8px 10px;
  font-size: 11px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

.fdash-sales-row--head {
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
}

.fdash-sales-row:last-child { border-bottom: none; }
.fdash-sales-amount { font-weight: 700; color: #0f172a; }
.fdash-sales-badge { color: #166534; font-weight: 700; }

.fdash-top-products,
.fdash-ptable,
.fdash-cattable,
.fdash-ttable,
.fdash-units,
.fdash-posui,
.fdash-csv,
.fdash-label-preview,
.fdash-receipt-paper {
  font-size: 11px;
  color: #334155;
}

.fdash-top-product {
  display: grid;
  grid-template-columns: 30px 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
}

.fdash-top-product__bar-wrap { background: #e2e8f0; border-radius: 999px; height: 6px; overflow: hidden; }
.fdash-top-product__bar { height: 100%; background: #0d9488; }
.fdash-top-product__rank { color: #667085; font-weight: 700; }
.fdash-top-product__name { color: #101828; font-weight: 600; }
.fdash-top-product__rev { color: #344054; font-weight: 700; text-align: right; }

.fdash-feature-callout {
  padding: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: #334155;
}

@media (max-width: 1024px) {
  .fdash-stats,
  .fdash-stats--secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fdash-charts { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .fdash-sidebar { width: 68px; }
  .fdash-sidebar__section-header span,
  .fdash-sidebar__item span {
    display: none;
  }
  .fdash-sidebar__item { justify-content: center; }
  .fdash-sales-row { grid-template-columns: 50px 1fr 82px; }
  .fdash-sales-row span:nth-child(4),
  .fdash-sales-row span:nth-child(5),
  .fdash-sales-row span:nth-child(6) {
    display: none;
  }
}

/* ── Untitled Redesign Overrides (Backend Showcase) ── */
.landing-backend-showcase {
  background: #ffffff;
}

.landing-browser-window {
  border: 1px solid #eaecf0;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(16, 24, 40, 0.14);
}

.landing-browser-chrome {
  background: #f9fafb;
  border-bottom: 1px solid #eaecf0;
}

.landing-browser-url {
  border-color: #eaecf0;
  color: #667085;
}

.fdash-sidebar,
.fdash-sidebar__item.active {
  background: #101828;
}

.fdash-sidebar__item.active {
  color: #ffffff;
  border-left: 2px solid #2dd4bf;
  border-radius: 8px;
}

.fdash-toolbar__tab.active,
.fdash-toolbar__btn--primary {
  background: #0d9488;
  border-color: #0d9488;
}

.fdash-card,
.fdash-toolbar,
.fdash-stat,
.fdash-sales-table {
  border-color: #eaecf0;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

/* ── FullDashboard Typography + Spacing Normalization ── */
.fdash,
.fdash-body {
  --fdash-font-xs: 11px;
  --fdash-font-sm: 12px;
  --fdash-font-md: 13px;
  --fdash-font-lg: 14px;
  --fdash-space-1: 6px;
  --fdash-space-2: 8px;
  --fdash-space-3: 10px;
  --fdash-space-4: 12px;
  --fdash-space-5: 14px;
  --fdash-space-6: 16px;
  --fdash-radius-sm: 8px;
  --fdash-radius-md: 10px;
  --fdash-radius-lg: 12px;
}

.fdash-header,
.fdash-header {
  min-height: 58px;
  padding: 0 var(--fdash-space-6);
}

.fdash-header__title,
.fdash-header__title {
  font-size: 17px;
  letter-spacing: 0.01em;
}

.fdash-toolbar,
.fdash-toolbar {
  padding: var(--fdash-space-3) var(--fdash-space-4);
  gap: var(--fdash-space-3);
}

.fdash-toolbar__search,
.fdash-toolbar__btn,
.fdash-toolbar__tab {
  min-height: 34px;
  border-radius: var(--fdash-radius-sm);
  font-size: var(--fdash-font-xs);
}

.fdash-stats,
.fdash-stats--secondary,
.fdash-stats--secondary {
  gap: var(--fdash-space-3);
}

.fdash-stat,
.fdash-card,
.fdash-card {
  border-radius: var(--fdash-radius-md);
}

.fdash-stat {
  padding: var(--fdash-space-3);
}

.fdash-stat__label,
.fdash-toolbar__stat,
.fdash-sales-row,
.fdash-donut-legend__item {
  font-size: var(--fdash-font-xs);
}

.fdash-stat__value,
.fdash-sales-amount,
.fdash-sales-amount {
  font-size: var(--fdash-font-md);
}

.fdash-content,
.fdash-content {
  padding: var(--fdash-space-4);
  gap: var(--fdash-space-3);
}

.fdash-sales-row {
  padding: var(--fdash-space-2) var(--fdash-space-3);
  gap: var(--fdash-space-2);
}

.fdash-feature-callout,
.fdash-top-product {
  padding-top: var(--fdash-space-2);
  padding-bottom: var(--fdash-space-2);
}

@media (max-width: 760px) {
  .fdash-header,
  .fdash-header {
    min-height: 52px;
    padding: 0 var(--fdash-space-4);
  }

  .fdash-content,
  .fdash-content {
    padding: var(--fdash-space-3);
  }
}

.fdash-bar,
.fdash-top-product__bar {
  background: linear-gradient(180deg, #2dd4bf 0%, #0d9488 100%);
}

/* ── Untitled Interaction Harmonization (Backend Showcase) ── */
.landing-browser-dot--yellow { background: #2dd4bf; }

.fdash-sidebar__item,
.fdash-toolbar__btn,
.fdash-toolbar__tab,
.fdash-sales-row {
  transition: transform 0.16s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fdash-toolbar__btn:hover,
.fdash-toolbar__tab:hover,
.fdash-sidebar__item:hover,
.fdash-sales-row:hover {
  transform: translateY(-1px);
}

.fdash-toolbar__btn:focus-visible,
.fdash-toolbar__tab:focus-visible,
.fdash-sidebar__item:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.3);
}

.fdash-sidebar__item.active {
  background: #0d9488;
  border-left-color: #5eead4;
}

.fdash-toolbar__tab.active,
.fdash-toolbar__btn--primary {
  background: #0d9488;
  border-color: #0d9488;
}

.fdash-toolbar__tab.active:hover,
.fdash-toolbar__btn--primary:hover {
  background: #0f766e;
  border-color: #0f766e;
}

/* ── FullDashboard Compatibility Restore ── */
.landing-browser {
  width: 100%;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 48px rgba(16, 24, 40, 0.14);
  overflow: hidden;
}

.landing-browser__bar {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid #eaecf0;
  background: #f9fafb;
}

.landing-browser__dots { display: flex; gap: 6px; }
.landing-browser__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
}
.landing-browser__dot.red { background: #ef4444; }
.landing-browser__dot.yellow { background: #2dd4bf; }
.landing-browser__dot.green { background: #22c55e; }

.landing-browser__url {
  flex: 1;
  border: 1px solid #eaecf0;
  border-radius: 8px;
  background: #ffffff;
  color: #667085;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
}

.fdash-stat__text { min-width: 0; }
.fdash-toolbar__info { font-size: 11px; color: #64748b; font-weight: 600; }

.fdash-sales-table--full .fdash-sales-row {
  grid-template-columns: 62px 70px 1fr 90px 96px 90px;
}

.fdash-sales-id,
.fdash-sales-method {
  color: #0f172a;
  font-weight: 600;
}

.fdash-ptable__head,
.fdash-cattable__head,
.fdash-ttable__head {
  display: grid;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
}

.fdash-ptable__head { grid-template-columns: 28px 2fr 56px 58px 52px 36px 42px 36px; }
.fdash-cattable__head { grid-template-columns: 32px 1fr 56px 52px; }
.fdash-ttable__head { grid-template-columns: 1fr 60px 62px 65px 44px; }

.fdash-ptable__row,
.fdash-cattable__row,
.fdash-ttable__row {
  display: grid;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
}

.fdash-ptable__row { grid-template-columns: 28px 2fr 56px 58px 52px 36px 42px 36px; }
.fdash-cattable__row { grid-template-columns: 32px 1fr 56px 52px; }
.fdash-ttable__row { grid-template-columns: 1fr 60px 62px 65px 44px; }

.fdash-ptable__img,
.fdash-cattable__icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fdash-ptable__name,
.fdash-cattable__name,
.fdash-ttable__name,
.fdash-cattable__count,
.fdash-cattable__order,
.fdash-ttable__code,
.fdash-ttable__role,
.fdash-ttable__rate,
.fdash-ptable__cat,
.fdash-ptable__sku,
.fdash-ptable__unit,
.fdash-ptable__vat {
  color: #334155;
  font-size: 11px;
}

.fdash-ptable__price,
.fdash-ptable__stock {
  color: #0f172a;
  font-weight: 700;
}

.fdash-ptable__stock--low { color: #b42318; }

.fdash-cattable__color {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}

.fdash-ttable__status {
  font-size: 10px;
  font-weight: 700;
}

.fdash-ttable__status--on { color: #166534; }
.fdash-ttable__status--off,
.fdash-ttable__status--pending { color: #92400e; }

.fdash-units {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.fdash-unit {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 8px;
  text-align: center;
  font-weight: 600;
}

.fdash-posui { display: grid; gap: 8px; }
.fdash-posui__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fcfcfd;
  padding: 8px 10px;
}

.fdash-posui__val { color: #0f766e; font-weight: 700; }

.fdash-receipt-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 10px;
  align-items: start;
}

.fdash-receipt-preview { min-height: 320px; }

.fdash-receipt-paper {
  border: 1px dashed #d0d5dd;
  border-radius: 10px;
  background: #ffffff;
  padding: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.fdash-receipt-paper__header,
.fdash-receipt-paper__total {
  font-weight: 800;
  color: #101828;
}

.fdash-receipt-paper__addr,
.fdash-receipt-paper__vat,
.fdash-receipt-paper__footer {
  color: #667085;
}

.fdash-receipt-paper__item,
.fdash-receipt-paper__total {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.fdash-receipt-paper__line {
  height: 1px;
  background: #eaecf0;
  margin: 6px 0;
}

.fdash-receipt-paper__qr {
  width: 64px;
  height: 64px;
  margin: 8px auto;
  display: grid;
  place-items: center;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  color: #344054;
}

.fdash-label-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fdash-label {
  border: 1px dashed #d0d5dd;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px;
}

.fdash-label__name,
.fdash-label__price {
  font-weight: 700;
  color: #101828;
}

.fdash-label__barcode {
  margin-top: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #344054;
  letter-spacing: 0.08em;
}

.fdash-label__sku {
  margin-top: 4px;
  color: #667085;
  font-size: 10px;
}

.fdash-csv { display: grid; gap: 10px; }
.fdash-csv__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.fdash-csv__step {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 7px 8px;
  text-align: center;
  color: #64748b;
  font-weight: 600;
}

.fdash-csv__step.active {
  border-color: #0d9488;
  background: #f0fdfa;
  color: #0f766e;
}

.fdash-csv__drop {
  border: 1px dashed #b2ddff;
  border-radius: 10px;
  background: #f0f9ff;
  min-height: 140px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
  padding: 12px;
}

.fdash-csv__drop-text { color: #175cd3; font-weight: 700; }
.fdash-csv__drop-sub { color: #475467; font-size: 11px; }

.fdash-placeholder {
  min-height: 220px;
  border: 1px dashed #d0d5dd;
  border-radius: 10px;
  background: #fcfcfd;
  color: #667085;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
}

@media (max-width: 900px) {
  .fdash-receipt-layout { grid-template-columns: 1fr; }
  .fdash-label-preview { grid-template-columns: 1fr; }
}

/* ── Enterprise Polish (Backend Story) ── */
.landing-backend-showcase {
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
}

.landing-backend-showcase__actions .ui-button {
  min-height: 46px;
  min-width: 230px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.landing-browser-window {
  border: 1px solid #eaecf0;
  border-radius: 18px;
  box-shadow: 0 28px 56px rgba(16, 24, 40, 0.13);
}

.landing-browser-chrome {
  background: #fcfcfd;
  border-bottom-color: #eaecf0;
  min-height: 52px;
}

.landing-browser-url {
  border-color: #eaecf0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
}

.landing-backend-story {
  background: #f9fafb;
  padding: 16px;
  gap: 14px;
  min-height: 660px;
}

.landing-backend-story__stats {
  gap: 12px;
}

.landing-backend-story__stat {
  border-color: #eaecf0;
  border-radius: 12px;
  padding: 12px;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.landing-backend-story__stat span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.landing-backend-story__stat strong {
  font-size: 20px;
  font-weight: 900;
}

.landing-backend-story__grid {
  gap: 14px;
}

.landing-backend-story__panel {
  border-color: #eaecf0;
  border-radius: 14px;
  padding: 14px;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.landing-backend-story__title {
  font-size: 14px;
  font-weight: 800;
}

.landing-backend-story__bars {
  gap: 10px;
  padding: 6px 4px;
}

.landing-backend-story__bar-col {
  height: 230px;
}

.landing-backend-story__bar {
  border-radius: 10px 10px 0 0;
}

.landing-backend-story__row {
  border-color: #eaecf0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
}

@media (max-width: 900px) {
  .landing-backend-showcase__actions {
    width: 100%;
  }

  .landing-backend-showcase__actions .ui-button {
    width: 100%;
    min-width: 0;
  }

  .landing-backend-story__bar-col {
    height: 170px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES (Backend Showcase)
   ═══════════════════════════════════════════════════════════════ */

[data-theme="dark"] .landing-backend-showcase {
  background: var(--ui-color-bg-primary);
}

[data-theme="dark"] .landing-backend-carousel__viewport {
  background: var(--ui-color-bg-elevated);
  border-color: var(--ui-color-border-primary);
}

[data-theme="dark"] .landing-backend-carousel__nav {
  background: var(--ui-color-bg-elevated);
  border-color: var(--ui-color-border-primary);
  color: var(--ui-color-fg-secondary);
}

[data-theme="dark"] .landing-browser,
[data-theme="dark"] .landing-browser-window {
  background: var(--ui-color-bg-elevated);
  border-color: var(--ui-color-border-primary);
}

[data-theme="dark"] .landing-browser__bar,
[data-theme="dark"] .landing-browser-chrome {
  background: var(--ui-color-bg-secondary);
  border-bottom-color: var(--ui-color-border-primary);
}

[data-theme="dark"] .landing-browser__url,
[data-theme="dark"] .landing-browser-url {
  background: var(--ui-color-bg-elevated);
  border-color: var(--ui-color-border-primary);
  color: var(--ui-color-fg-tertiary);
}

[data-theme="dark"] .landing-backend-story {
  background: var(--ui-color-bg-secondary);
}

[data-theme="dark"] .landing-backend-story__stat {
  background: var(--ui-color-bg-elevated);
  border-color: var(--ui-color-border-primary);
}

[data-theme="dark"] .landing-backend-story__panel {
  background: var(--ui-color-bg-elevated);
  border-color: var(--ui-color-border-primary);
}

[data-theme="dark"] .landing-backend-story__row {
  background: var(--ui-color-bg-secondary);
  border-color: var(--ui-color-border-primary);
}
