/* League Spartan Font */
@font-face {
  font-family: 'League Spartan';
  src: url('../assets/fonts/LeagueSpartan-VariableFont_wght.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Exercise Container */
.exercise-container {
  width: 68rem;
  margin: 0.5rem auto 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1.5rem 2rem;
  box-sizing: border-box;
}

/* Main content layout: table + lightbulb */
.content-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2rem;
  position: relative;
  margin-top: 3.5rem;
}

.timetable-section {
  flex: 1 1 auto;
}

.lightbulb-section {
  position: absolute;
  top: 8.5rem;
  left: 60rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 10;
}

/* Timetable table */
.timetable {
  width: calc(100% - 4rem);
  border-collapse: collapse;
  table-layout: fixed;
  font-family: 'League Spartan', sans-serif;
  font-size: 1.3rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
}

.timetable th,
.timetable td {
  border: 0.0625rem solid #e0e0e0;
  padding: 0.6rem 0.8rem;
  text-align: center;
  vertical-align: middle;
}

.timetable thead th {
  background-color: #f9b002;
  color: #ffffff;
  font-weight: 700;
}

.timetable .time-column {
  width: 10rem;
}

.timetable tbody th {
  background-color: #fff7e0;
  font-weight: 600;
}

/* Fill-in inputs inside table */
.fill-input {
  width: 80%;
  max-width: 14rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  border: 0.125rem solid #f9b002;
  border-radius: 1.25rem;
  text-align: left;
  font-family: 'League Spartan', sans-serif;
  background-color: rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
}

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

.fill-input.has-content {
  background-color: #ffffff;
}

/* Words hints under the table */
.hints-words {
  margin-top: 1.2rem;
  text-align: center;
}

.hints-words-list {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 1rem;
  background-color: #fff7e0;
  font-family: 'League Spartan', sans-serif;
  font-size: 1rem;
  color: #333333;
}

/* Lightbulb hint (reused pattern from E12_U06) */
.hint-container {
  position: relative;
  display: inline-block;
}

.hint-button {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hint-icon {
  width: 2.5rem;
  height: 2.5rem;
  transition: transform 0.2s ease;
}

.hint-button:hover .hint-icon,
.hint-container.active .hint-icon {
  transform: scale(1.05);
}

.hint-text {
  display: none;
  position: absolute;
  top: -2rem;
  right: 3rem;
  left: auto;
  transform: none;
  background-color: #ffffff;
  border: 0.0625rem solid #dddddd;
  border-radius: 0.75rem;
  padding: 0.8rem 1rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.16);
  font-family: 'League Spartan', sans-serif;
  font-size: 1rem;
  color: #333333;
  width: 16rem;
  box-sizing: border-box;
  z-index: 5;
}

.hint-text p {
  margin: 0 0 0.3rem 0;
}

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

.hint-container.active .hint-text {
  display: block;
}

/* Hide footer check button (no checking in this task) */
footer {
  display: none;
}

