body {
    font-family: "Libre Baskerville","Georgia", serif;
    background: #f6f3ef;
    margin: 0;
}

/* NAVBAR */

.navbar {
    background: #5a4636;
    padding: 15px;
}

.navbar a {
    color: white;
    margin-right: 20px;
    text-decoration: none;
    font-weight: bold;
}

/* PAGE CONTAINER */

.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

/* BOOK GRID */

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
}

/* BOOK CARD */

.book-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform .2s ease;
}

.book-card:hover {
    transform: translateY(-5px);
}

/* COVER */

.book-card img {
    width: 120px;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

/* TITLE */

.book-title {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}

/* AUTHOR */

.book-author {
    font-size: 14px;
    color: #666;
}

/* BUTTON */

.btn {
    background: #7a5c44;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    margin-top: 8px;
}

.btn:hover {
    background: #5a4636;
}

/* LIST HEADERS */

.section-title {
    margin-top: 40px;
}

/* stars */

.stars {
    color: #e0a800;
    font-size: 18px;
}

/* Reading Progress */
.progress {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    margin-top: 5px;
}

.progress-bar {
    height: 8px;
    background: #7a5c44;
    border-radius: 4px;
}

.book-detail img{
    width: 200px;
    height: auto;
    float: left;
    margin-right: 20px;
    border-radius: 6px;
}
.book-detail p {
    margin-bottom: 10px;
    line-height: 1.5;
}
.book-card form {
    display: inline-block;
    margin-top: 5px;
}

.book-card button {
    background-color: #f4c542;
    border: none;
    color: #000;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
}

.book-card button:hover {
    background-color: #e0b030;
}