@charset "utf-8";

#exercise {
  .code-module {
    padding: 80px 250px;
    text-align: center;

    .title {
      font-size: 18px;
      margin-bottom: 24px;
    }

    .input-block {
      margin-bottom: 24px;

      .input {
        width: 350px;

        input {
          border-top-left-radius: 22px;
          border-bottom-left-radius: 22px;
        }
      }

      .button {
        width: 150px;
        border-top-right-radius: 22px;
        border-bottom-right-radius: 22px;
      }

      .error {
        color: #ff7554;
        text-align: left;
      }
    }

    .tip {
      .left {
        float: left;
      }

      .right {
        float: right;
      }
    }
  }


  .work-body {
    .work-nav {
      margin-bottom: 20px;

      .left {
        display: inline-block;
        padding-left: 5px;
        font-size: 16px;
        font-weight: 600;
      }

      .right {
        float: right;
      }
    }
  }

  .sentence-code {
    margin-top: -10px;
    margin-bottom: 10px;

    a {
      margin: 3px;
    }
  }
}

.code-module-modal {
  .title {
    height: 38px;
    line-height: 38px;
    font-size: 18px;
    border-bottom: 1px solid #fff;
    font-weight: bold;
  }

  .desc {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 100px;

    .input {
      width: 100%;
      background: #fff;

      input {
        background: #f7f7f7;
        border: none;
      }
    }

    .tip {
      .left {
        float: left;
      }

      .right {
        float: right;
      }
    }

    .error {
      color: #ff7554;
      text-align: left;
      width: 50%;
      float: left;
    }
  }

  .btn-list {
    text-align: center;
    margin-bottom: 15px;

    .btn {
      display: inline-block;
      width: 70px;
      line-height: 35px;
      height: 35px;
      border: 1px solid #fff;
      background: #006DAA;
      cursor: pointer;
    }

    .btn:hover {
      background: darken(#006DAA, 5);
    }
  }
}