.tektur {
  font-family: "Tektur", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
.metamorphous {
  font-family: "Metamorphous", serif;
  font-weight: 400;
  font-style: normal;
}
    .jacquard {
  font-family: "Jacquard 12", system-ui;
  font-weight: 400;
  font-style: normal;
}
    h1,h2,h3,h4 {
  font-family: "Jacquard 12", system-ui;
  font-weight: 400;
  font-style: normal;
  margin-top: 10px;
  margin-bottom: 10px;
}

    h1 {
      text-align: left;
      font-size: 1.6rem;
    }
        h2 {
      font-size: 3rem;
    }
        h3 {
      font-size: 2rem;
    }
        h4 {
      font-size: 2rem;
      text-align: center;
    }
    #progress-bar {
      position: relative;
      height: 20px;
      background: #eee;
      border: 1px solid #ccc;
      margin-bottom: 3em;
    }
    #update {
      padding-top: 10px;
    }
    .marker, .milestone {
      position: absolute;
      width: 2px;
      background: #007BFF;
    }
    .marker {
      top: -10px;
      height: 50px;
    }
    .marker-label {
      position: absolute;
      top: 40px;
      font-size: 0.9em;
      white-space: nowrap;
      transform: translateX(-50%);
    }
       #members-wrapper {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 2em;
      align-items: flex-start;
    }
    #members {
      padding-top: 40px; 
      margin: 0 auto;
      max-width: 400px;
      flex: 1 1 60%;
    }
        #cover {
      flex: 1 1 30%;
      max-width: 200px;
      text-align: center;
    }
    #cover img {
      width: 100%;
      height: auto;
      border: 1px solid #ccc;
    }
  #booktitle {
    padding-bottom: 60px;
    text-align: center;
  }
  #dates {
    padding-top: 90px;
    line-height: 1.6;
  }
    #dates-row1 {
    color:rgb(0, 0, 0);
    text-align: center;
   /* text-shadow: 1px 1px #000000;*/
    font-size: 24px;
  }
      #dates-row2 {
    color:rgb(255, 166, 0);
    text-align: center;
    text-shadow: 1px 1px #000000;
    font-size: 24px;
    padding-bottom: 15px;
  }
    .milestone {
      top: -15px;
      height: 15px;
      background: #FF5733;
    }
    .milestone-label {
      position: absolute;
      font-size: 0.9em;
      white-space: nowrap;
      color: #FF5733;
      transform: translateX(-50%);
    }
    .member-row {
      display: flex;
      align-items: center;
      margin-bottom: 0.5em;
      padding: 0.5em;
    }
    .member-row:nth-child(even) {
      background: #f7f7f7;
    }
    .member-row:nth-child(odd) {
      background: #ffffff;
    }
    .projection {
      font-size: 0.9em;
      margin-left: 1em;
      color: #666;
    }
    label {
      flex: 1;
    }
    form {
      border-top: 1px solid #ccc;
      max-width: 300px;
      margin: 2em auto;
    }
    input, select, button {
      width: 100%;
      box-sizing: border-box;
      margin-bottom: 1em;
      padding: 0.5em;
      font-size: 1em;
    }
        .form-grid {
      display: flex;
      gap: 2em;
      justify-content: center;
      flex-wrap: nowrap;
    }
    .pastbooks {
      font-size: 1.3em;
      padding-top: 40px;
    }
    .pastbooks a {
  color: #FF5733;
  text-decoration: none;
}
    .sitetitle a {
      color: black;
  text-decoration: none;
}
.recommendations {
      font-size: 1.1em;
      padding-top: 40px;
      padding-bottom: 50px;
      
    }
    .recommendations .list {
      margin: 3rem;
    }
/* Style the fieldset as button group */
fieldset {
  border: none;
  padding: 0;
  margin-bottom: 1em;
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
}

/* Hide original radio buttons */
input[type="radio"] {
  display: none;
}

/* Style labels to look like buttons */
input[type="radio"] + label {
  display: inline-flex;
  align-items: center;     /* vertical centering */
  justify-content: center; /* horizontal centering (optional) */
  padding: 0.4em 1em;
  min-height: 2.2em;        /* ensures consistent height */
  border: 2px solid #888;
  border-radius: 4px;
  background: #f0f0f0;
  cursor: pointer;
  font-size: 0.8em;
  font-weight: bold;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

/* Active style for selected */
input[type="radio"]:checked + label {
  background: #444;
  color: white;
  border-color: #444;
}
.bookyear-timeline {
  margin: 2rem 0 3rem;
}

.bookyear-axis {
  position: relative;
  height: 120px;            /* room for stacked items */
}

.bookyear-bar {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: rgba(0,0,0,0.2);
  border-radius: 2px;
}

.bookyear-tick {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  text-align: center;
  font-size: 12px;
  color: rgba(0,0,0,0.7);
}

.bookyear-tick-line {
  display: block;
  width: 1px;
  height: 40px;
  margin: 0 auto 4px auto;
  background: rgba(0,0,0,0.25);
}

.bookyear-tick-label {
  white-space: nowrap;
}

.bookyear-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #c1c1c1; /* gray default */
  border-radius: 50%;
  transform: translate(-50%, 50%);
  top: 50%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 0 0 2px #fff;
}

.bookyear-dot.is-current {
  background: rgb(0, 0, 0); /* green for current book */
  box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(0,187,85,0.15);
}

.bookyear-dot.is-active {
  background: #ff0000; /* black for open page */
  box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(0,0,0,0.15);
}

.bookyear-dot:is(:hover, :focus) {
  transform: translate(-50%, 50%) scale(1.15);
  z-index: 2;
}

.bookyear-tooltip {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: #fff;
  color: #222;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.bookyear-dot:is(:hover, :focus) .bookyear-tooltip {
  opacity: 1;
  transform: translate(-50%, -2px);
}
.addreader-section {
  margin: 1.5em 0;
  text-align: center;
}

.addreader-toggle {
  cursor: pointer;
  font-family: "Jacquard 12", system-ui;
  font-size: 1.8rem;
  background: #f4f4f4;
  padding: 0.5em 0.75em;
  border-radius: 6px;
  border: 1px solid #ddd;
  transition: background 0.2s ease;
  list-style: none; /* removes default marker */
  display: inline-block;     /* shrink to content width */
  margin: 0 auto;
}

.addreader-toggle:hover {
  background: #e9e9e9;
}

.addreader-section[open] .addreader-toggle {
  background: #ffe0e0;
  border-color: rgb(187, 0, 0);
}

.addreader-form {
  margin-top: 1em;
  padding: 0.75em;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.addreader-form input,
.addreader-form button {
  max-width: 250px;
}
.plusbutton-section {
  margin: 1.5em 0;
}

.plusbutton-toggle {
  cursor: pointer;
  font-family: "Jacquard 12", system-ui;
  font-size: 1.8rem;
  background: #f4f4f4;
  padding: 0.5em 0.75em;
  border-radius: 6px;
  border: 1px solid #ddd;
  transition: background 0.2s ease;
  display: inline-block;     /* shrink to content width */
  margin: 0 auto;
}

.plusbutton-toggle:hover {
  background: #e9e9e9;
}

.plusbutton-section[open] .plusbutton-toggle {
  background: #ffe0e0;
  border-color: rgb(187, 0, 0);
}

.plusbutton-form {
  margin-top: 1em;
  padding: 0.75em;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

