body {
  font-family: "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  margin: 0;
  padding: 2rem;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

main {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(255, 167, 38, 0.35);
  max-width: 700px;
  width: 100%;
  transition: transform 0.3s ease;
}
main:hover {
  transform: scale(1.01);
}

h1 {
  font-size: 2.2rem;
  color: #d84315;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

input[type="file"],
.manual-entry input {
  margin: 1rem 0;
  padding: 0.7rem;
  font-size: 1rem;
  width: 70%;
  max-width: 350px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: all 0.3s ease;
}
input[type="file"]:hover,
.manual-entry input:focus {
  border-color: #ff9800;
  box-shadow: 0 0 5px #ffcc80;
}

.manual-entry {
  margin: 2rem 0;
}

.manual-entry button {
  background-color: #C74E29;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.manual-entry button:hover {
  background-color: #2e7d32;
}

button {
  background-color: #C74E29;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
button:hover {
  background-color: #4caf50;
}

#result {
  margin-top: 2rem;
  font-size: 1.1rem;
  color: #e65100;
}

.info-box {
  background: #fffde7;
  border: 1px solid #ffe082;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 5px 15px rgba(255, 213, 79, 0.3);
}

.book-cover {
  float: left;
  width: 100px;
  margin-right: 20px;
  border-radius: 10px;
  box-shadow: 0 0 12px #e0e0e0;
}

.book-card h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #333;
}

.book-card p {
  margin: 0.5rem 0;
  line-height: 1.4;
}

footer {
  background-color: #263238;
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  border-top: 4px solid #ffcc80;
  margin-top: 3rem;
  border-radius: 0 0 20px 20px;
}
footer a {
  color: #ffa726;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
