.refund-help-page {
  background: #f8fbff;
}

.refund-help-page::before,
.refund-help-page::after {
  display: none;
}

.refund-help-page main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 64px;
}

.refund-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: center;
  min-height: min(640px, calc(100vh - 110px));
}

.refund-hero-copy {
  padding: 12px 0;
}

.refund-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3rem, 10vw, 7.4rem);
}

.refund-hero-copy .lead {
  max-width: 680px;
  color: #283947;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 760;
}

.refund-hero-media {
  position: relative;
  min-height: 420px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0, 238, 255, 0.26);
  border-radius: 8px;
  background: #ffffff;
  box-shadow:
    0 26px 74px rgba(0, 79, 124, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.88);
}

.refund-hero-media::before,
.refund-hero-media::after {
  content: "";
  position: absolute;
  width: 82px;
  height: 136px;
  border: 5px solid rgba(15, 118, 110, 0.44);
  border-radius: 50%;
  top: 44%;
}

.refund-hero-media::before {
  left: 30px;
  border-right-color: transparent;
}

.refund-hero-media::after {
  right: 30px;
  border-left-color: transparent;
}

.refund-hero-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(82%, 340px);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(15, 23, 42, 0.26));
  transform: rotate(-2deg);
}

.refund-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 6px 0 22px;
}

.refund-step,
.refund-report-section {
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(22, 22, 22, 0.1);
}

.refund-step {
  display: flex;
  gap: 14px;
  min-height: 170px;
  padding: 18px;
}

.refund-step span {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--green);
  font-weight: 950;
}

.refund-step h2 {
  margin-bottom: 8px;
  font-size: 1.32rem;
}

.refund-step p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.45;
}

.refund-step.caution {
  border-color: rgba(251, 188, 4, 0.44);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 223, 0.88)),
    radial-gradient(circle at 15% 10%, rgba(251, 188, 4, 0.22), transparent 30%);
}

.refund-step.caution span {
  background: #b45309;
}

.refund-report-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1fr);
  gap: 26px;
  padding: 24px;
}

.refund-report-intro h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.refund-report-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 760;
}

.refund-report-form {
  display: grid;
  gap: 14px;
}

.request-type-field {
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  padding: 16px;
  background: rgba(15, 118, 110, 0.06);
}

.request-type-field small {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
}

.request-panel {
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(31, 42, 55, 0.12);
  padding-top: 18px;
}

.request-panel[hidden] {
  display: none !important;
}

.request-panel-heading {
  display: grid;
  gap: 4px;
}

.request-panel-heading h3 {
  margin: 0;
  font-size: 1.42rem;
}

.request-panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.refund-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.refund-field-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.refund-report-form label {
  display: grid;
  gap: 7px;
  color: #17202a;
  font-size: 1.04rem;
  font-weight: 900;
}

.refund-report-form input,
.refund-report-form select,
.refund-report-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(31, 42, 55, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
  font-size: 1.05rem;
  outline: none;
}

.refund-report-form select {
  min-height: 50px;
}

.refund-report-form input:focus,
.refund-report-form select:focus,
.refund-report-form textarea:focus {
  border-color: rgba(15, 118, 110, 0.7);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
}

.refund-report-form textarea {
  resize: vertical;
}

.refund-upload {
  border: 1px dashed rgba(15, 118, 110, 0.36);
  border-radius: 8px;
  padding: 14px;
  background: rgba(15, 118, 110, 0.06);
}

.refund-upload small {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.35;
}

.refund-submit {
  justify-self: start;
  min-height: 54px;
  font-size: 1.05rem;
  cursor: pointer;
}

.refund-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.refund-form-status {
  display: none;
  grid-column: 2;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  padding: 14px;
  background: rgba(15, 118, 110, 0.1);
  color: #073b35;
  font-weight: 800;
}

.refund-form-status.is-visible {
  display: block;
}

.hidden-field {
  display: none !important;
}

@media (max-width: 900px) {
  .refund-help-page main {
    padding-top: 26px;
  }

  .refund-hero,
  .refund-report-section {
    grid-template-columns: 1fr;
  }

  .refund-hero {
    min-height: 0;
  }

  .refund-hero-media {
    min-height: 330px;
  }

  .refund-steps,
  .refund-field-grid,
  .refund-field-grid.three {
    grid-template-columns: 1fr;
  }

  .refund-step {
    min-height: 0;
  }

  .refund-form-status {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .refund-help-page main {
    width: min(100% - 24px, 1180px);
  }

  .refund-hero-copy h1 {
    font-size: clamp(2.7rem, 17vw, 4.8rem);
  }

  .refund-hero-media {
    min-height: 260px;
  }

  .refund-hero-media::before,
  .refund-hero-media::after {
    width: 50px;
    height: 88px;
    border-width: 4px;
  }

  .refund-hero-media::before {
    left: 14px;
  }

  .refund-hero-media::after {
    right: 14px;
  }

  .refund-report-section {
    padding: 18px;
  }

  .refund-submit {
    width: 100%;
  }
}
