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

.container {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.message {
  text-align: center;
  margin-top: 20px;
}

.banner {
  flex-shrink: 0;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;

  :global {
    .bg {
      z-index: -1;
      position: absolute;
      left: 0;
      right: 0;
      width: 100%;
      height: 90%;
      background: linear-gradient(to bottom, @blue-one, @blue-two);
    }

    .title, .content {
      color: white;
      font-weight: lighter;
    }

    .title {
      margin-top: 40px;
    }

    .content {
      margin: 10px 15% 24px;
      align-self: stretch;
      display: flex;
      justify-content: center;
    }

    .content .large {
      font-size: 1.6rem;
      margin-right: 6px;
      font-weight: normal;
    }
  }

  .card {
    flex-shrink: 0;
    align-self: stretch;
    background-color: white;
    padding: 20px;
    margin: 0 10px;
    box-shadow: 1px 1px 8px rgba(0,0,0,.1);
    display: flex;
    align-items: center;

    :global {
      .left {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
      }

      .right {
        flex-shrink: 0;
        margin-left: 8px;
      }

      .line {
        margin: 4px 0;
      }

      .title2 {
        font-weight: lighter;
      }

      .app-btn {
        user-select: none;
        white-space: nowrap;
        width: 100%;
        text-align: center;
        background-color: @blue-one;
        @btn-height: 28px;
        height: @btn-height;
        line-height: @btn-height;
        padding: 0 24px;
        border-radius: @btn-height / 2;
        color: white;
        font-size: 0.8rem;
        box-shadow: 1px 1px 8px rgba(0,0,0,.2);
        transition: background-color .18s;

        &:active {
          background-color: lighten(@blue-one, 10%);
        }
      }
    }
  }
}

.controller {
  flex-shrink: 0;
  margin: 10px;
}

.list {
  flex-grow: 1;
}

.item {
  height: 98%;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  border: 1px solid @bg-color;
  padding: 8px 10px;
  font-size: 0.9rem;
  line-height: 1.8;

  :global {
    .line {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .amount {
      font-size: 1rem;
    }
    .amount.active {
      color: @blue-one;
    }

    .small {
      flex-shrink: 0;
      font-weight: lighter;
      font-size: 0.8rem;
    }

    .detail {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
}
