.book-filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; /* ✅ Adds spacing between inputs */
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e3e6e8);
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 90%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* 🏆 Ensure spacing between each input field */
.book-filter-container input,
.book-filter-container select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    min-width: 180px;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
    margin: 5px 10px; /* ✅ Adds spacing around fields */
}

/* 🌟 Fix for select fields alignment */
.book-filter-container select {
    cursor: pointer;
}

/* 🆕 Updated Add Book Button */
.add-book-btn {
    display: block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff4d4d, #ff1a1a);
    color: white;
    font-size: 18px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.2s ease-in-out;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: none;
}

.add-book-btn:hover {
    background: linear-gradient(135deg, #e60000, #b30000);
    transform: scale(1.05);
}