.content-holder {
  width: 890px;
}

/* Credit Redemption Section */
.credit-redemption-section {
  margin-bottom: 32px;
}

.credit-redemption-card {
  background: var(--form-surface);
  border: 1px solid var(--primary-color);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.credit-redemption-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.credit-redemption-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.credit-redemption-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.credit-redemption-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.8;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  color: var(--primary-color);
}

.credit-redemption-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.credit-step-card {
  background: var(--form-surface);
  border: 1px solid var(--borders);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 122px;
}

.credit-step-badge {
  background: var(--primary-color);
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 12px;
  text-align: center;
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
}

.credit-step-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: normal;
  color: var(--primary-text);
  margin: 0;
}

.create-account-form-holder {
  visibility: visible;
}

.create-account-form-header {
  gap: 20px;
  display: flex;
  justify-content: space-between;
}

.create-account-form-headers {
  place-items: start;
}

h1 {
  text-align: left;
}

h2 {
  color: var(--primary-text);
}

.account-type-toggle-holder {
  display: flex;
  gap: 8px;
  background: var(--form-surface);
  border: 1px solid var(--borders);
  padding: 5px;
  border-radius: 15px;
  margin-top: 6px;
  height: 56px;
}

.account-type-toggle-holder div {
  color: var(--primary-color);
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 500;
  user-select: none;
  align-content: center;
  padding: 0 20px;
}

.account-type-toggle-holder div.active {
  background: var(--primary-color);
  color: white;
}

.create-account-form-content {
  margin-top: 30px;
}

.startup {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--borders);
  margin-bottom: 46px;
}

.password-requirements {
  font-weight: 500;
  margin-top: 15px;
  font-size: 14px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--borders);
  color: var(--secondary-text);
  display: block;
  margin-bottom: 40px;
}

.legals {
  font-size: 14px;
  flex-direction: column;
  display: flex;
  gap: 17px;
}

.button-container {
  margin: 46px auto 0;
  width: 582px;
}

.login-instead {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

/* Show startup section when professional class is present */
.content-holder.professional .startup {
  display: block;
}

/* Hide the default "Yes" text initially */
input[type="checkbox"] + label span.yes-text {
  color: var(--primary-color);
  display: none;
}

input[type="checkbox"] + label span.no-text {
  display: inline;
}

/* Show "Yes" text when checked */
input[type="checkbox"]:checked + label span.yes-text {
  display: inline;
}

input[type="checkbox"]:checked + label span.no-text {
  display: none;
}

/* smaller than 1060 */
@media (max-width: 1059px) {
  .content-holder {
    width: 100%;
    padding: 0;
    gap: 20px;
  }
}

/* smaller than 660 */
@media (max-width: 659px) {
  .create-account-form-header {
    flex-direction: column;
  }

  .create-account-form-headers h2 {
    margin-top: 32px;
  }

  .account-type-toggle-holder {
    width: fit-content;
    align-self: center;
    margin-top: 32px;
  }

  .create-account-form-content {
    margin-top: 60px;
  }

  /* Credit Redemption Section */
  .credit-redemption-card {
    padding: 16px 8px 8px 8px;
  }

  .credit-redemption-header {
    justify-content: center;
    gap: 0;
  }

  .credit-redemption-icon {
    width: 32px;
    height: 32px;
    align-content: center;
  }

  .credit-redemption-title {
    font-size: 18px;
    line-height: 20px;
    -webkit-text-fill-color: unset;
    color: var(--primary-color);
    white-space: normal;
    word-wrap: break-word;
  }

  .credit-redemption-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .credit-step-card {
    min-height: auto;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 18px;
  }

  .credit-step-badge {
    flex-shrink: 0;
    align-self: flex-start;
  }

  .credit-step-text {
    font-weight: 500;
    flex: 1;
  }
}
