/* src/style.css */
:root {
  --bg: #F2F2F7;
  --card: #FFFFFF;
  --ink: #1C1C1E;
  --ink2: #6E6E73;
  --ink3: #8E8E93;
  --tint: #007AFF;
  --green: #34C759;
  --orange: #FF9500;
  --red: #FF3B30;
  --gray5: #E5E5EA;
  --hairline: rgba(60,60,67,0.12);
}
html,
body,
#root {
  margin: 0;
  min-height: 100%;
}
body {
  background: var(--bg);
  font-family:
    -apple-system,
    "SF Pro Text",
    "Helvetica Neue",
    Tahoma,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sakan {
  direction: rtl;
  text-align: right;
  background: var(--bg);
  min-height: 100vh;
  padding-bottom: 96px;
  color: var(--ink);
}
.screen {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 20px 0;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--tint);
  letter-spacing: 0.2px;
  margin-bottom: 4px;
}
.large-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 6px;
}
.subtitle {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.6;
  margin: 0 0 18px;
}
.card {
  background: var(--card);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.card-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
}
.card-sub {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.6;
  margin: 0;
}
.hero {
  padding: 0;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.hero-body {
  padding: 14px 16px 16px;
}
.hero-name {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 2px;
}
.hero-area {
  font-size: 14px;
  color: var(--ink2);
  margin: 0 0 10px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}
.price {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.price-per {
  font-size: 14px;
  color: var(--ink2);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.chip {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--gray5);
  border-radius: 999px;
  padding: 6px 12px;
}
.cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--tint);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  border: 0;
  border-radius: 14px;
  padding: 15px;
  text-decoration: none;
  box-sizing: border-box;
}
.cta.secondary {
  background: rgba(0, 122, 255, 0.12);
  color: var(--tint);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 10px;
}
.pill.orange {
  background: rgba(255, 149, 0, 0.14);
  color: #B25E00;
}
.pill.green {
  background: rgba(52, 199, 89, 0.14);
  color: #1E7A38;
}
.pill.gray {
  background: var(--gray5);
  color: var(--ink2);
}
.pill.blue {
  background: rgba(0, 122, 255, 0.12);
  color: var(--tint);
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 0.5px solid var(--hairline);
}
.row:last-child {
  border-bottom: 0;
}
.row-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.row-main {
  flex: 1;
  min-width: 0;
}
.row-name {
  font-size: 15.5px;
  font-weight: 500;
}
.row-detail {
  font-size: 13px;
  color: var(--ink2);
  margin-top: 1px;
  line-height: 1.5;
}
.chevron {
  color: var(--ink3);
  font-size: 18px;
  flex-shrink: 0;
  transform: scaleX(-1);
}
.timeline {
  display: grid;
  gap: 0;
}
.tl-step {
  display: flex;
  gap: 12px;
  position: relative;
  padding-bottom: 18px;
}
.tl-step:last-child {
  padding-bottom: 0;
}
.tl-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
}
.tl-step.done .tl-dot {
  background: var(--green);
  color: #fff;
}
.tl-step.now .tl-dot {
  background: var(--orange);
  color: #fff;
}
.tl-step.todo .tl-dot {
  background: var(--gray5);
  color: var(--ink3);
}
.tl-step::before {
  content: "";
  position: absolute;
  right: 12.5px;
  top: 26px;
  bottom: 0;
  width: 1.5px;
  background: var(--gray5);
}
.tl-step:last-child::before {
  display: none;
}
.tl-name {
  font-size: 15px;
  font-weight: 600;
}
.tl-detail {
  font-size: 13px;
  color: var(--ink2);
  margin-top: 1px;
}
.code-display {
  direction: ltr;
  text-align: center;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 12px;
  padding: 26px 0 20px;
  font-variant-numeric: tabular-nums;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.stat {
  background: var(--card);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.stat-num {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 2px;
}
.stat-label {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.45;
}
.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-top: 0.5px solid var(--hairline);
}
.tabbar-in {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  padding: 6px 8px 22px;
}
.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: var(--ink3);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 0 0;
  min-height: 48px;
}
.tab[aria-current=page] {
  color: var(--tint);
}
.tab svg {
  width: 24px;
  height: 24px;
}
.note-strip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(255, 149, 0, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.note-strip .t {
  font-size: 13.5px;
  color: #7A4A00;
  line-height: 1.6;
}
.footer-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink3);
  line-height: 1.7;
  padding: 8px 24px 0;
}
.cam-frame {
  background: #1C1C1E;
  border-radius: 14px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin: 10px 0 8px;
}
.mapbox {
  background:
    linear-gradient(
      135deg,
      #E8F0E9 0%,
      #DCE9F5 100%);
  border-radius: 12px;
  padding: 12px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.map-pin {
  font-size: 20px;
}
.map-txt {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.map-link {
  font-size: 13px;
  color: var(--tint);
  text-decoration: none;
}
.map-note {
  font-size: 11px;
  color: var(--ink2);
}
