#noypi-tcc-container {
  margin: 40px 0;
}

.noypi-tcc-textarea {
  position: relative;
  width: 100%;
}

#noypi-tcc-text-input {
  min-height: 250px;
  padding-right: 40px;
  resize: none;
}

.noypi-tcc-clear-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  background: #f7f8f9;
  color: #575760;
  border: none;
}

.noypi-tcc-clear-button.hidden {
  display: none;
}

.noypi-tcc-text-stats-copy-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 5px;
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.noypi-tcc-text-stats {
  color: #575760;
  font-size: 15px;
}

.noypi-tcc-copy-button {
  background: #f7f8f9;
  color: #575760;
  font-size: 15px;
  padding: 0.375rem 1rem;
  border: none;
}

.noypi-tcc-clear-button:hover,
.noypi-tcc-clear-button:focus,
.noypi-tcc-copy-button:hover,
.noypi-tcc-copy-button:focus {
  background-color: #f0f0f0;
  color: #222;
}

.noypi-tcc-case-buttons {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 767px) {
  #noypi-tcc-text-input {
    min-height: 200px;
    padding-right: 30px;
  }

  .noypi-tcc-case-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .noypi-tcc-text-stats {
    font-size: 13px;
  }

  .noypi-tcc-copy-button,
  .noypi-tcc-case-buttons button {
    font-size: 0.875rem;
  }
}
