body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f3f4f6;
  color: #111827;
}

header {
  background-color: #4f46e5;
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.inputs {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

textarea {
  flex: 1 1 400px;
  min-height: 150px;
  font-family: monospace;
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  resize: vertical;
}

.actions {
  text-align: center;
  margin: 1rem;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #4f46e5;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #4338ca;
}

.diff-container {
  max-height: 500px;
  overflow: auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 1rem;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.diff-table {
  width: 100%;
  border-collapse: collapse;
}

.diff-table td {
  vertical-align: top;
  padding: 6px 10px;
}

.lineno {
  width: 50px;
  text-align: right;
  color: #9ca3af;
  border-right: 1px solid #e5e7eb;
}

.text {
  white-space: pre-wrap;
  font-family: monospace;
}

.removed-line {
  background: #fee2e2;
  color: #991b1b;
}

.added-line {
  background: #d1fae5;
  color: #065f46;
}
