@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

.zc-wizard {
  --zw-bg: #f5f5f7;
  --zw-card: rgba(255,255,255,0.78);
  --zw-text: #1d1d1f;
  --zw-muted: #6e6e73;
  --zw-blue: #0071e3;
  --zw-blue-h: #0077ed;
  --zw-border: rgba(0,0,0,0.08);
  --zw-shadow: 0 22px 70px rgba(0,0,0,0.1);
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  color: var(--zw-text);
  direction: rtl;
  min-height: 70vh;
}
.zc-wizard.zc-w-dark {
  --zw-card: rgba(28,28,30,0.92);
  --zw-text: #f5f5f7;
  --zw-muted: #a1a1a6;
  --zw-border: rgba(255,255,255,0.12);
  --zw-shadow: 0 22px 70px rgba(0,0,0,0.45);
}
.zc-w-shell {
  background: var(--zw-card);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--zw-border);
  border-radius: 28px;
  box-shadow: var(--zw-shadow);
  padding: 2rem 1.75rem 2.25rem;
  position: relative;
  overflow: hidden;
}
.zc-w-shell::before {
  content: '';
  position: absolute;
  inset: -40% auto auto -20%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(0,113,227,0.12), transparent 70%);
  pointer-events: none;
}
.zc-w-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 1.5rem; position: relative; z-index: 1;
}
.zc-w-brand {
  font-weight: 800; letter-spacing: 0.18em; font-size: 0.85rem;
  color: var(--zw-muted); text-decoration: none; text-transform: lowercase;
}
.zc-w-tools { display: flex; gap: 8px; align-items: center; }
.zc-w-tool {
  border: 1px solid var(--zw-border); background: transparent; color: var(--zw-text);
  border-radius: 980px; padding: 6px 12px; font-size: 0.8rem; font-family: inherit;
  cursor: pointer; font-weight: 600;
}
.zc-w-tool:hover { border-color: var(--zw-blue); color: var(--zw-blue); }
.zc-w-progress {
  height: 4px; background: rgba(0,0,0,0.06); border-radius: 980px; overflow: hidden; margin-bottom: 1.75rem;
}
.zc-w-dark .zc-w-progress { background: rgba(255,255,255,0.1); }
.zc-w-bar {
  height: 100%; width: 16%;
  background: linear-gradient(90deg, #0071e3, #64d2ff);
  border-radius: 980px; transition: width 0.45s cubic-bezier(0.22,1,0.36,1);
}
.zc-w-kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; color: var(--zw-blue);
  margin: 0 0 0.5rem; text-transform: uppercase;
}
.zc-w-step h2 {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem); font-weight: 800; margin: 0 0 0.6rem;
  line-height: 1.35; letter-spacing: -0.02em;
}
.zc-w-sub { color: var(--zw-muted); font-size: 0.95rem; line-height: 1.7; margin: 0 0 1.35rem; }
.zc-w-step { display: none; animation: zwIn 0.4s cubic-bezier(0.22,1,0.36,1); }
.zc-w-step.active { display: block; }
@keyframes zwIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.zc-w-input {
  width: 100%; box-sizing: border-box; padding: 15px 18px; border-radius: 14px;
  border: 1.5px solid var(--zw-border); font-size: 1.05rem; font-family: inherit;
  margin-bottom: 12px; background: rgba(255,255,255,0.9); color: var(--zw-text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.zc-w-dark .zc-w-input { background: rgba(44,44,46,0.95); }
.zc-w-input:focus {
  outline: none; border-color: var(--zw-blue); box-shadow: 0 0 0 4px rgba(0,113,227,0.18);
}
.zc-w-slug-row {
  display: flex; align-items: stretch; border: 1.5px solid var(--zw-border);
  border-radius: 14px; overflow: hidden; background: rgba(255,255,255,0.9); margin-bottom: 10px;
}
.zc-w-dark .zc-w-slug-row { background: rgba(44,44,46,0.95); }
.zc-w-prefix {
  padding: 15px 14px; background: rgba(0,0,0,0.03); font-weight: 700; font-size: 0.95rem;
  white-space: nowrap; color: var(--zw-muted); display: flex; align-items: center;
}
.zc-w-slug-row .zc-w-input {
  border: none; margin: 0; border-radius: 0; box-shadow: none; flex: 1; background: transparent;
}
.zc-w-hint { font-size: 0.9rem; color: var(--zw-muted); margin: 0.5rem 0; }
.zc-w-hint.ok { color: #30d158; font-weight: 600; }
.zc-w-hint.bad { color: #ff453a; font-weight: 600; }
.zc-w-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.zc-w-suggestions button {
  border: 1px solid rgba(0,113,227,0.35); background: rgba(0,113,227,0.08); color: var(--zw-blue);
  border-radius: 980px; padding: 7px 14px; font-family: inherit; cursor: pointer; font-weight: 600;
}
.zc-w-nav { display: flex; gap: 10px; margin-top: 1.75rem; flex-wrap: wrap; align-items: center; }
.zc-w-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px;
  border-radius: 980px; background: var(--zw-blue); color: #fff !important; font-weight: 700;
  border: none; cursor: pointer; font-family: inherit; font-size: 0.95rem; text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(0,113,227,0.35); transition: transform 0.15s, background 0.15s;
}
.zc-w-btn:hover { background: var(--zw-blue-h); transform: scale(1.02); }
.zc-w-btn.secondary {
  background: rgba(0,0,0,0.06); color: var(--zw-text) !important; box-shadow: none;
}
.zc-w-dark .zc-w-btn.secondary { background: rgba(255,255,255,0.1); }
.zc-w-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.zc-w-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; margin-bottom: 1rem;
}
.zc-w-card {
  perspective: 1000px; text-decoration: none; color: inherit; border: none; background: none;
  padding: 0; cursor: pointer; font-family: inherit;
}
.zc-w-card-inner {
  position: relative; width: 100%; min-height: 210px;
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1); transform-style: preserve-3d;
}
.zc-w-card:hover .zc-w-card-inner { transform: rotateY(180deg); }
.zc-w-card-front, .zc-w-card-back {
  position: absolute; inset: 0; backface-visibility: hidden; border-radius: 18px;
  border: 1px solid var(--zw-border); background: rgba(255,255,255,0.95);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06); padding: 12px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.zc-w-dark .zc-w-card-front, .zc-w-dark .zc-w-card-back { background: rgba(44,44,46,0.95); }
.zc-w-card-back {
  transform: rotateY(180deg); justify-content: center; font-size: 0.85rem; line-height: 1.65; color: var(--zw-muted);
}
.zc-w-card-front img { width: 100%; height: 108px; object-fit: cover; border-radius: 12px; margin-bottom: 8px; }
.zc-w-ph {
  width: 100%; height: 108px; border-radius: 12px;
  background: linear-gradient(145deg, rgba(0,113,227,0.12), rgba(100,210,255,0.08));
  display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 8px;
}
.zc-w-card-front strong { font-size: 0.9rem; margin-bottom: 4px; }
.zc-w-price { margin-top: auto; font-style: normal; font-weight: 800; color: var(--zw-blue); font-size: 0.85rem; }
.zc-w-card.selected .zc-w-card-front {
  box-shadow: 0 0 0 2px var(--zw-blue), 0 12px 32px rgba(0,113,227,0.2);
}
.zc-w-card-empty .zc-w-card-front { position: relative; min-height: 210px; justify-content: center; }
.zc-w-choices { display: flex; flex-direction: column; gap: 12px; }
.zc-w-choice {
  text-align: right; padding: 18px; border-radius: 18px; border: 1.5px solid var(--zw-border);
  background: transparent; cursor: pointer; font-family: inherit; color: var(--zw-text);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.zc-w-choice strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.zc-w-choice span { color: var(--zw-muted); font-size: 0.9rem; line-height: 1.55; }
.zc-w-choice.selected {
  border-color: var(--zw-blue); box-shadow: 0 0 0 4px rgba(0,113,227,0.15); background: rgba(0,113,227,0.05);
}
.zc-w-file { display: block; margin: 10px 0; font-size: 0.9rem; color: var(--zw-muted); }
.zc-w-err { color: #ff453a; text-align: center; margin-top: 1rem; font-weight: 700; font-size: 0.9rem; }
.zc-w-qr {
  width: 188px; height: 188px; margin: 1.25rem auto; background: #fff; border-radius: 16px;
  border: 1px solid var(--zw-border); display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.zc-w-qr img { width: 100%; height: 100%; object-fit: contain; }
.zc-wizard-gate {
  text-align: center; padding: 3rem 1.5rem; background: var(--zw-card); border-radius: 28px;
  border: 1px solid var(--zw-border); box-shadow: var(--zw-shadow);
}
.zc-wizard-gate h2 { margin: 0 0 0.75rem; font-weight: 800; }
.zc-wizard-gate p { color: var(--zw-muted); line-height: 1.7; }
.zc-w-legal {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--zw-border);
  font-size: 0.75rem; color: var(--zw-muted); line-height: 1.65; text-align: center;
}
@media (max-width: 520px) {
  .zc-w-shell { padding: 1.35rem 1.1rem 1.75rem; border-radius: 22px; }
  .zc-w-cards { grid-template-columns: 1fr 1fr; }
}

.zc-w-slug-row { direction: ltr !important; flex-direction: row !important; }
.zc-w-prefix { order: 0; border-left: none; border-right: 1px solid var(--zw-border); }
.zc-w-slug-row .zc-w-input { order: 1; text-align: left; }


.zc-wizard, .zc-wizard * { font-family: 'BNazanin', 'B Nazanin', Tahoma, sans-serif !important; }

