body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff8f0;
  color: #333;
}
header {
position: sticky;
  top: 0;
  background: #000; 
  z-index: 1000; /* higher than everything else */
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  padding: 10px 20px;

 }
header h1 {
  font-size: 1.5rem;   /* smaller font size */
  font-weight: normal; /* no bold */
  text-align: center;  /* center align */
  margin: 10px 0;      /* reduce extra spacing */
}
.header-left {
display: flex;
  justify-content: center; /* centers links horizontally */
  align-items: center;     /* vertically align if header is tall */
  gap: 20px;               /* space between links */
}
.logo {
  max-width: 25%;
  height: auto;
  display: block;
  margin-left: 0%;
  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: green;
  color: white;
  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: 2 rem;
  margin: 20px auto;
  flex-wrap: wrap;
  font-weight: normal;
  
}

.nav-btn {
  margin: 0 15px;    /* 15px gap left and right */
   background: none;       /* remove button background */
  border: none;           /* remove border */
  padding: 0;             /* remove button padding */
  font-size: 1rem;        /* adjust size if needed */
  color: white;            /* text color */
  text-decoration: underline; /* underline text */
  cursor: pointer;        /* keep it clickable */
}

.nav-btn:hover {
 color: #007bff;          /* optional: hover color */
  text-decoration: underline;
}

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

.login-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: 40%;
      height: auto;
      border-radius: 5px;
    }
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366; /* WhatsApp green */
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-btn:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 12px rgba(0,0,0,0.3);
}
