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

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
}

form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

fieldset {
  border: 1px solid #ddd;
  padding: 20px 25px;
  margin-bottom: 25px;
  border-radius: 6px;
  background: #fafafa;
}

legend {
  padding: 0 10px;
  font-weight: bold;
  color: #34495e;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #2c3e50;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="datetime-local"],
select,
textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="datetime-local"]:focus,
select:focus,
textarea:focus {
  border-color: #2980b9;
  outline: none;
  background: #eef6fc;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

button {
  background-color: #2980b9;
  color: white;
  padding: 10px 22px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

button:hover {
  background-color: #1c5980;
}

#other_genres_container label {
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 10px;
  font-weight: normal;
  cursor: pointer;
}

.chapter-block {
  border: 1px solid #ddd;
  background: white;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.chapter-block label {
  font-weight: 600;
  margin-bottom: 4px;
}

.chapter-block input,
.chapter-block textarea,
.chapter-block select {
  margin-bottom: 10px;
}

/* Estilos para inputs file */
input[type="file"] {
  border: 1px solid #ccc;
  padding: 6px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
  form {
    padding: 15px 20px;
  }
}
#other_genres_container {
    height: 160px;
    overflow-y: scroll;
}