body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #181b1f, #04070f);
  color: #fff;
  padding: 20px;
  margin: 0;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  background-color: #262b34;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  margin: 0 0 30px;
  font-size: 32px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

p {
  text-align: center;
  margin-top: -20px;
  margin-bottom: 30px;
  line-height: 24px;
}

.row {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.column {
  flex-basis: 30%;
  padding: 0 5px;
  margin: 0 10px;
}

.column label {
  text-align: center;
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.column textarea {
  padding: 10px;
  font-size: 14px;
  background-color: #4a4e57;
  color: #fff;
  border: none;
  border-radius: 4px;
  resize: none;
  height: 60px;
  width: 100%;
  margin-bottom: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.column:nth-child(2),
.column:nth-child(3) {
  flex-basis: 10%;
}

.compare-btn {
  display: block;
  margin: 30px auto;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.clear-btn {
  display: block;
  margin: 30px auto;
  padding: 10px 20px;
  background-color: #5e5e5e;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.compare-btn,
.clear-btn {
  width: 220px;
}

.compare-btn:hover,
.clear-btn:hover {
  opacity: 0.6;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th,
table td {
  padding: 10px;
  text-align: left;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

table th {
  background-color: #434a54;
  color: #fff;
}

table td {
  border-top: 1px solid #666;
}

.match {
  color: #4fc3f7;
}

.mismatch {
  color: #e53935;
}

.partial-match {
  color: #ffab40;
}

.legend {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.legend-item {
  display: inline-block;
  width: 20px;
  height: 20px;
  align-items: center;
  margin-left: 20px;
  margin-right: 10px;
}

.legend-item.match {
  background-color: #4fc3f7;
  border-radius: 50%;
}

.legend-item.partial-match {
  background-color: #ffab40;
  border-radius: 50%;
}

.legend-item.mismatch {
  background-color: #e53935;
  border-radius: 50%;
}

.legend-item.mismatch2 {
  background-color: #fff;
  border-radius: 50%;
}

.legend-label {
  color: #fff;
  font-size: 14px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
