.cod-payment-method {
  margin: 0 0 12px;
  padding: 0;
  min-inline-size: 0;
  border: 0;
}

.cod-payment-method legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 700;
}

.cod-method-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cod-payment-method .cod-method-option {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #e6dbe3;
  border-radius: 12px;
  cursor: pointer;
}

.cod-payment-method .cod-method-option[data-selected="true"] {
  border-color: #6b3f69;
  background: #f6eef5;
}

.cod-method-option small {
  display: block;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cod-payment-method input[type="radio"],
.cod-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 1px 0 0;
  accent-color: #6b3f69;
}

.cod-payment-panel,
.cod-offer-terms,
.cod-control {
  display: grid;
  gap: 9px;
}

.cod-payment-panel p,
.cod-offer-terms p {
  margin: 0;
}

.cod-payment-panel .line-item,
.cod-offer-terms .line-item {
  gap: 8px;
}

.cod-payment-panel .line-item strong,
.cod-offer-terms .line-item strong {
  white-space: nowrap;
}

.cod-offer-terms {
  text-align: start;
  margin-bottom: 6px;
}

.cod-issue-form summary {
  cursor: pointer;
  padding-block: 6px;
  font-weight: 650;
}

.cod-issue-form[open] .cod-control {
  margin-top: 8px;
}

.status-cod_accepted {
  background: #f4eaf3;
  color: #62345f;
}

@media (max-width: 340px) {
  .cod-method-options {
    grid-template-columns: 1fr;
  }
}

.driver-shell .driver-offer-workspace [data-cod-offer] .offer-decision,
.driver-shell .driver-offer-workspace [data-multiple-offers] .offer-decision {
  position: static;
  z-index: auto;
}

.driver-shell .driver-offer-workspace [data-cod-offer] .driver-offer-action {
  grid-template-areas:
    "terms terms"
    "hold countdown"
    "hold hint"
    "hold skip";
}

.driver-shell .driver-offer-workspace [data-cod-offer] .driver-offer-action > .cod-offer-terms {
  grid-area: terms;
}
