textarea {
  resize: vertical;
  height: 300px;
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f0f0f0;
  font-size: 16px;
}
.output-box {
  background: #ffffff;
  height: 300px;
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  overflow-y: auto;
  white-space: pre-wrap;
  position: relative;
}
.blinking-cursor {
  display: inline-block;
  width: 1px;
  background-color: #000;
  animation: blink 1s step-start infinite;
  position: absolute;
}
@keyframes blink {
  50% { opacity: 0; }
}
.clear-btn {
  cursor: pointer;
  color: gray;
  font-size: 18px;
  position: absolute;
  right: 10px;
  top: 35px;
}
.file-label {
  font-weight: 500;
  margin-bottom: 5px;
  display: block;
}
.word-count {
  font-size: 14px;
  color: gray;
  margin-top: 3px;
  text-align: right;
}
