/*
* textarea with progress bar
*
----------------
* DEPENDENCIES:
----------------
* variables.css
*/

.progress-textarea textarea {
  border: none;
  flex: 1;
  font-size: 14px;
  font-weight: 200;
  line-height: 1.86;
  min-height: 170px;
  padding: 10px;
  resize: none;
  width: 100%;
}

.progress-textarea .progress {
  background: #b3f4d7;
  border-radius: 2px;
  height: 20px;
  margin: 4px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.progress-textarea .progress .bar {
  background: #22b573;
  bottom: 0;
  height: 20px;
  left: 0;
  min-width: 1%;
  position: absolute;
  transition: width .3s ease-out;
  width: 1%;
  z-index: 1;
}

.progress-textarea .progress .tick {
  left: calc(50% - 6px);
  opacity: 0;
  position: absolute;
  top: 3px;
  width: 12px;
  z-index: 2;
}

.progress-textarea .progress.complete .tick {
  animation-duration: .25s;
  animation-fill-mode: forwards;
  animation-name: checkmark;
}

.char-limit {
  font-size: 12px;
}
