 .container {
    padding-top: 30px;
    padding-bottom: 60px;
}

.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.search-form input[type="text"] {
    padding: 12px 18px;
    width: 100%;
    max-width: 480px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.search-form input[type="text"]:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.search-form button {
    padding: 12px 28px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-form button:hover {
    background-color: #0056b3;
}

.book-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.book-card {
    padding: 24px;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.book-card h4 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.book-card p {
    margin: 8px 0;
    font-size: 15px;
    color: #444;
    line-height: 1.4;
}

.book-card a {
    display: inline-block;
    margin-top: 12px;
    color: #007BFF;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
}

.book-card a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .search-form {
        flex-direction: column;
    }

    .search-form input,
    .search-form button {
        width: 100%;
    }
}