
.container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.textarea-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

textarea {
  width: 100%;
  min-height: 500px !important;
  box-sizing: border-box;
  padding: 10px;
  font-size: 14px;
  line-height: 1.5;
  background: #ffff !important;
}

.output-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.output {
  min-height: 300px;
  padding: 10px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  transition: min-height 0.3s ease;
}

button {
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  margin-right: 10px;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

@media (max-width: 768px) {
  .textarea-container, .output-container {
      flex-direction: column;
  }

  textarea, .output {
      width: 100%;
  }
}

.line-container {
  display: flex;
  align-items: flex-start;
}

.line-number {
  text-align: right;
  padding-right: 2px;
  color: #888;
  font-size: 14px;
  line-height: 1.5;
  padding-left: 2px;
  margin-right: 10px;
}

.line-content {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  white-space: pre-wrap;
  overflow-x: auto;
}

.added-text {
  background-color: rgb(225, 222, 222);
  font-weight: bold;
}

.added-inline{
  background-color:lightgreen;
}

.added-inline{
  background-color: lightpink;
}

label {
  background-color: #e6e9e9 !important;
  border: none;
  color: #333 !important;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  transition: background-color .3s;
}
