body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background-color: #f0f0f0;
}

.container {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 700px;
  text-align: center;
}

textarea {
  width: 100%;
  height: 150px;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  resize: vertical;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  /* New line to separate first and second row of controls */
  &:nth-child(2) {
    margin-top: -10px;
  }
}

button {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #45a049;
}

#exportButton, #importButton {
  background-color: #2196F3;
}

#exportButton:hover, #importButton:hover {
  background-color: #1976D2;
}

#saveButton, #loadButton {
  background-color: #9C27B0;
}

#saveButton:hover, #loadButton:hover {
  background-color: #7B1FA2;
}

.wall-container {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 100%;
}

.wall-square {
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  transition: transform 0.2s;
}

.wall-square:hover {
  transform: scale(1.05);
}

.wall-square.selected {
  border: 3px solid red;
  transform: scale(1.1);
  animation: pulse-highlight 0.4s ease-out infinite;
}

.wall-square.highlight-sequence {
  animation: pulse-highlight 0.2s ease-out;
  box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
}

@keyframes pulse-highlight {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }
}

.result {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  min-height: 40px;
}

.remove-option {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}

.remove-option input[type="checkbox"] {
  margin: 0;
}

.remove-option label {
  font-size: 16px;
}

.remove-container {
  text-align: center;
  margin-top: 15px;
  min-height: 50px;
}

.remove-button {
  padding: 10px 20px;
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.remove-button:hover {
  background-color: #d32f2f;
}

.temp-message {
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
}

.attribution {
  text-align: center;
  color: #888;
  font-size: 12px;
  margin-top: 20px;
  padding-bottom: 10px;
}
