.st-reset-order-action {
  margin-left: 8px;
  border: 0;
  background: transparent;
  color: #dc2626;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.st-reset-order-action:hover {
  color: #991b1b;
  text-decoration: underline;
}

.st-reset-order-detail-action {
  margin-left: 10px;
  border: 0 !important;
  border-radius: 6px;
  background: #16a34a !important;
  color: #ffffff !important;
  cursor: pointer;
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.18), 0 2px 4px -2px rgba(15, 23, 42, 0.18) !important;
}

.st-reset-order-detail-action:hover {
  background: #15803d !important;
  color: #ffffff !important;
}

.st-reset-order-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
}

.st-reset-order-modal {
  width: min(560px, 100%);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.34);
  color: #0b1f3a;
}

.st-reset-order-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #e2e8f0;
}

.st-reset-order-title {
  margin: 0;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.st-reset-order-body {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.st-reset-order-code {
  color: #0f172a;
  font-size: 14px;
  font-weight: 950;
}

.st-reset-order-warning {
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  padding: 10px 12px;
  color: #9a3412;
}

.st-reset-order-field {
  display: grid;
  gap: 6px;
}

.st-reset-order-field label {
  color: #475569;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.st-reset-order-field input,
.st-reset-order-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 11px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  outline: none;
}

.st-reset-order-field textarea {
  min-height: 74px;
  resize: vertical;
}

.st-reset-order-error {
  display: none;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff1f2;
  padding: 10px 12px;
  color: #b91c1c;
}

.st-reset-order-modal[data-error="1"] .st-reset-order-error {
  display: block;
}

.st-reset-order-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px 18px;
  border-top: 1px solid #e2e8f0;
}

.st-reset-order-actions button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.st-reset-order-cancel {
  background: #e2e8f0;
  color: #0f172a;
}

.st-reset-order-prepare {
  background: #475569;
  color: #fff;
}

.st-reset-order-confirm {
  background: #dc2626;
  color: #fff;
}

.st-reset-order-actions button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

@media (max-width: 640px) {
  .st-reset-order-actions {
    flex-direction: column-reverse;
  }

  .st-reset-order-actions button {
    width: 100%;
  }
}
