$background: #F6F6F6;

.container {
  position: relative;
  box-sizing: border-box;
  max-width: 680px;
  margin: 0 auto;
  margin-bottom: 20px;
  font-family: 'Open Sans', sans-serif;
  min-height: 400px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  background: $background;
  padding: 10px 12px;
  border-bottom: 1px solid #E5E5E5;
  border-radius: 4px 4px 0 0;
  transition: all ease-in-out 0.3s;
}

.comment-input {
  resize: none;
  width: 100%;
  border: transparent;
  font-size: 20px;
  padding: 15px;
  box-sizing: border-box;
  margin-top: 15px;
  transition: all ease-in-out 0.3s;
}

.comment-input:disabled {
  background: #f6f6f6;
}

.btn-block {
  content: "";
  padding-top: 15px;
  height: 50px;
}

.btn-block--disabled {
  composes: btn-block;
}

.btn-block--disabled div {
  cursor: not-allowed;
}

.button {
  position: relative;
  cursor: pointer;
  display: inline-block;
  background-image: linear-gradient(to top, #f4f1ee, #fff);
  border-radius: 50%;
  box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, .3), inset 0px 4px 1px 1px white, inset 0px -3px 1px 1px rgba(204, 198, 197, .5);
  float: left;
  margin: 0 15px;
  height: 40px;
  width: 40px;
  font-size: 20px;
  transition: all .1s linear;
}

.button:first-child {
  margin-left: 0;
}

.button i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.button:after {
  color: #e9e6e4;
  content: "";
  display: block;
  font-size: 30px;
  text-decoration: none;
  text-shadow: 0px -1px 1px #bdb5b4, 1px 1px 1px white;
  position: absolute;
  height: 30px;
  width: 30px;
}

.button:hover {
  background-image: linear-gradient(to top, #fff, #f4f1ee);
  color: #0088cc;
}

.button:active {
  background-image: linear-gradient(to top, #efedec, #f7f4f4);
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, .4), inset 0px -3px 1px 1px rgba(204, 198, 197, .5);
}

.button:active:after {
  color: #dbd2d2;
  text-shadow: 0px -1px 1px #bdb5b4, 0px 1px 1px white;
}

.good {
  composes: button;
}

.check-confirm {
  composes: button;
  color: green;
}

.check-confirm i {
  opacity: 0.6;
}

.check-confirm:hover {
  color: green;
  i {
    opacity: 1;
  }
}

.good:hover {
  color: green;
}

.bad {
  composes: button;
}

.bad:hover {
  color: red;
}

.cancel-confirm {
  composes: button;
  color: #b1b1b1;
}
.cancel-confirm:hover {
  color: #111;
}

.normal {
  composes: button;
}

.toggle-identity {
  padding: 10px;
}

.checkbox {
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;

  input {
    display: none;

    &+span {
      display: inline-block;
      position: relative;
      padding-left: 20px;

      &:before {
        content: '';
        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        border-radius: 3px;
        margin-right: 5px;
        width: 16px;
        height: 16px;
        border: 1px solid #ccc;
        background: #fff;
      }

      &:after {
        content: '';
        display: block;
        width: 5px;
        height: 10px;
        border-bottom: 2px solid #222;
        border-right: 3px solid #222;
        position: absolute;
        top: 2px;
        left: 5px;
        opacity: 0;
        pointer-events: none;
        transform: scale(10, 10) rotate(45deg);
        transition: all .2s cubic-bezier(0.64, 0.57, 0.67, 1.53);
      }

    }

    &:checked+span:after {
      opacity: 1;
      transform: scale(1, 1) rotate(45deg);
    }

  }

}

.confirm-text {
  padding: 10px;
}