@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  color: #1e1e1e;
  background:
    radial-gradient(circle at 12% 12%, rgba(254, 182, 98, 0.35), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(70, 190, 190, 0.2), transparent 26%),
    #f8f8f9;
}

.withdraw-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", sans-serif;
}

.withdraw-header {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 28px 0;
}

.withdraw-logo {
  display: inline-flex;
}

.withdraw-logo .svg-logo {
  width: 148px;
  height: 32px;
}

.withdraw-main {
  width: min(100% - 40px, 760px);
  margin: auto;
  padding: 28px 0 64px;
}

.withdraw-card {
  overflow: hidden;
  border: 1px solid rgba(70, 190, 190, 0.18);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 8px 12px 32px rgba(76, 82, 105, 0.12);
}

.withdraw-card__intro {
  padding: 40px 40px 30px;
  background:
    radial-gradient(circle at top right, rgba(254, 182, 98, 0.35), transparent 38%),
    linear-gradient(135deg, rgba(229, 28, 66, 0.06), rgba(70, 190, 190, 0.1));
}

.withdraw-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #b71536;
  background: rgba(254, 182, 98, 0.4);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.withdraw-card h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.08;
}

.withdraw-card__intro p {
  max-width: 620px;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.withdraw-form {
  display: grid;
  gap: 22px;
  padding: 34px 40px 40px;
}

.withdraw-field {
  display: grid;
  gap: 9px;
}

.withdraw-field label {
  font-size: 15px;
  font-weight: 700;
}

.withdraw-field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid #cfd1da;
  border-radius: 14px;
  color: #1e1e1e;
  background: #fff;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.withdraw-field input:focus {
  outline: none;
  border-color: #46bebe;
  box-shadow: 0 0 0 4px rgba(70, 190, 190, 0.14);
}

.withdraw-field input[aria-invalid="true"] {
  border-color: #e51c42;
}

.withdraw-helper {
  margin: 0;
  color: #686b77;
  font-size: 13px;
  line-height: 1.55;
}

.withdraw-helper span {
  display: block;
  margin-top: 6px;
  color: #40424a;
}

.withdraw-submit {
  min-height: 56px;
  padding: 14px 24px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #e51c42;
  box-shadow: 0 10px 20px rgba(229, 28, 66, 0.2);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.withdraw-submit:hover:not(:disabled) {
  transform: translateY(-2px);
}

.withdraw-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.withdraw-message {
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
}

.withdraw-message--success {
  color: #145c50;
  background: rgba(70, 190, 190, 0.15);
}

.withdraw-message--error {
  color: #8f1530;
  background: rgba(229, 28, 66, 0.1);
}

.withdraw-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 24px 20px 32px;
  font-size: 13px;
}

.withdraw-footer a {
  color: #555865;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  .withdraw-header,
  .withdraw-main {
    width: min(100% - 28px, 760px);
  }

  .withdraw-header {
    padding: 20px 0;
  }

  .withdraw-main {
    padding: 16px 0 40px;
  }

  .withdraw-card {
    border-radius: 24px;
  }

  .withdraw-card__intro,
  .withdraw-form {
    padding-left: 22px;
    padding-right: 22px;
  }

  .withdraw-card__intro {
    padding-top: 30px;
  }

  .withdraw-form {
    padding-bottom: 28px;
  }
}
