.remove-line-breaks {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9fafb;
  border-radius: 8px;
  font-family: 'Inter', 'Roboto', sans-serif;
}

.remove-line-breaks__input,
.remove-line-breaks__output {
  margin-bottom: 20px;
}

.remove-line-breaks__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.remove-line-breaks__textarea {
  width: 100%;
  height: 150px;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 16px;
  color: #1f2937;
  background-color: #fff;
  resize: vertical;
  box-sizing: border-box;
}

.remove-line-breaks__textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.remove-line-breaks__textarea[readonly] {
  background-color: #f3f4f6;
  cursor: not-allowed;
}

.remove-line-breaks__options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.remove-line-breaks__checkbox-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #4b5563;
}

.remove-line-breaks__checkbox {
  margin-right: 8px;
  accent-color: #3b82f6;
}

.remove-line-breaks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.remove-line-breaks__button {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.remove-line-breaks__button--convert {
  background-color: #3b82f6;
  color: #fff;
}

.remove-line-breaks__button--convert:hover {
  background-color: #2563eb;
}

.remove-line-breaks__button--copy {
  background-color: #10b981;
  color: #fff;
}

.remove-line-breaks__button--copy:hover {
  background-color: #059669;
}

.remove-line-breaks__button--download {
  background-color: #ec4899;
  color: #fff;
}

.remove-line-breaks__button--download:hover {
  background-color: #db2777;
}

.remove-line-breaks__button--clear {
  background-color: #ef4444;
  color: #fff;
}

.remove-line-breaks__button--clear:hover {
  background-color: #dc2626;
}

.remove-line-breaks__button:disabled {
  background-color: #d1d5db;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .remove-line-breaks {
    padding: 15px;
  }

  .remove-line-breaks__textarea {
    height: 120px;
    font-size: 14px;
  }

  .remove-line-breaks__button {
    padding: 8px 16px;
    font-size: 13px;
  }

  .remove-line-breaks__options {
    flex-direction: column;
    gap: 15px;
  }
}