/**
 * Wer mag was? Wer mag was nicht? - Exercise Styles
 * Styles for the preferences table with two-column text
 */

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

.info-text {
  display: flex;
  gap: 4rem;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
  padding: 2rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}

.text-column {
  flex: 1;
}

.text-column p {
  margin: 0.8rem 0;
}

.table-container {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
  padding: 2rem;
  flex-grow: 1;
  overflow-y: auto;
}

.preferences-table {
  width: 64rem;
  border-collapse: collapse;
  margin: 0 auto;
}

.preferences-table th {
  padding: 1rem;
  text-align: center;
  font-size: 1.4rem;
  color: #333;
  border-bottom: 0.2rem solid #3498db;
  
}

.preferences-table td {
  padding: 1rem;
  text-align: center;
  font-size: 1.2rem;
  vertical-align: middle;
}

.preferences-table td:first-child {
  width: 3rem;
}

.preferences-table img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.fill-in {
  width: 10rem;
  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 */
.table-container::-webkit-scrollbar {
  width: 0.8rem;
}

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

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

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

/* Umlaut keyboard helper styling */
 