.sendit-delivery,
.sendit-delivery * {
  box-sizing: border-box;
}

.sendit-delivery {
  --sendit-green: #07883d;
  --sendit-green-dark: #05652e;
  --sendit-green-soft: #eaf7ef;
  --sendit-border: #dfe5ea;
  --sendit-text: #111827;
  --sendit-muted: #5b6673;
  --sendit-surface: #ffffff;
  --sendit-soft: #f7f9fb;
  --sendit-chip: #e7e9ec;
  color: var(--sendit-text);
  font-family: inherit;
  max-width: 980px;
  margin: 0 auto;
  -webkit-text-size-adjust: 100%;
}

.sendit-delivery__header {
  text-align: center;
  padding: 12px 0 26px;
}

.sendit-delivery__icon,
.sendit-tracking__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sendit-green-soft);
  color: var(--sendit-green);
  margin-bottom: 10px;
}

.sendit-delivery svg,
.sendit-tracking svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.sendit-delivery h2,
.sendit-delivery h3 {
  margin: 0;
  color: var(--sendit-text);
  line-height: 1.25;
}

.sendit-delivery__header h2 {
  color: var(--sendit-green);
  font-size: clamp(24px, 4vw, 32px);
  text-transform: uppercase;
  font-weight: 800;
}

.sendit-delivery__header p {
  margin: 10px 0 0;
  color: var(--sendit-muted);
}

.sendit-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  position: relative;
}

.sendit-stepper::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 20px;
  height: 3px;
  background: var(--sendit-border);
}

.sendit-stepper li {
  display: grid;
  justify-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  color: var(--sendit-muted);
}

.sendit-stepper span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid var(--sendit-green);
  background: var(--sendit-surface);
  color: var(--sendit-text);
  font-weight: 800;
}

.sendit-stepper .is-active span,
.sendit-stepper .is-complete span {
  background: var(--sendit-green);
  color: #ffffff;
}

.sendit-stepper strong {
  font-size: 14px;
}

.sendit-panel {
  background: var(--sendit-soft);
  border: 1px solid transparent;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.sendit-panel.is-active {
  background: var(--sendit-surface);
  border-color: var(--sendit-border);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
}

.sendit-panel__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--sendit-chip);
  color: var(--sendit-text);
  font-weight: 800;
}

.sendit-panel.is-active .sendit-panel__number {
  background: var(--sendit-green);
  color: #ffffff;
}

.sendit-panel__summary {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 24px;
  text-align: left;
  cursor: default;
}

.sendit-panel__summary > span:not(.sendit-panel__number):not(.sendit-panel__chevron) {
  flex: 1;
  min-width: 0;
}

.sendit-panel__summary strong {
  display: block;
  font-size: 18px;
}

.sendit-panel__summary small {
  display: block;
  color: var(--sendit-muted);
  margin-top: 4px;
}

.sendit-panel__chevron {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--sendit-muted);
  margin-left: auto;
}

.sendit-panel__chevron svg {
  width: 22px;
  height: 22px;
}

.sendit-panel.is-active .sendit-panel__chevron {
  display: none;
}

.sendit-panel__body {
  display: none;
  padding: 0 24px 26px;
}

.sendit-panel.is-active .sendit-panel__body {
  display: block;
}

.sendit-grid,
.sendit-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.sendit-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.sendit-field--wide {
  grid-column: 1 / -1;
}

.sendit-field span {
  color: var(--sendit-text);
  font-size: 14px;
  font-weight: 700;
}

.sendit-field input,
.sendit-field textarea,
.sendit-field select {
  width: 100%;
  border: 1px solid #ccd5dd;
  border-radius: 8px;
  background: #ffffff;
  color: var(--sendit-text);
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
}

.sendit-field textarea {
  resize: vertical;
}

.sendit-field input:focus,
.sendit-field textarea:focus,
.sendit-field select:focus {
  border-color: var(--sendit-green);
  box-shadow: 0 0 0 3px rgba(7, 136, 61, 0.15);
  outline: none;
}

.sendit-input-wrap {
  position: relative;
  display: block;
}

.sendit-input-wrap input {
  padding-left: 44px;
}

.sendit-field__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  color: var(--sendit-muted);
  pointer-events: none;
}

.sendit-field__icon svg {
  width: 18px;
  height: 18px;
}

.sendit-phone-input {
  display: flex;
  align-items: center;
  border: 1px solid #ccd5dd;
  border-radius: 8px;
  background: #ffffff;
  min-height: 52px;
}

.sendit-phone-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  min-height: 48px;
  padding: 12px 8px;
}

.sendit-phone-input input:focus {
  box-shadow: none;
  outline: none;
}

.sendit-phone-input:focus-within {
  border-color: var(--sendit-green);
  box-shadow: 0 0 0 3px rgba(7, 136, 61, 0.15);
}

.sendit-phone-code {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 0 12px;
  height: 28px;
  border-right: 1px solid var(--sendit-border);
  color: var(--sendit-text);
  font-weight: 700;
}

.sendit-phone-code svg {
  width: 14px;
  height: 14px;
  color: var(--sendit-muted);
}

.sendit-phone-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--sendit-muted);
  padding-right: 14px;
}

.sendit-phone-icon svg {
  width: 18px;
  height: 18px;
}

.sendit-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.sendit-actions--end {
  justify-content: flex-end;
}

.sendit-button {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.sendit-button--primary {
  background: var(--sendit-green);
  color: #ffffff;
}

.sendit-button--primary:hover,
.sendit-button--primary:focus {
  background: var(--sendit-green-dark);
  color: #ffffff;
}

.sendit-button--secondary,
.sendit-button--ghost {
  background: #ffffff;
  border-color: var(--sendit-border);
  color: var(--sendit-text);
}

.sendit-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.sendit-list-head,
.sendit-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sendit-stop-card,
.sendit-package-card,
.sendit-review-section article {
  border: 1px solid var(--sendit-border);
  border-radius: 8px;
  background: var(--sendit-soft);
  padding: 18px;
  margin-bottom: 14px;
}

.sendit-remove {
  appearance: none;
  -webkit-appearance: none;
  background: #fff5f5;
  border: 1px solid #ffd7d7;
  border-radius: 8px;
  color: #a32929;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 36px;
  padding: 0 12px;
}

.sendit-route-summary {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.sendit-sequence-item {
  display: grid;
  grid-template-columns: 34px 100px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--sendit-border);
  border-radius: 8px;
  padding: 10px 12px;
}

.sendit-sequence-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--sendit-green);
  color: #ffffff;
  font-weight: 800;
}

.sendit-sequence-item em {
  color: var(--sendit-muted);
  font-style: normal;
}

.sendit-errors {
  color: #9b1c1c;
  font-weight: 700;
  margin-top: 14px;
}

.sendit-errors p {
  margin: 6px 0;
}

.sendit-review {
  display: grid;
  gap: 18px;
}

.sendit-review-section {
  border: 1px solid var(--sendit-border);
  border-radius: 8px;
  padding: 18px;
}

.sendit-review-section dl,
.sendit-success dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 14px 0;
}

.sendit-review-section dt,
.sendit-success dt {
  color: var(--sendit-muted);
  font-size: 13px;
  font-weight: 700;
}

.sendit-review-section dd,
.sendit-success dd {
  margin: 4px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.sendit-success {
  border: 1px solid #bfe7cc;
  border-radius: 8px;
  background: var(--sendit-green-soft);
  padding: 26px;
  text-align: center;
}

.sendit-success h3 {
  color: var(--sendit-green);
  font-size: 24px;
}

.sendit-trust {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid #cdebd8;
  border-radius: 8px;
  background: linear-gradient(90deg, #effaf3, #ffffff);
  margin-top: 28px;
  padding: 24px;
}

.sendit-trust strong,
.sendit-trust__subtitle {
  display: block;
}

.sendit-trust__subtitle {
  color: var(--sendit-muted);
  margin-top: 6px;
}

.sendit-trust ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.sendit-trust ul li {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.sendit-trust__icon {
  display: inline-flex;
  color: var(--sendit-green);
}

.sendit-trust__icon svg {
  width: 28px;
  height: 28px;
}

.sendit-hp {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

@media (max-width: 760px) {
  .sendit-delivery {
    padding: 0 16px;
  }

  .sendit-stepper strong {
    font-size: 12px;
  }

  .sendit-stepper span,
  .sendit-panel__number {
    width: 36px;
    height: 36px;
  }

  .sendit-stepper::before {
    top: 18px;
  }

  .sendit-panel__summary {
    gap: 14px;
    padding: 18px;
  }

  .sendit-panel__body {
    padding: 0 18px 20px;
  }

  .sendit-grid,
  .sendit-split,
  .sendit-review-section dl,
  .sendit-success dl,
  .sendit-trust {
    grid-template-columns: 1fr;
  }

  .sendit-list-head,
  .sendit-card-title,
  .sendit-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sendit-actions--end {
    align-items: stretch;
  }

  .sendit-button {
    width: 100%;
  }

  .sendit-sequence-item {
    grid-template-columns: 32px 1fr;
  }

  .sendit-sequence-item em {
    grid-column: 2;
  }

  .sendit-trust ul {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .sendit-trust ul li {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .sendit-delivery {
    padding: 0 12px;
  }

  .sendit-delivery__icon {
    width: 44px;
    height: 44px;
  }

  .sendit-delivery__header p {
    font-size: 13px;
  }

  .sendit-stepper {
    gap: 0 4px;
  }

  .sendit-stepper strong {
    font-size: 11px;
  }

  .sendit-stepper span,
  .sendit-panel__number {
    width: 30px;
    height: 30px;
  }

  .sendit-panel__number {
    border-radius: 11px;
  }

  .sendit-panel__summary {
    gap: 10px;
    padding: 14px;
  }

  .sendit-panel__summary strong {
    font-size: 16px;
  }

  .sendit-panel__chevron svg {
    width: 18px;
    height: 18px;
  }

  .sendit-panel__body {
    padding: 0 14px 16px;
  }

  .sendit-phone-code {
    padding: 0 8px;
  }

  .sendit-phone-code svg {
    display: none;
  }

  .sendit-phone-icon {
    padding-right: 10px;
  }
}
