// btn
.ivu-btn {
  border-radius: 10px;
  &.ivu-btn-default {
    background: transparent;
    border-color: #3b427a;
    color: @fontSub;

    &:hover {
      border-color: @fontMain;
      color: @fontMain;
    }
  }
}
// select - ok
.ivu-select {
  .ivu-select-dropdown {
    margin: 10px 0;
    background: rgba(46, 50, 90, 1);
    box-shadow: 0px 0px 40px 0px rgba(4, 5, 17, 0.3);
    border-radius: 20px;
    padding: 20px 15px;
  }
  .ivu-select-item {
    display: inline-block;
    vertical-align: top;
    padding: 0 10px;
    width: 64px;
    height: 36px;
    line-height: 32px;
    border-radius: 10px;
    border: 2px solid #3b427a;
    color: @fontSub;
    margin: 0 5px 10px;
    background-color: transparent;
    text-align: center;

    &:hover,
    &-selected {
      border: 2px solid #4e7cff;
      color: #4e7cff;
    }
  }
  .ivu-select-selection {
    height: 60px;
    padding: 13px;
    font-size: 16px;
    border-radius: 20px;
    text-align: center;
    background-color: #212543 !important;
    border-color: #212543 !important;
  }
  .ivu-select-selected-value {
    color: @fontMain;
  }
  .ivu-select-arrow {
    width: 14px;
    height: 12px;
    right: 20px;
    background-image: url(../images/icon-more.png);
    background-size: 100% 100%;

    &::before {
      content: "";
    }
  }
}
.ivu-select-default {
  .ivu-select-item {
    font-size: 14px !important;
  }
  .ivu-select-selection {
    .ivu-select-placeholder,
    .ivu-select-selected-value {
      padding-left: 16px;
      font-size: 14px;
    }
  }
}
// input -ok
.ivu-input {
  border-radius: 10px;
  background-color: #212543 !important;
  border-color: #212543 !important;
  color: @fontSub;
  // &[disabled] {
  // }
  &-with-prefix {
    padding-left: 40px;
  }
  &-prefix {
    width: 40px;
    padding-left: 10px;
  }
  &-group-append {
    background-color: #212543;
    border-color: #212543;
  }
}

// form -ok
.ivu-form {
  .ivu-form-item-error-tip {
    font-size: 14px;
    margin-top: 5px;
    padding-left: 20px;
    padding-top: 0;
    line-height: 20px;
    white-space: nowrap;
    background-image: url(../images/icon-error-tips.png);
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: 0 2px;
  }
}

// modal
.ivu-modal {
  box-shadow: 0px 0px 40px 0px rgba(4, 5, 17, 0.2);
  border-radius: 20px;
  &-mask {
    background-color: transparent;
  }

  .ivu-modal-content {
    background: #2e325a !important;
  }

  .ivu-modal-header {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border: none;
    padding: 20px 32px;
    background-color: transparent;

    .ivu-modal-header-inner {
      line-height: 24px;
      color: #fff;
      font-size: 18px;
    }
  }
  .ivu-modal-body {
    padding: 0 32px;
  }
  .ivu-modal-footer {
    border: 0;
    padding: 32px;

    button {
      width: 80px;
      margin: 0 10px;
    }
  }

  // modal-confirm
  .ivu-modal-confirm {
    padding: 60px 0 32px 15px;
    text-align: right;
  }
  .ivu-modal-confirm-body {
    font-size: 18px;
    color: @fontMain;
    min-height: 76px;
    position: relative;
    line-height: 25px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 52px;
    text-align: left;

    &::before {
      content: "";
      position: absolute;
      width: 36px;
      height: 36px;
      left: 0;
      top: 0;
      z-index: auto;
      background-image: url(../images/icon-error-big.png);
      background-repeat: no-repeat;
      background-size: 100% 100%;
    }
  }
  .ivu-modal-confirm-footer {
    display: inline-block;
    width: 180px;
    overflow: hidden;
    button {
      width: 80px;
      margin-left: 10px;

      &:nth-of-type(1) {
        float: right;
      }
      &:nth-of-type(2) {
        float: left;
      }
    }
  }
  .ivu-btn-text {
    border: 2px solid rgba(59, 66, 122, 1);
    color: @fontSub;
    background-color: transparent !important;

    &:hover {
      color: @fontMain;
      border-color: @fontMain;
    }
  }
}

// message
.ivu-message {
  .ivu-message-notice-content {
    background: rgba(46, 50, 90, 1);
    box-shadow: 0px 0px 40px 0px rgba(4, 5, 17, 0.2);
    border-radius: 20px;
    font-size: 16px;
    padding: 10px 30px;
    color: @fontMain;
  }
}
