@import './common/variable.scss';
@import './common/color.scss';

.jd-verify-code {
  display: inline-block;
  vertical-align: top;
  .input {
    float: left;
    position: relative;
    width: 225px;
    height: 48px;
    background-color: $white;
    input {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 1px solid $gray;
      border-right: none;
      outline: none;
      padding: 20px;
      box-sizing: border-box;
      color: $black-deep;
      z-index: 2;
      background-color: transparent;
    }
    .placeholder {
      position: absolute;
      top: 50%;
      left: 20px;
      transform: translateY(-50%);
      font-size: 18px;
      color: $gray;
      z-index: 1;
    }
  }
  .send {
    float: left;
    position: relative;
    background-color: $white;
    width: 116px;
    height: 48px;
    box-sizing: border-box;
    border: 1px solid $gray;
    border-left: none;
    text-align: center;
    line-height: 46px;
    color: $blue-2;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    &::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      transform: translateY(-50%);
      width: 1px;
      height: 17px;
      background-color: $gray;
    }
    &.forbidden {
      color: $gray;
      font-size: 18px;
      font-weight: 500;
      cursor: not-allowed;
    }
  }
  .warn {
    color: $gray-8;
    font-size: 14px;
    padding-top: 12px;
    padding-left: 4px;
    .voice {
      color: $blue-3;
      cursor: pointer;
    }
  }
}
