body {
  font-family: Arial, sans-serif;
  margin: 20px;
  background: #f5f5f5;
  color: #333;
}

h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: normal;
  color: #555;
}

#editors-labels {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto 6px;
  font-weight: bold;
  color: #222;
}

.label {
  flex: 1 1 48%;
  font-size: 0.8rem;
  text-align: center;
}

#editors {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.editor {
  flex: 1 1 100%;
  height: 300px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

@media (min-width: 768px) {
  .editor {
    flex: 1 1 48%;
  }
}

.instruction {
  max-width: 900px;
  margin: 15px auto 0;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

button {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background-color: #007acc;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #005f99;
}

.ace_inserted {
  background-color: #c8facc !important;
  position: absolute;
  z-index: 5;
}

.ace_deleted {
  background-color: #f8c8c8 !important;
  position: absolute;
  z-index: 5;
}
