@import '../../variables.scss';

#{$biz-css-prefix}-form {
  position: relative;
  z-index: 1;
  background-color: #31a8bf;
  color: #fff;
  text-align: center;
  padding: 34px 20px 40px;
  box-sizing: border-box;
  font-size: 14px;

  textarea,
  input {
    display: block;
    resize: none;
    outline: none;
    border: none;
    background-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    font-size: 14px;
    padding: 10px;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.85);
  }

  textarea::input-placeholder,
  input::input-placeholder {
    color: #929292;
  }

  input:disabled,
  textarea:disabled {
    -webkit-opacity: 1;
    opacity: 1;
  }

  .disable-submit {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 8;
    width: 100%;
    height: 100%;
  }

  .form-input-component {
    width: 100%;
    height: 40px;
    border: 1PX solid #cccccc;
    padding: 0 10px;
    box-sizing: border-box;
    background-color: #fff;
    color: rgba(0, 0, 0, 0.85);
  }

  .form-input-placeholder {
    color: #929292;
    width: 100%;
    height: 100%;
    font-size: 14px;
    display: flex;
    align-items: center;
  }

  .form-input {
    width: 100%;
    height: 100%;
    font-size: 14px;
    display: flex;
    align-items: center;
  }

  &-title {
    font-size: 24px;
    line-height: 1.5;
    font-weight: bold;
    word-break: break-all;
  }

  &-content {
    text-align: left;
  }

  &-submit-success {
    width: 100%;
    padding: 20px 0;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
  }

  &-submit {
    margin-top: 38px;
    min-height: 52px;
    padding: 15px 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    color: var(--bluedot-form-btn-text);
    background-color: var(--bluedot-form-btn);

    &.disable {
      filter: brightness(0.8);
    }
  }
}
