
@import '../../global.less';

.container {
  height: 100%;
  background: linear-gradient(to bottom, @purple-one, @purple-two);
  position: relative;
  display: flex;
  flex-direction: column;

  :global {
    .header {
      background-color: rgba(255,255,255,0);
      color: white;
    }
  }
}

.body {
  flex-grow: 1;
  overflow-x: hidden;
  overflow-y: auto;
}

.none {
  text-align: center;
  width: 100%;
  padding-top: 40%;
}

.card {
  background-color: #fff;
  margin: 10px;
  padding-bottom: 20px;
  box-shadow: 1px 1px 8px rgba(0, 0, 0, .2);
  min-height: 60%;
}

.section {
  @pLeft: 48px;
  @pTop: 20px;
  padding-left: @pLeft;
  padding-right: 30px;
  padding-top: @pTop;
  position: relative;

  &::before {
    content: '';
    display: block;
    position: absolute;
    @size: 10px;
    width: @size;
    height: @size;
    background-color: @purple-two;
    border-radius: @size / 2;
    top: @pTop + @size / 2 + 2px;
    left: @pLeft / 2 - @size / 2;
  }

  :global {
    .coin-selection {
      display: flex;
      align-items: baseline;

      .ant-select {
        flex-grow: 1;
        margin: 0 4px;
      }
    }

    .rate-trans {
      display: flex;
      align-items: baseline;
      padding: 4px 8px;
      background-color: #eee3f9;
      margin: 8px 0;
      font-size: 0.8rem;

      .ant-input {
        width: 60px;
        margin: 0 4px;
      }
    }

    .address {
      font-family: monospace;
      word-break: break-all;
    }
  }
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;

  :global {
    canvas {
      margin: 10px 0;
    }
  }
}
