* {
  box-sizing: border-box;
}

body {
  color: #1d2951;
  font-family: 'Georgia', 'Times New Roman', serif;
  background: repeating-linear-gradient(to bottom, #ffffff 0%, #f0f0f0 50%, #dcdcdc 100%);
  background-attachment: fixed;
  padding: 1.5rem;
}

h1 {
  max-width: 37.25rem;
  margin: 0 auto;
  padding: 1.5rem 0;
  text-align: left;
}

table {
  max-width: 48rem;
  margin: 0 auto;
  border: 2px solid #848482;
  padding: 10px;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin-top: 2rem;
}

caption {
  margin: 0.3rem 0;
  text-align: left;
}

thead th{
  background: linear-gradient(to bottom, #add8e6 0%, #b0c4de 100%);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  position: sticky;
  top: 0;
}

tr td:first-of-type {
  padding: 0.75rem 1rem;
  min-width: 300px;
  max-width: 24rem;
  font-weight: bold;
  line-height: 1.4;
  white-space: normal; 
  word-break: break-word; 
}

tr td:not(td:first-of-type) {
  padding: 0.75rem 1rem;
  min-width: 300px;
  max-width: 24rem;
  text-align: center;
}

span {
  display: inline-block;
}

tr[class="read"] {
  background-image: linear-gradient(to bottom, #f0fdfa, #ccfbf1);
}

tr:hover td {
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}

tr[class="to-read"] {
  background-image: linear-gradient(to bottom, #ede9fe, #ddd6fe);
}

tr[class="in-progress"] {
  background-image: linear-gradient(to bottom, #fef9c3, #fde68a);
}

tr[class="read"] span[class="status"] {
  height: 30px;
  width: 99px;
  padding: 5px 10px 5px;
  border: 3px solid #99e2d0;
  border-radius: 8px ;
  background-image: linear-gradient(to bottom, #e0fdfa 0%, #99e2d0 100%);
}

tr span[class="status"]:hover {
  display: inline-block;
  transition: transform 0.2s ease-in-out;
  transform: translateY(-5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

tr[class="in-progress"] span[class="status"]{
  height: 30px;
  width: 99px;
  padding: 5px 5px 10px 5px;
  border: 3px solid #facc15;
  border-radius: 8px;
  background-image: linear-gradient(to bottom, #fef9c3 0%, #facc15 100%);
}

tr[class="to-read"] span[class="status"] {
  height: 30px;
  width: 99px;
  padding: 5px 10px 5px;
  border: 3px solid #c4b5fd;
  border-radius: 8px;
  background-image: linear-gradient(#ede9fe 0%, #c4b5fd 100%);
}

span[class="status"],
span[class^="rate"] {
  height: 30px;
  width: 99px;
  padding: 5px 10px;
}

span[class^="rate"] > span {
  border: 1px solid black;
  border-radius: 9px;
  margin: 4px 0;
  height: 20px;
  width: 20px;
  background-color: #f5f5f5 ;
}

span[class~="one"] > span:first-of-type {
  background-image: linear-gradient(to bottom, #00308f 0%, #002366 100%);
}

span[class~="one"] > span:first-of-type:hover {
  transform: scale(1.2);
  background-image: linear-gradient(to bottom, #1d2951 0%, #000080 100%);
}

span[class~="two"] > span:nth-of-type(-n+2) {
  background-image: linear-gradient(to bottom, #00308f 0%, #002366 100%);
}

span[class~="two"] > span:nth-of-type(-n+2):hover {
  transform: scale(1.2);
  background-image: linear-gradient(to bottom, #1d2951 0%, #000080 100%);
}

span[class~="three"] span {
  background-image: linear-gradient(to bottom, #00308f 0%, #002366 100%);
}

span[class~="three"] span:hover {
  transform: scale(1.2);
  background-image: linear-gradient(to bottom, #1d2951 0%, #000080 100%);
}