/**
 * Wer hat wann Geburtstag? - Exercise Styles
 * Styles for the birthday table with info text
 */

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

.info-text {
/*  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;
}

.info-text 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;
}

.birthdays-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

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

.birthdays-table td {
  padding: .3rem;
  font-size: 1.2rem;
  vertical-align: middle;
}

.birthdays-table td:first-child {
  font-weight: bold;
  color: #333;
  width: 40%;
}

.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;
}

/**
 * Die Wochentage - Exercise Styles
 * Styles for the weekdays table with notebook paper style
 */

.exercise-container {
  width: 80rem;
  height: 40rem;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.table-container {
  width: 30rem;
  max-height: 22rem;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
  position: relative;
  /* Notebook paper style */

  padding: 0 2rem 2rem 4rem;
  border: 0.1rem solid #ddd;
}


.weekdays-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
  background: transparent;
}

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

.weekdays-table td {
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 1.2rem;
  height: 3.5rem;
  vertical-align: middle;
}

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

.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: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

.fill-in:focus {
  outline: none;
  border-color: #00699f;
  box-shadow: 0 0 0.3rem rgba(52, 152, 219, 0.5);
  background-color: rgba(255, 255, 255, 0.9);
}

/* 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;
}

/* Umlaut keyboard helper styling */
 