body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
}

header {
  background: linear-gradient(90deg, #1e88e5, #42a5f5);
  color: white;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
  margin: 0;
  font-size: 34px;
}

.container {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 40px;
}

.card {
  background: white;
  width: 340px;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h2 {
  text-align: center;
  color: #1e88e5;
  margin-bottom: 20px;
}

.book-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 6px;
  background: #f6f9ff;
}

.book-row img {
  width: 32px;
  margin-right: 10px;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: linear-gradient(90deg,#1e88e5,#42a5f5);
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #1565c0;
}

footer {
  background: #1e88e5;
  color: white;
  text-align: center;
  padding: 15px;
}
#toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #333;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  display: none;
  z-index: 1000;
  font-size: 14px;
}

.toast-success {
  background: #4caf50;
}

.toast-error {
  background: #e53935;
}

