/* Explicit surfaces and text colors keep account notices readable on dark themes. */
.amc-delivery-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 48rem;
  margin: 1.25rem 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #d9d5c9;
  border-left: 4px solid #8b713c;
  border-radius: 12px;
  background: #faf8f2;
  color: #202936;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
  overflow-wrap: anywhere;
  text-transform: none;
  letter-spacing: normal;
}
.amc-delivery-card p {
  margin: 0 0 .65rem;
  padding: 0;
  color: #202936;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.65;
  text-transform: none;
  letter-spacing: normal;
}
.amc-delivery-card p:last-child { margin-bottom: 0; }
.amc-delivery-card .amc-delivery-title { font-size: 1.1em; }
.amc-delivery-card .amc-delivery-title strong { color: #202936; font-weight: 700; }
.amc-delivery-card .amc-delivery-deadline { margin: .85rem 0; }
.amc-delivery-deadline > span { display: block; color: #505968; font-size: .9em; }
.amc-delivery-deadline time { display: block; color: #202936; font-weight: 700; }
.amc-delivery-card .amc-delivery-help { color: #505968; font-size: .93em; }
.amc-delivery-card a,
.amc-delivery-card a:visited {
  color: #165780;
  text-decoration: underline;
  text-underline-offset: .16em;
  overflow-wrap: anywhere;
}
.amc-delivery-card a:hover { color: #103d59; }
.amc-delivery-card a:focus-visible { outline: 3px solid #165780; outline-offset: 3px; border-radius: 2px; }
.amc-delivery-card--compact { max-width: 34rem; margin: .65rem 0; padding: .9rem 1rem; font-size: 13px; }
.amc-delivery-card--expired { border-left-color: #7a6474; }
.amc-delivery-history { vertical-align: top; white-space: normal; }
.amc-delivery-history-heading { white-space: normal; }
.edd-blocks-orders__order-details .amc-delivery-history { margin-top: .5rem; }
.edd-blocks__row-column .amc-delivery-card { min-width: 0; }
@media (max-width: 600px) {
  .amc-delivery-card,
  .amc-delivery-card--compact { max-width: 100%; padding: 1rem; font-size: 14px; }
  .amc-delivery-history { min-width: 11rem; }
  .edd-blocks-orders__order-details .amc-delivery-history { min-width: 0; }
}
@media print {
  .amc-delivery-card { break-inside: avoid; box-shadow: none; border-color: #777; background: #fff; }
}
