.tool-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.tool-header {
  text-align: center;
  margin-bottom: 40px;
}

.tool-icon-large {
  font-size: 48px;
  color: #3498db;
  margin-bottom: 20px;
}

.tool-description {
  color: #666;
  font-size: 18px;
  margin-top: 10px;
}

.tool-body {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
}

.input-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  min-height: 200px;
  resize: vertical;
}

.options-container {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.option-group {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.option-group input[type="checkbox"],
.option-group input[type="radio"] {
  margin-right: 8px;
  width: auto;
}

.option-group label {
  margin: 0;
  font-weight: normal;
}

.action-button {
  background: #3498db;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  margin: 10px 10px 10px 0;
}

.action-button:hover {
  background: #2980b9;
}

.action-button i {
  margin-right: 8px;
}

.secondary-button {
  background: #95a5a6;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  margin: 10px 10px 10px 0;
}

.secondary-button:hover {
  background: #7f8c8d;
}

.secondary-button i {
  margin-right: 8px;
}

.result-container {
  margin-top: 20px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.result-header {
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stats-info {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.deduplicated-text {
  width: 100%;
  min-height: 200px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  font-size: 14px;
  resize: vertical;
}

.original-line {
  display: block;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.duplicate-line {
  background-color: #ffebee;
  color: #c62828;
}

.unique-line {
  background-color: #e8f5e8;
  color: #2e7d32;
}

.notification {
  position: fixed;
  top: 20px;
  right: 0;
  background: #2ecc71;
  color: white;
  padding: 15px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.notification.show {
  transform: translateX(0);
}

.comparison-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.comparison-panel {
  flex: 1;
  min-width: 300px;
}

.highlight-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.legend-color {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .tool-content {
    padding: 20px 15px;
  }

  .options-container {
    flex-direction: column;
  }

  .option-group {
    margin-right: 0;
  }

  .action-button,
  .secondary-button {
    width: 100%;
    margin: 10px 0;
    justify-content: center;
  }

  .comparison-container {
    flex-direction: column;
  }

  .comparison-panel {
    min-width: 100%;
  }
}
