/**
 * Kalender - Exercise Styles
 * Styles for the calendar months exercise
 */

.exercise-container {
  width: 66rem;
  height: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.exercise-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('rd7-2_e5u5_001.jpg');
  background-size: cover;
  background-position: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  width: 66rem;
  height: 39rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-top: 0.2rem;
}

.month-cell {
  background-color: #fff;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width:13.5rem;
  height:2rem;
}

.month-cell.prefilled {
  width: 15rem;
  margin-left: -1rem;
  background-color: #f0f0f0;
  border-color: #999;
}

.month-cell.prefilled span {
  font-size: 1.2rem;

  color: #333;
}
 
.fill-in {
  width: 13rem;
  height: 1.8rem;
  padding: 0 0.5rem;
  font-size: 1.2rem;
  border: none;
  text-align: center;
  background: transparent;
  color: #00699F;
  background-color: white;
  border: 0.2rem solid #F9B002;
  border-radius: 1.5rem;
}
.fill-in:focus{
  border-color: #00699f;
 }
/* Visual feedback for correct/incorrect answers - matching E05_U01 */
.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;
}

/**
 * Die Jahreszeiten - Exercise Styles
 * Styles for the seasons table and related elements
 */

.seasons-table {
  width: 68rem;
  border-collapse: collapse;
  margin-top: 2rem;
}

.seasons-table th, .seasons-table td {
  padding: 1rem;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #ccc;
}
.seasons-table th img{
  width:10rem;
}
.seasons-table th {
  background-color: #f0f0f0;
  font-weight: bold;
}

.seasons-table td img {
  max-width: 10rem;
  height: auto;
  margin-bottom: 0.5rem;
}

.seasons-table input[type="text"] {
  width: 7rem;
  padding: 0.5rem;
  font-size: 1.2rem;
  text-align: center;
}

.table-container {
  max-width: 70rem;
  margin: 0 auto;
  overflow-x: auto;
}

.instructions {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.season-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}



 /* Visual feedback for correct/incorrect answers */
