body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 20px;
}

header {
    background-color: #4a4e69;
    color: white;
    padding: 20px 0;
    text-align: center;
    border-radius: 8px;
}

.book-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid transparent;
    overflow: hidden;
}

.book-table thead {
    background-color: #f4f4f4;
}

.book-table thead th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    transition: background-color 0.2s ease;
}

.book-table thead th:hover {
    background-color: #f0f8ff;
}

.book-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.book-table tbody tr:hover {
    background-color: #f0f8ff;
}

.book-table tbody td {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #eee;
}

@media (max-width: 640px) {
    .book-table thead {
        display: none;
    }

    .book-table,
    .book-table tbody,
    .book-table tr,
    .book-table td {
        display: block;
        width: 100%;
    }

    .book-table tr {
        margin-bottom: 1rem;
    }

    .book-table td {
        text-align: right;
        position: relative;
        padding-left: 50%;
    }

    .book-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: calc(50% - 2rem);
        font-weight: 600;
        text-align: left;
    }
}
