body {
  font-family: sans-serif;
  margin: 0;
  padding: 20px;
  line-height: 1.6;
}

header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

#search {
  flex: 1;
  padding: 10px;
  font-size: 16px;
}

button {
  padding: 10px 20px;
  margin-left: 10px;
  cursor: pointer;
}

#categories, #recent {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#categories button, #recent a {
  padding: 10px 20px;
  background: #f0f0f0;
  border-radius: 20px;
  text-decoration: none;
  color: black;
}

#content.single {
  max-width: 800px;
  margin: auto;
}

#content.compare {
  display: flex;
  gap: 20px;
}

#content.compare > div {
  width: 50%;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  #content.compare {
    flex-direction: column;
  }
  #content.compare > div {
    width: 100%;
  }
}

#settings-modal, #edit-form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  z-index: 100;
}

#settings-modal input, #edit-form input, #edit-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}