body {
  background-color: #0d1322;
  color: #f8fafc;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 1.5rem;
}

.container {
  width: 100%;
  max-width: 900px;
  background: #141c2e;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: #38bdf8;
  font-size: 2rem;
  font-weight: 800;
}

.table-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 16px;
  text-align: left;
  vertical-align: middle;
}

th {
  background-color: #0b101d;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   FREECODECAMP TEST SELECTORS
   ========================================================================== */

tr[class="read"] {
  background-image: linear-gradient(90deg, rgba(34, 197, 94, 0.18) 0%, rgba(15, 23, 42, 0.6) 100%);
}

tr[class="to-read"] {
  background-image: linear-gradient(90deg, rgba(239, 68, 68, 0.18) 0%, rgba(15, 23, 42, 0.6) 100%);
}

tr[class="in-progress"] {
  background-image: linear-gradient(90deg, rgba(245, 158, 11, 0.18) 0%, rgba(15, 23, 42, 0.6) 100%);
}

span {
  display: inline-block;
}

tr[class="to-read"] span[class="status"] {
  border: 1px solid #ef4444;
  background-image: linear-gradient(135deg, #ef4444, #dc2626);
}

tr[class="read"] span[class="status"] {
  border: 1px solid #22c55e;
  background-image: linear-gradient(135deg, #22c55e, #16a34a);
}

tr[class="in-progress"] span[class="status"] {
  border: 1px solid #f59e0b;
  background-image: linear-gradient(135deg, #f59e0b, #d97706);
}

span[class="status"],
span[class^="rate"] {
  height: 32px;
  width: 110px;
  padding: 0;
  text-align: center;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  box-sizing: border-box;
}

span[class="status"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

span[class^="rate"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

span[class^="rate"] > span {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  margin: 0 3px;
  height: 16px;
  width: 16px;
  background-color: transparent;
  box-sizing: border-box;
}

span[class~="one"] span:first-child {
  background-image: linear-gradient(135deg, #facc15, #eab308);
}

span[class~="two"] span:first-child,
span[class~="two"] span:nth-child(2) {
  background-image: linear-gradient(135deg, #facc15, #eab308);
}

span[class~="three"] span {
  background-image: linear-gradient(135deg, #facc15, #eab308);
}