* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-image: url('books.jpg');
  background-color: #fff9e6;  /* Using the soft cream color */
  padding: 20px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 800px;
  margin: 20px;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.search-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-weight: bold;
  color: #555;
}

input[type="text"] {
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

input[type="text"]:focus {
  outline: none;
  border-color: #007bff;
}

.checkbox-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

input[type="checkbox"]:disabled + span {
  color: #666;
}

input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button {
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

button:hover {
  background-color: #0056b3;
}

.results {
  margin-top: 30px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  display: none;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f8f9fa;
  font-weight: bold;
  position: sticky;
  top: 0;
}

tr:hover {
  background-color: #f5f5f5;
}

.error {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  display: none;
  text-align: left;
}

.error-modal {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #dc3545;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  display: none;
  animation: slideDown 0.3s ease-out;
  z-index: 1000;
}

@keyframes slideDown {
  from {
      top: -100px;
      opacity: 0;
  }
  to {
      top: 20px;
      opacity: 1;
  }
}

@media (max-width: 600px) {
  .container {
      margin: 10px;
      padding: 15px;
  }

  .results {
      font-size: 14px;
  }
}
/* Add these to your existing style.css */

.navigation {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}

.nav-btn {
  background: none;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  color: #666;
  font-size: 16px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: #f0f0f0;
}

.nav-btn.active {
  color: #007bff;
  font-weight: bold;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.about-content {
  line-height: 1.6;
  color: #555;
}

.about-content p {
  margin-bottom: 15px;
}

.about-content p:last-child {
  margin-bottom: 0;
}
.email-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.email-link:hover {
  color: #0056b3;
  text-decoration: underline;
}
body {
  flex-direction: column;
}

.simple-footer {
  width: 100%;
  max-width: 800px;
  text-align: center;
  padding: 20px;
  background-color: #f8f9fa;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 40px;
}