.create {
  text-align: center;

  h1 {
    font-size: 34px;
    margin-block-end: 10px;
  }

  p {
    max-width: 500px;
    margin: 0px auto;
    font-size: 16px;
    line-height: 24px;
  }

  .create__action {
    background-color: #fff;
    border-radius: 5px;
    margin-top: 50px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 15%);
    border: 1px solid var(--color-silver);

    .create__action_phase {
      display: block;
      background-color: #f5f5f5;
      color: #797874;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      display: flex;
      justify-content: space-evenly;

      > div {
        padding: 16px;
        width: 50%;
        border-bottom: 2px solid #eee;

        span {
          font-weight: 600;
        }
      }

      .create__action_active {
        border-color: var(--color-green);
      }

      div:nth-of-type(1) {
        border-bottom-color: var(--color-green);
      }
    }

    .create__action_loading {
      padding: 10px 0px;

      span {
        color: var(--color-green);
        font-weight: 600;
      }
    }

    .create__action_terms {
      > div {
        text-align: left;
        padding: 10px 0px;

        h3 {
          font-size: 18px;
          color: #797874;
          margin: 0px;
        }

        p {
          max-width: 100%;
          font-size: 14px;
          line-height: 20px;
        }

        input {
          margin-top: 8px;
          width: 100%;
          font-size: 16px;
          padding: 10px;
          border-radius: 5px;
          border: 1px solid var(--color-silver);
        }

        > div {
          width: 100%;
        }
      }
    }

    .create__action_content {
      padding: 20px;

      .create__action_content_unauthenticated {
        padding: 20px 0px;

        img {
          margin-bottom: 10px;
        }

        h3 {
          margin-block-start: 0px;
          margin-block-end: 0px;
        }
      }

      // List of NFT items
      .create__action_select_list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0px, 1fr));
        grid-auto-rows: 1fr;
        gap: 30px;
        padding: 20px;
        margin: 0px auto;
      }

      // Collect more button
      .create__action_select_more {
        padding: 20px 0px 10px 0px;

        button {
          background-color: var(--color-green);
          padding: 14px 16px;
          border-radius: 4px;
          color: white;
          font-weight: 600;
          font-size: 16px;
          transition: 100ms ease-in-out;
          border: none;

          &:hover {
            opacity: 0.8;
          }
        }
      }
    }
  }

  .create__button {
    padding-top: 30px;

    button {
      background-color: var(--color-green);
      padding: 14px 16px;
      border-radius: 4px;
      color: white;
      font-weight: 600;
      font-size: 16px;
      transition: 100ms ease-in-out;
      margin-right: 18px;
      border: none;
      width: 100%;
      transition: 100ms ease-in-out;

      &:hover {
        opacity: 0.8;
      }

      &:disabled {
        cursor: not-allowed;
        background-color: #0d5a5e;
      }

      &:disabled:hover {
        opacity: 1 !important;
      }
    }
  }
}

// Responsive
@media screen and (max-width: 1040px) {
  // FIXME: unnest structure
  .create {
    .create__action {
      .create__action_content {
        .create__action_select_list {
          grid-template-columns: repeat(2, minmax(0px, 1fr));
        }
      }
    }
  }
}

@media screen and (max-width: 740px) {
  // FIXME: unnest structure
  .create {
    .create__action {
      .create__action_content {
        .create__action_select_list {
          grid-template-columns: repeat(1, minmax(0px, 1fr));
          padding: 0px;
        }
      }
    }
  }
}
