#booksgrub-search-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

#booksgrub-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#booksgrub-search-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

#booksgrub-search-form button {
    padding: 10px 20px;
    border: none;
    background-color: #0073aa;
    color: white;
    border-radius: 3px;
    cursor: pointer;
}

#booksgrub-search-form button:hover {
    background-color: #005177;
}

#booksgrub-search-results ul {
    list-style: none;
    padding: 0;
}

#booksgrub-search-results li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    overflow: hidden; /* Clear floats */
}

#booksgrub-search-results li:last-child {
    border-bottom: none;
}

#booksgrub-search-results h3 {
    margin-top: 0;
}

#booksgrub-search-results a {
    text-decoration: none;
    color: #0073aa;
}

#booksgrub-search-results a:hover {
    text-decoration: underline;
}

#booksgrub-search-results img {
    max-width: 100px;
    height: auto;
    margin-right: 10px;
    float: left;
    border-radius: 3px;
}

#booksgrub-search-results .categories {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

#booksgrub-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

#booksgrub-pagination button {
    padding: 8px 16px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    color: #333;
    border-radius: 3px;
    cursor: pointer;
}

#booksgrub-pagination button:hover:not(:disabled) {
    background-color: #e9e9e9;
}

#booksgrub-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#booksgrub-page-info {
    font-weight: bold;
}
