#orderStatusContainer.ps-orders-panel {
  width: min(calc(100% - 24px), 760px) !important;
  margin: 22px auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.ps-order-card {
  padding: 18px !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.12) !important;
  color: #172033;
}

.ps-order-dismiss {
  top: 14px !important;
  right: 14px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  color: #dc2626 !important;
  background: #fff1f2 !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transition: transform .18s ease, background .18s ease;
}

.ps-order-dismiss span {
  display: block;
  transform: translateY(-1px);
}

.ps-order-dismiss:hover {
  background: #ffe4e6 !important;
  transform: scale(1.05);
}

.ps-order-head {
  padding-right: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ps-order-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ps-order-identity span {
  color: #94a3b8 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ps-order-identity strong {
  color: #172033 !important;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -.02em;
}

.ps-order-head-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.ps-order-expiry,
.ps-order-login {
  min-height: 30px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.15;
  white-space: nowrap;
}

.ps-order-expiry {
  border: 1px solid #e2e8f0;
  color: #64748b;
  background: #f8fafc;
}

.ps-order-login {
  border: 1px solid #fed7aa;
  color: #c2410c !important;
  background: #fff7ed;
  text-decoration: none !important;
}

.ps-order-total-chip {
  margin-top: 15px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  color: #7c2d12;
  background: linear-gradient(135deg, #fff7ed, #fffaf6);
}

.ps-order-total-chip > div {
  display: flex;
  flex-direction: column;
}

.ps-order-total-chip span {
  color: #9a3412;
  font-size: 11px;
  font-weight: 750;
}

.ps-order-total-chip strong {
  color: #7c2d12;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.1;
}

.ps-order-total-chip small {
  max-width: 52%;
  color: #9a3412;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
}

.ps-order-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.ps-order-actions .btn {
  min-height: 36px;
  padding: 7px 11px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 11px !important;
  color: #475569 !important;
  background: #fff !important;
}

.ps-order-detail {
  padding: 14px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
}

.ps-order-progress {
  padding: 4px 4px 0;
}

.ps-order-map {
  height: 230px !important;
  border-radius: 17px !important;
}

@media (max-width: 560px) {
  #orderStatusContainer.ps-orders-panel {
    width: calc(100% - 20px) !important;
    margin: 16px auto !important;
  }

  .ps-order-card {
    padding: 15px !important;
    border-radius: 19px !important;
  }

  .ps-order-head {
    padding-right: 42px;
    flex-direction: column;
    gap: 9px;
  }

  .ps-order-head-links {
    justify-content: flex-start;
  }

  .ps-order-total-chip {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .ps-order-total-chip small {
    max-width: 100%;
    text-align: left;
  }

  .ps-order-map { height: 205px !important; }
}
