@font-face {
  font-family: "Open Sans Local";
  src: url("/fonts/open-sans-light.woff?v=1") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Inter Local";
  src: url("/fonts/inter-semibold.woff?v=1") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

html { background: #fff; }
body { margin: 0; background: #fff; color: #111; }

.withdrawal-page {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: #fff;
}

.withdrawal-header {
  display: flex;
  width: min(390px, 100%);
  height: 100px;
  margin: 0 auto;
  padding: 30px 30px 0;
  align-items: flex-start;
  justify-content: space-between;
  box-sizing: border-box;
}

.withdrawal-header a:first-child {
  display: flex;
  width: 144px;
  min-height: 44px;
  align-items: flex-start;
}

.withdrawal-header img {
  display: block;
  width: 144px;
  height: 35px;
  object-fit: contain;
}

.withdrawal-header a:last-child {
  display: flex;
  min-height: 44px;
  padding-top: 9px;
  align-items: flex-start;
  color: #1d1d1d;
  font-family: "Inter Local", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
  text-align: right;
  text-decoration: none;
  white-space: nowrap;
}

.withdrawal-header a:focus-visible {
  border-radius: 3px;
  outline: 3px solid #ffce00;
  outline-offset: 3px;
}

.withdrawal-main {
  width: min(330px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 164px;
  font-family: "Open Sans Local", "Open Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 25.2px;
}

.withdrawal-main h1 {
  margin: 0 0 20px;
  font: inherit;
  font-size: 24px;
  line-height: 33.6px;
  text-align: center;
}

.withdrawal-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.withdrawal-step { margin: 0; }
.withdrawal-step + .withdrawal-step { margin-top: 20px; }

.withdrawal-step p {
  margin: 0 0 20px;
  text-align: center;
}

.withdrawal-step:nth-child(2) p { text-align: left; }

.withdrawal-step img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 370px) {
  .withdrawal-header {
    padding-right: 20px;
    padding-left: 20px;
  }

  .withdrawal-header a:first-child,
  .withdrawal-header img {
    width: 132px;
    height: auto;
  }

  .withdrawal-header a:last-child { font-size: 12px; }
  .withdrawal-main { width: calc(100% - 40px); }

  body:has(.withdrawal-page) #messengersFixedWidget {
    right: 4px;
    bottom: 12px;
    width: 48px;
    gap: 6px;
  }

  body:has(.withdrawal-page) #messengersFixedWidget a {
    width: 44px;
    height: 44px;
  }

  body:has(.withdrawal-page) #messengersFixedWidget a::before,
  body:has(.withdrawal-page) #messengersFixedWidget .max-link span {
    width: 36px;
    height: 36px;
  }

  body:has(.withdrawal-page) #messengersFixedWidget .telegram-link span {
    width: 22px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .withdrawal-page { scroll-behavior: auto; }
}
