/**
 * Tim, Alicia, Lisa und Liam - Exercise Styles
 * Styles for the information table with fill-in blanks
 */

.exercise-container {
  width: 68rem;
  height: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-text {
  width: 64rem;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
  max-height: 15rem;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
}

.text-column {
  flex: 1;
  display: flex;
  flex-direction: column;

}

.info-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
}

.info-text p:last-child {
  margin-bottom: 0;
}

.table-container {
  width: 68rem;
  margin: 0 auto;
  max-height: 26rem;
  background-color: #fff;
  border-radius: 0.5rem;
  
  
}

.info-table {
  width: 68rem;
  border-collapse: collapse;
  background: transparent;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

.info-table th,
.info-table td {
  padding: 0.8rem;
  text-align: left;
  font-size: 1.2rem;
  border-bottom: 0.1rem solid #ddd;
}

.info-table th {
  font-weight: bold;
  color: #00699F;
  border-bottom: 0.2rem solid #00699F;
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1;
}

.info-table td:first-child {
  font-weight: bold;
  color: #333;
  width: 13rem;
  left: 0;
  background-color: #fff;
}

.info-table td {
  height: 2.5rem;
  vertical-align: middle;
}

.prefilled {
  font-weight: normal;
  color: #333;
}

.fill-in {
  width: 11rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  font-size: 1.2rem;
  border: 0.2rem solid #F9B002;
  border-radius: 1.5rem;
  text-align: center;
  background-color: #fff;
  transition: all 0.2s ease;
}

.fill-in:focus {
  outline: none;
  border-color: #00699f;
  box-shadow: 0 0 0.3rem rgba(0, 105, 159, 0.3);
}

/* Visual feedback for correct/incorrect answers */
.fill-in.correct {
  background-color: rgba(37, 129, 116, 0.1);
  border-color: #258174;
}

.fill-in.incorrect {
  background-color: rgba(255, 0, 0, 0.1);
  border-color: #ff0000;
}

/* Scrollbar styling */
.info-text::-webkit-scrollbar,
.table-container::-webkit-scrollbar {
  width: 0.8rem;
}

.info-text::-webkit-scrollbar-track,
.table-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0.4rem;
}

.info-text::-webkit-scrollbar-thumb,
.table-container::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 0.4rem;
}

.info-text::-webkit-scrollbar-thumb:hover,
.table-container::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Umlaut keyboard helper styling */
 