/* TABLE STYLING */
table {
  margin-top: 20px;
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

th, td {
  border: 1px solid #333;
  padding: 10px;
  text-align: center;
}

td.partial {
  background: #3b82f6;
  /* color: #000; */
  font-weight: bold;
}

th { background: #f9f9f9; }
.correct { background: #1f8f4a; font-weight: bold; }
.wrong { background: #8f1f1f; font-weight: bold; }

/* IMAGE & INFO AREA */
#imageContainer {
  margin: 20px 0;
  text-align: center;
}

#characterImage {
  max-width: 600px;
  width: 100%;
  border-radius: 8px;
  /* filter: blur(10px);  */
  transition: filter 0.5s;
}

/* Hint button and container */
.hint-container {
  margin: 15px auto;
  padding: 10px;
  background: #fdf6e3;
  border-left: 5px solid #ffae00;
  border-radius: 5px;
  max-width: 600px;
  min-height: 20px;
  font-style: italic;
  display: none; /* Hidden by default */
  color: #555;
  padding-bottom: 0px;
}

.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

#hintBtn {
  background-color: #ffae00;
  color: #000;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
}

#hintBtn:hover {
  background-color: #282828;
  color: #ffae00;
}

/* INPUT WRAPPER */
.input-wrapper {
  display: flex;
  margin: 0 auto;
  gap: 10px;
  max-width: 500px;
  position: relative;
}


@media (max-width: 768px) {
  /* Hide IMDb column on mobile */
  .imdb_col {
    display: none;
  }
  th, td {
    padding: 3px;
  }
  /* Also hide the header cell */
  th.imdb_col {
    display: none;
  }
}
