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

th, td {
  border: 1px solid var(--border-color, rgba(255,255,255,0.2));
  padding: 10px;
  text-align: center;
  color: var(--text-primary, #F8FAFC);
}

td.partial {
  background: #3b82f6;
  font-weight: bold;
}

/* th background overridden by theme.css */
.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: var(--surface-color, #161B22);
  border-left: 5px solid var(--accent, #ffae00);
  border-radius: 5px;
  max-width: 600px;
  min-height: 20px;
  font-style: italic;
  display: none; /* Hidden by default */
  color: var(--text-primary, #F8FAFC);
  padding-bottom: 0px;
}

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

#hintBtn {
  background-color: var(--accent, #ffae00);
  color: var(--text-primary, #0F172A);
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
}

#hintBtn:hover {
  background-color: var(--header-footer-color, #282828);
  color: var(--accent, #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;
  }
}





/* Container for the card */
.quiz-card {
    background: #ffae00;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); /* Soft depth shadow */
    /* max-width: 350px; */
    height: 300px;
    margin: 20px auto;
    text-align: center;
    /* border: 1px solid #eee; */
    align-content: center;
}

#categoryLabel {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 10px;
    margin-top: 50px;
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

#questionText {
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--text-primary, #F8FAFC);
    min-height: 100px; /* Prevents card jumping if text is short */
    display: flex;
    align-items: center;
    justify-content: center;
}