/* ============================================================
   DOM 03.04 — Why innerHTML is dangerous with user text
   ============================================================
   No new CSS in this example — the lesson is in 04-innerhtml-danger.js.
   ============================================================ */

/* ------------------------------------------------------------
   Only to make it look nice — not part of this lesson
   ------------------------------------------------------------ */
body {
  font-family: Arial, sans-serif;
  background-color: #FCFCFC;
  padding: 32px;
}

.hacked {
  background-color: #E54B4F;
  color: #FFFFFF;
  font-weight: bold;
  font-size: 18px;
  padding: 12px 18px;
  border-radius: 8px;
}

.walls {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.wall {
  width: 420px;
  background-color: #FFFFFF;
  border: 1px solid #E4E4E4;
  border-top: 6px solid #E54B4F;
  border-radius: 12px;
  padding: 4px 24px 12px;
}

.wall.good {
  border-top-color: #1F9D55;
}

.wall h2 {
  font-size: 18px;
}

.wall ul {
  list-style: none;
  padding: 0;
}

.wall li {
  padding: 10px 12px;
  margin-bottom: 8px;
  background-color: #F4F5F7;
  border-radius: 8px;
  word-break: break-word;
}
