body {
    font-family: Georgia, serif;
    background-color: #f5efe2;
    color: #2b2118;
    padding: 20px;
    line-height: 1.6;
}

h1,
h2 {
    text-align: center;
    color: #5a3418;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

th,
td {
    border: 1px solid #c9b79c;
    padding: 12px;
    vertical-align: top;
}

th {
    background-color: #6c4326;
    color: white;
}

/* Required span display */

span {
    display: inline-block;
}

/* Required row attribute selectors */

tr[class="read"] {
    background-image: linear-gradient(to right, #eff8ef, #d7f2d7);
}

tr[class="to-read"] {
    background-image: linear-gradient(to right, #fff7d6, #ffe9a7);
}

tr[class="in-progress"] {
    background-image: linear-gradient(to right, #dcecff, #b8d7ff);
}

/* Status styles */

tr[class="to-read"] span[class="status"] {
    border: 2px solid #d4a017;
    background-image: linear-gradient(#fff2b3, #ffd966);
}

tr[class="read"] span[class="status"] {
    border: 2px solid #2e8b57;
    background-image: linear-gradient(#b8f1b8, #84d784);
}

tr[class="in-progress"] span[class="status"] {
    border: 2px solid #2b6cb0;
    background-image: linear-gradient(#cde3ff, #8fb8ff);
}

/* Status and rate selector requirement */

span[class="status"],
span[class^="rate"] {
    height: auto;
    width: auto;
    padding: 6px 10px;
    border-radius: 15px;
}

/* Rating circles */

span[class^="rate"] > span {
    border: 1px solid #444;
    border-radius: 50%;
    margin: 2px;
    height: 15px;
    width: 15px;
    background-color: #ddd;
}

/* One rating */

span[class~="one"] span:first-child {
    background-image: linear-gradient(gold, orange);
}

/* Two rating */

span[class~="two"] span:nth-child(1),
span[class~="two"] span:nth-child(2) {
    background-image: linear-gradient(gold, orange);
}

/* Three rating */

span[class~="three"] span {
    background-image: linear-gradient(gold, orange);
}

section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

p {
    margin-top: 6px;
}