/* ---------------- General Reset ---------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background: #f3f2ef;
  color: #111;
  line-height: 1.6;
}

/* ---------------- Layout Container ---------------- */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* ---------------- Sidebar ---------------- */
.sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid #dbdbdb;
  padding: 2rem 1rem;
  position: fixed;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.sidebar-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.logo-small {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
  border: 2px solid #382110;
}

.sidebar h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 1rem;
}

.shelf-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.shelf-btn {
  background: none;
  border: none;
  text-align: left;
  padding: 12px 15px;
  font-size: 0.95rem;
  color: #444;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.shelf-btn i {
  width: 25px;
  margin-right: 12px;
  font-size: 1.1rem;
  color: #382110;
  text-align: center;
}

.shelf-btn:hover {
  background: #f0f0f0;
}

.shelf-btn.active {
  background: #382110;
  color: white;
}

.shelf-btn.active i {
  color: white;
}

/* ---------------- Main Content ---------------- */
.content {
  margin-left: 280px;
  flex: 1;
  padding: 3rem;
}

.header h1 {
  font-size: 2.5rem;
  color: #382110;
  margin-bottom: 0.5rem;
}

/* ---------------- SEARCH & CONTROLS ---------------- */
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  gap: 15px;
}

#showFormBtn {
  background: #382110;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* Google-style Search Bar */
.search-container {
  position: relative;
  flex: 1;
  max-width: 500px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper i {
  position: absolute;
  left: 15px;
  color: #888;
}

#bookSearch {
  width: 100%;
  padding: 12px 12px 12px 45px;
  border-radius: 25px;
  border: 1px solid #dfe1e5;
  font-size: 1rem;
  transition: box-shadow 0.2s;
}

#bookSearch:focus {
  outline: none;
  box-shadow: 0 1px 6px rgba(32,33,36,0.28);
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0 0 15px 15px;
  border: 1px solid #dfe1e5;
  box-shadow: 0 4px 6px rgba(32,33,36,0.2);
  display: none;
  z-index: 5000;
  overflow: hidden;
}

.suggestion-item {
  padding: 12px 15px 12px 45px;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
}

.suggestion-item:last-child {
  border: none;
}

.suggestion-item:hover {
  background-color: #f1f3f4;
}

.suggestion-item .s-title {
  display: block;
  font-weight: bold;
  font-size: 0.9rem;
}

.suggestion-item .s-meta {
  display: block;
  font-size: 0.75rem;
  color: #70757a;
}

.filter-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.filter-wrapper i {
  position: absolute;
  left: 10px;
  color: #888;
}

#categoryFilter {
  padding: 10px 10px 10px 30px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* ---------------- RECOMMENDATION AREA ---------------- */
.recommendation-area {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid #dbdbdb;
  margin-bottom: 3rem;
}

.section-title {
  color: #382110;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------------- Book Grid ---------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2.5rem;
}

.book {
  cursor: pointer;
  transition: 0.3s;
}

.book:hover {
  transform: translateY(-5px);
}

.book img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.book h3 {
  font-size: 1rem;
  margin-top: 10px;
  color: #333;
}

.book small {
  color: #777;
}

/* ---------------- STAR RATING SYSTEM ---------------- */
.star-rating {
  display: flex;
  gap: 8px;
  font-size: 1.6rem;
  color: #f39c12;
  cursor: pointer;
  margin: 10px 0;
}

.star-rating i {
  transition: transform 0.2s ease;
}

.star-rating i:hover {
  transform: scale(1.2);
}

.star-rating i.fa-solid {
  color: #f39c12;
}

/* ---------------- Aesthetic Add Book Modal ---------------- */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: white;
  margin: 5vh auto;
  padding: 2.5rem;
  max-width: 500px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close {
  position: absolute;
  right: 25px;
  top: 20px;
  cursor: pointer;
  font-size: 1.5rem;
  color: #aaa;
}

#bookForm input,
#bookForm textarea,
#bookForm select {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

#bookForm input:focus,
#bookForm textarea:focus {
  outline: none;
  border-color: #382110;
  box-shadow: 0 0 0 3px rgba(56, 33, 16, 0.1);
}

.file-upload-box {
  border: 2px dashed #ccc;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: 0.2s;
}

.file-upload-box:hover {
  background: #fdfaf8;
  border-color: #382110;
}

.file-upload-box i {
  font-size: 2rem;
  color: #382110;
  display: block;
  margin-bottom: 5px;
}

.file-upload-box input {
  display: none;
}

.submit-btn {
  width: 100%;
  background: #382110;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.submit-btn:hover {
  background: #25160b;
}

/* ---------------- Book Detail Overlay ---------------- */
.detail-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 11000;
  overflow-y: auto;
}

.detail-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  margin-bottom: 2rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #000;
}

.detail-flex {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.detail-left {
  flex: 0 0 300px;
}

.detail-left img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.detail-right {
  flex: 1;
}

.detail-right h1 {
  font-size: 2.5rem;
  color: #382110;
  margin-bottom: 0.2rem;
}

.detail-author {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.detail-isbn {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.badge {
  background: #e8e8e8;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.divider {
  border: 0;
  border-top: 1px solid #eee;
  margin: 2rem 0;
}

.detail-right h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 0.5rem;
}

.detail-right p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  white-space: pre-wrap;
}

.shelf-selector {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: 12px;
  border: 1px solid #eee;
}

.shelf-selector label {
  font-weight: bold;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 8px;
}

.shelf-selector select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .sidebar {
    width: 100%;
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 1rem;
  }
  
  .content {
    margin-left: 0;
    padding: 1.5rem;
  }
  
  .app-container {
    flex-direction: column;
  }
  
  .controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-container {
    max-width: 100%;
    margin: 10px 0;
  }

  .detail-flex {
    flex-direction: column;
    align-items: center;
  }
  
  .detail-left {
    max-width: 250px;
  }

  .detail-right {
    text-align: center;
  }
}
/* ---------------- General Reset ---------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background: #f3f2ef;
  color: #111;
  line-height: 1.6;
}

/* ---------------- Layout Container ---------------- */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* ---------------- Sidebar (Left Navbar) ---------------- */
.sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid #dbdbdb;
  padding: 2rem 1rem;
  position: fixed;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.logo-small {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
  border: 2px solid #382110;
}

.sidebar h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 1rem;
}

.shelf-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.shelf-btn {
  background: none;
  border: none;
  text-align: left;
  padding: 12px 15px;
  font-size: 0.95rem;
  color: #444;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.shelf-btn i {
  width: 25px;
  margin-right: 12px;
  font-size: 1.1rem;
  color: #382110;
  text-align: center;
}

.shelf-btn:hover {
  background: #f0f0f0;
}

.shelf-btn.active {
  background: #382110;
  color: white;
}

.shelf-btn.active i {
  color: white;
}

/* ---------------- Recommendation Sidebar Column ---------------- */
.sidebar-divider {
  border: 0;
  border-top: 1px solid #eee;
  margin: 2rem 0;
}

.sidebar-sub-title {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rec-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.rec-item {
  display: flex;
  gap: 12px;
  cursor: pointer;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.rec-item:hover {
  background: #f9f9f9;
}

.rec-item img {
  width: 50px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.rec-item-info h4 {
  font-size: 0.85rem;
  color: #333;
  margin: 0;
  line-height: 1.3;
}

.rec-item-info p {
  font-size: 0.75rem;
  color: #888;
  margin-top: 2px;
}

/* ---------------- Main Content ---------------- */
.content {
  margin-left: 280px;
  flex: 1;
  padding: 3rem;
}

.header h1 {
  font-size: 2.5rem;
  color: #382110;
  margin-bottom: 0.5rem;
}

/* ---------------- SEARCH & CONTROLS ---------------- */
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  gap: 15px;
}

#showFormBtn {
  background: #382110;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.search-container {
  position: relative;
  flex: 1;
  max-width: 500px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper i {
  position: absolute;
  left: 15px;
  color: #888;
}

#bookSearch {
  width: 100%;
  padding: 12px 12px 12px 45px;
  border-radius: 25px;
  border: 1px solid #dfe1e5;
  font-size: 1rem;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0 0 15px 15px;
  border: 1px solid #dfe1e5;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: none;
  z-index: 5000;
  overflow: hidden;
}

.suggestion-item {
  padding: 12px 15px 12px 45px;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
}

.suggestion-item:hover {
  background-color: #f1f3f4;
}

.filter-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.filter-wrapper i {
  position: absolute;
  left: 10px;
  color: #888;
}

#categoryFilter {
  padding: 10px 10px 10px 30px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* ---------------- Book Grid ---------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2.5rem;
}

.book {
  cursor: pointer;
  transition: 0.3s;
}

.book:hover {
  transform: translateY(-5px);
}

.book img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* ---------------- Star Rating System ---------------- */
.star-rating {
  display: flex;
  gap: 8px;
  font-size: 1.6rem;
  color: #f39c12;
  cursor: pointer;
  margin: 10px 0;
}

.star-rating i.fa-solid {
  color: #f39c12;
}

/* ---------------- Modal ---------------- */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: white;
  margin: 5vh auto;
  padding: 2.5rem;
  max-width: 500px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close {
  position: absolute;
  right: 25px;
  top: 20px;
  cursor: pointer;
  font-size: 1.5rem;
  color: #aaa;
}

/* ---------------- Detail Overlay ---------------- */
.detail-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 11000;
  overflow-y: auto;
}

.detail-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.detail-flex {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.detail-left {
  flex: 0 0 300px;
}

.detail-left img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.detail-right {
  flex: 1;
}

.shelf-selector {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: 12px;
  border: 1px solid #eee;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .sidebar { width: 100%; position: relative; height: auto; border: none; }
  .content { margin-left: 0; padding: 1.5rem; }
  .app-container { flex-direction: column; }
  .detail-flex { flex-direction: column; align-items: center; }
}
.auth-overlay-active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #382110; /* Matching your theme */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}
.auth-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}
.input-group { text-align: left; margin-bottom: 1rem; }
.input-group label { display: block; margin-bottom: 5px; font-weight: bold; font-size: 0.9rem; }
.input-group input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; }
.auth-toggle-text { margin-top: 1.5rem; font-size: 0.9rem; }
.auth-toggle-text a { color: #382110; font-weight: bold; text-decoration: none; }

.auth-overlay-active {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #382110;
  display: flex; justify-content: center; align-items: center;
  z-index: 99999;
}
.auth-card {
  background: white; padding: 40px; border-radius: 20px;
  width: 90%; max-width: 400px; text-align: center;
}
.input-group { text-align: left; margin-bottom: 15px; }
.input-group label { display: block; font-weight: bold; margin-bottom: 5px; }
.input-group input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; }
.auth-toggle-text { margin-top: 20px; }

.google-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: white;
    color: #444;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: background 0.3s;
}

.google-btn:hover {
    background: #f7f7f7;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.divider span {
    background: #fff;
    padding: 0 10px;
    color: #999;
    font-size: 12px;
    position: relative;
    z-index: 2;
}
/* Grid Setup: Exactly 4 per row with gaps */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Forces 4 equal columns */
    gap: 30px; /* Horizontal and vertical space between books */
    padding: 20px 0;
}

/* Book Card: The Container */
.book-card {
    background: #fff;
    border-radius: 12px; /* Rounded corners */
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Image Ratio: Perfect Book Shape */
.book-card img {
    width: 100%;
    aspect-ratio: 2 / 3; /* Standard book cover ratio */
    object-fit: cover; /* Prevents stretching */
    border-bottom: 1px solid #eee;
}

/* Info Padding */
.book-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.book-info h3 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    color: #333;
    /* Limit title to 2 lines so rows stay even */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

/* Responsive: 2 in a row on mobile, 4 on desktop */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
:root {
    --bg-color: #fcfaf7;       /* Soft book-paper white */
    --text-main: #2c2c2c;      /* Deep charcoal */
    --accent: #5b7c66;         /* Sage green for a library feel */
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Georgia', serif; /* Classic book font */
    line-height: 1.6;
}
.book-card {
    background: white;
    padding: 10px;
    border-radius: 4px; /* Sharper edges look more like real books */
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-bottom: 3px solid rgba(0,0,0,0.1); /* Subtle "spine" shadow */
    cursor: pointer;
    overflow: hidden;
    text-align: center;
}

.book-card:hover {
    transform: translateY(-10px) rotate(2deg); /* Interactive "lift" */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.book-card img {
    width: 100%;
    border-radius: 2px;
    aspect-ratio: 2/3;
    object-fit: cover;
    filter: brightness(0.95); /* Makes images look printed, not digital */
}

.book-card h3 {
    font-size: 0.95rem;
    margin-top: 12px;
    font-weight: 600;
    color: var(--text-main);
}

.sidebar {
    background: white;
    border-right: 1px solid #eee;
    padding: 2rem 1rem;
}

.sidebar a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px 15px;
    display: block;
    border-radius: 6px;
    transition: var(--transition);
}

.sidebar a:hover, .sidebar a.active {
    background: #f0f4f1;
    color: var(--accent);
    padding-left: 20px; /* Elegant slide effect */
}

#detailPage {
    backdrop-filter: blur(8px); /* Blurs the background like iOS */
    background-color: rgba(255, 255, 255, 0.8);
}

#detailPage .modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    border: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    display: flex;
    gap: 30px;
}

#detailImg {
    width: 250px;
    border-radius: 8px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.2);
}

/* Styled Dropdown */
#statusSelect {
    appearance: none;
    background: var(--accent);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: var(--transition);
}

#statusSelect:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}
/* Add this to your styles.css */
h1, h2, h3 {
    font-family: 'Georgia', serif;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}

p {
    color: #4a4a4a;
    font-size: 1.05rem;
    line-height: 1.7; /* Increased leading for better readability */
}

/* Minimalist border for the Librarian Portal inputs */
input, textarea, select {
    border: 1px solid #e0e0e0;
    background-color: #fafafa;
    padding: 12px;
    border-radius: 4px;
    font-family: 'Segoe UI', sans-serif;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    border-color: var(--accent);
    outline: none;
    background-color: #fff;
}
.book-card img {
    width: 100%;
    height: 300px; /* Or your preferred height */
    object-fit: cover; /* This crops the edges so they all match perfectly */
    border-radius: 4px;
}

#social-hub { padding: 20px; max-width: 400px; margin: auto; }
.search-bar { display: flex; gap: 10px; margin-bottom: 20px; }
input[type="email"] { flex: 1; padding: 8px; border-radius: 5px; border: 1px solid #ccc; }

ul { list-style: none; padding: 0; }
li { 
  display: flex; justify-content: space-between; align-items: center; 
  padding: 10px; border-bottom: 1px solid #eee; 
}

.accept-btn { background: #4CAF50; color: white; border: none; padding: 5px 10px; border-radius: 3px; cursor: pointer; }
.view-btn { background: #2196F3; color: white; border: none; padding: 5px 10px; border-radius: 3px; }

