body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff8f0;
  color: #333;
}
header {
  text-align: center;
  background: #000;
  font-size: 0.87em;
 }

.logo {
  max-width: 25%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
input, select {
  margin: 10px;
  padding: 10px;
  font-size: 1em;
}
.book-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1em;
}
.book-card {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 1em;
  margin: 10px;
  width: 300px;
  background: #ffffff;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}
.book-card img {
  width: 100px;
  height: auto;
}
button {
    background-color: #ffffff;
  color: black;
  padding: 5px 10px;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
  font-weight: normal; 
 
}
.modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
}
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
}
.hidden {
  display: none;
}
.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 20px auto;
  flex-wrap: wrap;
  font-weight: normal;
}

.nav-btn {
  background-color: #ffffff;
  color: black;
  padding: 8px 10px;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
  font-weight: normal; 
  float: right;
  margin-left: 5px;
}

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


.login-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 2rem;
  background-color: #f1f8e9;
  border-radius: 10px;
  text-align: center;
}

.login-container input {
  width: 90%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.login-container button {
  padding: 10px 20px;
  background-color: #2e7d32;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.login-container button:hover {
  background-color: #1b5e20;
}

.hidden {
  display: none;
}

.login-container {
  max-width: 400px;
  margin: auto;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 10px;
}

.login-container input[type="text"],
.login-container input[type="tel"],
.login-container input[type="date"] {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
}
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 10px 0 25px;
  text-align: center;
}

.checkbox-group label {
  font-size: 16px;
  cursor: pointer;
}

.inline-options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* space between options */
  flex-wrap: nowrap; /* prevent line break */
  overflow-x: auto;  /* optional: horizontal scroll if screen too small */
  margin-bottom: 20px;
}

    .book-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      padding: 20px;
    }
    .book-card {
      border: 1px solid #ddd;
      padding: 10px;
      text-align: center;
      background: white;
      border-radius: 8px;
    }
    .book-card img {
      max-width: 100%;
      height: auto;
      border-radius: 5px;
    }