
.mic-btn {
    background-color: #222;
    color: #75c3c5;
    border: 1px solid #75c3c5;
    width: 50px;
    height: 28px;
    font-size: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 0;
    line-height: 1;
}

.wj-field-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 4px;
    margin-bottom: 10px;
    max-width: 250px;
}

.wj-progress-bar {
    height: 5px;
    background-color: #75c3c5;
    width: 100px;
    max-width: 130px;
    transition: width 0.3s;
    border-radius: 3px;
    margin-right: 8px;
}

textarea {
  overflow-y: auto;
  resize: vertical;
}


/* Contemporary styling for each textarea block */
textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #444;
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.wj-field-tools {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #aaa;
  padding-bottom: 16px;
  border-bottom: 1px solid #333;
  margin-bottom: 20px;
}

textarea:focus {
  outline: none;
  border-color: #75c3c5;
  box-shadow: 0 0 0 2px rgba(117,195,197,0.2);
}

/* Modern spacing and layout for textareas */
#wj-q1, #wj-q2, #wj-q3, #wj-q4, #wj-q5, #wj-q6 {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #75c3c7;
  margin-bottom: 16px;
  line-height: 1.5;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
  overflow-y: auto;
  resize: vertical;
}

#wj-q1:focus, #wj-q2:focus, #wj-q3:focus, #wj-q4:focus, #wj-q5:focus, #wj-q6:focus {
  outline: none;
  border-color: #75c3c5;
  box-shadow: 0 0 0 2px rgba(117,195,197,0.2);
}

.wj-field-tools {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
}


.wj-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.wj-progress-bar {
  height: 6px;
  background-color: #75c3c5;
  flex-grow: 1;
  max-width: 130px;
  transition: width 0.3s;
  border-radius: 3px;
}


/* Hide legacy counters */
[id^="wj-q"][id$="-counter"] {
  display: none !important;
}

/* Style only inline counter */
.wj-inline-counter {
  font-size: 0.9rem;
  color: #aaa;
  white-space: nowrap;
}
