.withdrawal-page {
  /* Shared visual treatment for Smart Fuel Pass and Ultima Payments. */
  --withdrawal-blue: #0e4f92;
  --withdrawal-blue-dark: #072f5f;
  --withdrawal-ink: #0a294b;
  --withdrawal-line: #cbd8e5;
  background: #edf5fd;
  color: var(--withdrawal-ink);
}

.withdrawal-hero {
  background: #0b478d;
  color: #fff;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.withdrawal-hero__inner {
  padding: clamp(3rem, 6vw, 5rem) 1rem clamp(5.5rem, 10vw, 8rem);
  position: relative;
  z-index: 1;
}

.withdrawal-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.12;
  margin: 0 auto;
  max-width: 74rem;
}

.withdrawal-hero__curve {
  bottom: -1px;
  display: block;
  fill: #edf5fd;
  height: clamp(3.75rem, 7vw, 6.5rem);
  left: 0;
  position: absolute;
  width: 100%;
}

.withdrawal-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(129, 180, 226, 0.28), transparent 30rem),
    linear-gradient(180deg, #edf5fd 0%, #e8f2fb 100%);
  padding: clamp(1.75rem, 4vw, 3.5rem) 1rem clamp(4rem, 8vw, 7rem);
}

.withdrawal-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(14, 79, 146, 0.13);
  border-radius: 0.8rem;
  box-shadow: 0 1rem 2.25rem rgba(7, 47, 95, 0.2);
  margin: 0 auto;
  max-width: 45rem;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.withdrawal-legal {
  border-bottom: 1px solid #e1ebf4;
  color: var(--withdrawal-ink);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
  padding: 0 0 1.75rem;
  text-align: center;
}

.withdrawal-form {
  margin-top: 2rem;
}

.withdrawal-grid {
  display: grid;
  gap: 1.15rem 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.withdrawal-field--wide {
  grid-column: 1 / -1;
}

.withdrawal-field {
  color: var(--withdrawal-ink);
  display: grid;
  font-size: 0.92rem;
  font-weight: 600;
  gap: 0.45rem;
}

.withdrawal-field input,
.withdrawal-field select {
  appearance: none;
  background: #fff;
  border: 1px solid var(--withdrawal-line);
  border-radius: 0.8rem;
  color: var(--withdrawal-ink);
  font: inherit;
  font-weight: 400;
  min-height: 3.25rem;
  padding: 0.75rem 0.9rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.withdrawal-field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--withdrawal-blue) 50%),
    linear-gradient(135deg, var(--withdrawal-blue) 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) 1.4rem,
    calc(100% - 0.85rem) 1.4rem;
  background-repeat: no-repeat;
  background-size: 0.32rem 0.32rem;
  padding-right: 2.5rem;
}

.withdrawal-field input:focus,
.withdrawal-field select:focus {
  border-color: var(--withdrawal-blue);
  box-shadow: 0 0 0 0.22rem rgba(14, 79, 146, 0.13);
  outline: none;
}

.withdrawal-required {
  color: #c42b37;
}

.withdrawal-declaration {
  align-items: flex-start;
  background: #f3f8fd;
  border: 1px solid #d5e3f0;
  border-radius: 1rem;
  color: var(--withdrawal-ink);
  display: grid;
  font-size: 0.92rem;
  gap: 0.85rem;
  grid-template-columns: auto 1fr;
  line-height: 1.65;
  margin-top: 1.5rem;
  padding: clamp(1rem, 3vw, 1.4rem);
}

.withdrawal-declaration input {
  accent-color: var(--withdrawal-blue);
  height: 1.2rem;
  margin-top: 0.2rem;
  width: 1.2rem;
}

.withdrawal-verification {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.withdrawal-verification__label {
  color: var(--withdrawal-ink);
  font-size: 0.9rem;
  font-weight: 600;
  padding-top: 0.7rem;
}

.withdrawal-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.withdrawal-submit {
  background: var(--withdrawal-blue);
  border: 0;
  border-radius: 0.85rem;
  box-shadow: 0 0.7rem 1.5rem rgba(14, 79, 146, 0.2);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-width: 12rem;
  padding: 0.95rem 1.5rem;
  transition: background 160ms ease, transform 160ms ease;
}

.withdrawal-submit:hover {
  background: var(--withdrawal-blue-dark);
  transform: translateY(-1px);
}

.withdrawal-submit:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.withdrawal-status {
  border-radius: 1rem;
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
}

.withdrawal-status[data-state="success"] {
  background: #edf7dd;
  border: 1px solid #bad985;
  color: #234c0f;
}

.withdrawal-status[data-state="error"] {
  background: #fff2f2;
  border: 1px solid #e3b6ba;
  color: #731b25;
}

.withdrawal-status h3,
.withdrawal-status p {
  margin: 0;
}

.withdrawal-status h3 {
  font-size: 1.05rem;
}

.withdrawal-status__message {
  margin-top: 0.35rem !important;
}

.withdrawal-status__reference {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.86rem;
  margin-top: 0.55rem !important;
}

.withdrawal-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

@media (max-width: 720px) {
  .withdrawal-hero__inner {
    padding-bottom: 5rem;
  }

  .withdrawal-grid {
    grid-template-columns: 1fr;
  }

  .withdrawal-field--wide {
    grid-column: auto;
  }

  .withdrawal-card {
    border-radius: 0.7rem;
  }

  .withdrawal-verification {
    display: grid;
    justify-content: stretch;
  }

  .withdrawal-turnstile {
    max-width: 100%;
    overflow: hidden;
  }

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