.refund-apply-wrap {
  text-align: left;
}

.refund-action-stack {
  display: grid;
  gap: 12px;
}

.refund-action-stack .refund-button {
  width: 100%;
  min-height: 54px;
  font-size: 17px;
}

.refund-guide-toggle {
  background: #fff7df;
  border-color: #9a6b18;
  color: #714a08;
}

.refund-button-disabled {
  background: #ddd;
  color: #666;
  cursor: not-allowed;
}

.refund-privacy-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.refund-guide[hidden] {
  display: none;
}

.refund-guide {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.refund-guide-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.refund-guide-heading h2 {
  margin: 0;
}

.refund-guide-heading span {
  color: var(--muted);
  font-size: 13px;
}

.refund-guide-list {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.refund-guide-step {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #faf9f6;
  counter-increment: guide-step;
}

.refund-guide-step h3 {
  margin: 0 0 8px;
  font-size: 19px;
  overflow-wrap: anywhere;
}

.refund-guide-step h3::before {
  content: counter(guide-step) ". ";
  color: var(--blue);
}

.refund-guide-step p {
  margin: 9px 0 0 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  overflow-wrap: anywhere;
}

.refund-guide-step code {
  white-space: normal;
  overflow-wrap: anywhere;
}

.refund-guide-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.refund-guide-flags span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #e9eef4;
  color: #394c61;
  font-size: 12px;
  font-weight: 800;
}

.refund-guide-empty {
  margin: 14px 0 0;
  padding: 14px;
  background: #f7f6f2;
}

@media (max-width: 760px) {
  .refund-guide-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .refund-guide-step {
    padding: 14px;
  }
}
