.top-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.uplift-logo {
  height: 38px;     /* finger width height */
  width: auto;
}

.header-title {
  color: #8E0F1C;              /* maroon text */
  background-color: #E3BCA4;  /*  peach background */
  padding: 10px 14px;
  border-radius: 6px;
  display: inline-block;
}

.ten-values-image {
  width: min(50vw, 800px);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

@media (max-width: 768px) {
  .ten-values-image {
    width: 92vw;
    max-width: 92vw;
  }
}

.visitor-counter {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}

.signup-form {
  max-width: 800px;
  margin: 40px auto;
}

.signup-form label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
}

.signup-form input,
.signup-form textarea {
  width: 100%;
  max-width: 500px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.signup-form input {
  height: 32px;
}

.signup-form input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  max-width: 300px;
  height: 6px;
  background: #E3BCA4;
  border-radius: 5px;
  outline: none;
}

/* Chrome, Safari, Edge */
.signup-form input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: #E3BCA4;
  border-radius: 5px;
}

.signup-form input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #8E0F1C;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  margin-top: -5px;
}

/* Firefox */
.signup-form input[type="range"]::-moz-range-track {
  height: 6px;
  background: #E3BCA4;
  border-radius: 5px;
}

.signup-form input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #8E0F1C;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* Optional focus */
.signup-form input[type="range"]:focus {
  outline: none;
}

.signup-form textarea {
  height: 160px;
}

.signup-form button {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  background-color: #8E0F1C;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.signup-form button:hover {
  background-color: #B71C1C;   /* lighter red on hover */
}

.grade-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; /* allows mobile wrapping */
}

.grade-text {
  white-space: nowrap;
  font-size: 13px;
}

.grade-output {
  font-size: 13px;
  font-weight: 600;
  min-width: 80px;
}

.center-text {
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

th {
  background-color: #E3BCA4; /* shade of peach as in title BG colour */
  color: #8E0F1C;   /* maroon */
  font-size: 12px;
  font-weight: 600;
  padding: 6px;
  position: sticky;
  top: 0;
  z-index: 2;
}
td {
  font-size: 11px;
  padding: 4px 6px;     /* reduce row height */
  vertical-align: top;
  line-height: 1.25;
}

td a {
  font-size: 10.5px;    /* smaller text */
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  text-decoration: none;
  color: #1e5aa5;
  line-height: 1.25;
  display: block;
}

td a:hover {
  color: #000;
}

/* Remove grid lines */

table, th, td {
  border: none;
}

/* Alternate row colors */

table tr:nth-child(even) {
  background-color: #f5f5f5;   /* light grey */
  color: #1e5aa5;
}

table tr:nth-child(odd) {
  background-color: #ffffff;   /* white */
  color: #1e5aa5;
}

/* Hover on individual cell */

td:hover {
  background-color: #F0CBB3;   /* sky blue */
  color: #8E0F1C;
  transition: 0.15s ease;
}

td:hover a {
  color: #8E0F1C;
}

/* List styling */

td ul {
  padding-left: 10px;
  margin: 0;
}

td li {
  font-size: 12px;
  margin-bottom: 2px;
  line-height: 1.2;
}

/* Subtle vertical lines */

td, th {
  border-right: 1px solid #e9eef5;
}

td:last-child,
th:last-child {
  border-right: none;
}

/* Header bottom separator */

th {
  border-bottom: 1px solid #e5e5e5;
}

/* First column styling */

td:first-child {
  background-color: #E3BCA4;   /* shade of peach as in title BG colour */
  color: #8E0F1C;   /* maroon */
  font-weight: 600;
  font-size: 11px;
  position: sticky;
  left: 0;
  z-index: 1;
}

td:first-child:hover {
  background-color: #87CEEB;
  color: #333;
}