/* Logistics App — 06 Try it · Book a shipment */

@keyframes cw-la-try-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-logistic-app-try-it {
  background: #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-logistic-app-try-it__inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) clamp(16px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cw-logistic-app-try-it__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
}

@media (min-width: 900px) {
  .cw-logistic-app-try-it__head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cw-logistic-app-try-it__head[data-cw-logistic-try-reveal],
.cw-logistic-app-try-it__grid[data-cw-logistic-try-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cw-logistic-app-try-it__head.is-revealed,
.cw-logistic-app-try-it__grid.is-revealed {
  opacity: 1;
  transform: none;
}

.cw-logistic-app-try-it__eyebrow {
  margin: 0 0 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #ff7a50;
}

.cw-logistic-app-try-it__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.cw-logistic-app-try-it__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #d4f53c;
}

.cw-logistic-app-try-it__lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(234, 231, 225, 0.7);
}

.cw-logistic-app-try-it__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

@media (min-width: 900px) {
  .cw-logistic-app-try-it__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cw-logistic-app-try-it__book {
  border-radius: 28px;
  background: #f3efe7;
  color: #141210;
  padding: clamp(18px, 2.5vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cw-logistic-app-try-it__route-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: end;
}

.cw-logistic-app-try-it__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-logistic-app-try-it__label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #6b6158;
}

.cw-logistic-app-try-it__select {
  height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(20, 18, 16, 0.15);
  background: #fff;
  font: 600 14.5px 'Inter', system-ui, sans-serif;
  color: #141210;
}

.cw-logistic-app-try-it__swap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(20, 18, 16, 0.15);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #141210;
}

.cw-logistic-app-try-it__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-logistic-app-try-it__group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cw-logistic-app-try-it__rain {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(20, 18, 16, 0.2);
  background: transparent;
  color: #141210;
  font: 600 11.5px 'Inter', system-ui, sans-serif;
  cursor: pointer;
}

.cw-logistic-app-try-it__rain.is-on {
  background: #6e8bff;
  color: #fff;
  border-color: #6e8bff;
}

.cw-logistic-app-try-it__chip-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 4px;
  border-radius: 18px;
  background: #fff;
}

.cw-logistic-app-try-it__chip-row--veh {
  background: transparent;
  padding: 0;
}

.cw-logistic-app-try-it__chip {
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #141210;
  font: 600 12.5px 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.cw-logistic-app-try-it__chip.is-active {
  background: #141210;
  color: #fff;
}

.cw-logistic-app-try-it__chip--veh {
  height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(20, 18, 16, 0.2);
}

.cw-logistic-app-try-it__chip--veh.is-active {
  background: #d4f53c;
  color: #141210;
  border-color: #d4f53c;
}

.cw-logistic-app-try-it__chip--veh.is-disabled {
  color: rgba(20, 18, 16, 0.35);
  cursor: not-allowed;
}

.cw-logistic-app-try-it__chip--pay.is-active {
  background: #b7a6f5;
  color: #141210;
}

.cw-logistic-app-try-it__opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

@media (max-width: 520px) {
  .cw-logistic-app-try-it__opts {
    grid-template-columns: 1fr;
  }
}

.cw-logistic-app-try-it__opt {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(20, 18, 16, 0.1);
  background: #fff;
  color: #141210;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: background 0.2s ease, color 0.2s ease;
}

.cw-logistic-app-try-it__opt.is-active {
  background: #141210;
  color: #f3efe7;
}

.cw-logistic-app-try-it__opt-name {
  font-weight: 800;
  font-size: 14px;
}

.cw-logistic-app-try-it__opt-time {
  font: 800 18px 'Inter Tight', system-ui, sans-serif;
}

.cw-logistic-app-try-it__opt-meta {
  font-size: 12px;
  color: #6b6158;
}

.cw-logistic-app-try-it__opt.is-active .cw-logistic-app-try-it__opt-meta {
  color: rgba(234, 231, 225, 0.65);
}

.cw-logistic-app-try-it__opt-tag {
  font-size: 11px;
  color: #6b6158;
}

.cw-logistic-app-try-it__opt.is-active .cw-logistic-app-try-it__opt-tag {
  color: rgba(234, 231, 225, 0.65);
}

.cw-logistic-app-try-it__book-btn {
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #ff5527;
  color: #fff;
  font: 700 15px 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cw-logistic-app-try-it__book-btn.is-busy {
  background: #6b6158;
  cursor: default;
}

.cw-logistic-app-try-it__live {
  border-radius: 28px;
  background: #1e1b18;
  border: 1px solid rgba(234, 231, 225, 0.08);
  padding: clamp(18px, 2.5vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 420px;
  box-sizing: border-box;
  justify-content: center;
}

.cw-logistic-app-try-it__live.is-live {
  justify-content: flex-start;
}

.cw-logistic-app-try-it__live:not(.is-live) .cw-logistic-app-try-it__active {
  display: none !important;
}

.cw-logistic-app-try-it__live.is-live .cw-logistic-app-try-it__idle {
  display: none !important;
}

.cw-logistic-app-try-it__pod[hidden],
.cw-logistic-app-try-it__rated[hidden] {
  display: none !important;
}

.cw-logistic-app-try-it__idle {
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  max-width: 320px;
}

.cw-logistic-app-try-it__idle-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(234, 231, 225, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4f53c;
}

.cw-logistic-app-try-it__idle-title {
  font: 800 20px 'Inter Tight', system-ui, sans-serif;
}

.cw-logistic-app-try-it__idle-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(234, 231, 225, 0.6);
}

.cw-logistic-app-try-it__active {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cw-la-try-fade 0.35s ease-out both;
}

.cw-logistic-app-try-it__live-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cw-logistic-app-try-it__live-title {
  font: 800 19px 'Inter Tight', system-ui, sans-serif;
}

.cw-logistic-app-try-it__stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.cw-logistic-app-try-it__stage-bar {
  height: 5px;
  border-radius: 3px;
  background: rgba(234, 231, 225, 0.14);
  transition: background 0.3s ease;
}

.cw-logistic-app-try-it__stage-bar.is-done {
  background: #d4f53c;
}

.cw-logistic-app-try-it__stage-label {
  font-size: 11px;
  line-height: 1.3;
  color: rgba(234, 231, 225, 0.45);
}

.cw-logistic-app-try-it__stage-label.is-done {
  color: #f3efe7;
}

.cw-logistic-app-try-it__pod {
  border-radius: 20px;
  background: #26221e;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: cw-la-try-fade 0.35s ease-out both;
}

.cw-logistic-app-try-it__pod-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #d4f53c;
}

.cw-logistic-app-try-it__sig {
  display: block;
  border-radius: 14px;
  background: #f3efe7;
  touch-action: none;
  cursor: crosshair;
}

.cw-logistic-app-try-it__pod-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-logistic-app-try-it__pod-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(234, 231, 225, 0.25);
  background: transparent;
  color: #f3efe7;
  font: 600 12.5px 'Inter', system-ui, sans-serif;
  cursor: pointer;
}

.cw-logistic-app-try-it__pod-btn.is-qr-on {
  background: #d4f53c;
  color: #141210;
  border-color: #d4f53c;
}

.cw-logistic-app-try-it__pod-confirm {
  flex: 1;
  min-width: 150px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(234, 231, 225, 0.12);
  color: rgba(234, 231, 225, 0.45);
  font: 700 13px 'Inter', system-ui, sans-serif;
  cursor: pointer;
}

.cw-logistic-app-try-it__pod-confirm.is-ready {
  background: #d4f53c;
  color: #141210;
}

.cw-logistic-app-try-it__rated {
  border-radius: 20px;
  background: #d4f53c;
  color: #141210;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  animation: cw-la-try-fade 0.35s ease-out both;
}

.cw-logistic-app-try-it__stars {
  display: flex;
  gap: 4px;
}

.cw-logistic-app-try-it__star {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
}

.cw-logistic-app-try-it__log-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.cw-logistic-app-try-it__log {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-logistic-app-try-it__log-entry {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(234, 231, 225, 0.04);
  font-size: 13.5px;
  line-height: 1.55;
  animation: cw-la-try-fade 0.35s ease-out both;
}

.cw-logistic-app-try-it__log-entry::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5527;
  flex: none;
  margin-top: 0.45em;
}

.cw-logistic-app-try-it__log-entry.is-dim {
  opacity: 0.55;
}
