/* ===== TABLE COMPLETION ===== */

.table-completion-group {
  margin-bottom: 24px;
}

.table-completion-scroll {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}

.table-completion-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.45;
}

.table-completion-table th,
.table-completion-table td {
  min-width: 140px;
  padding: 10px 12px;
  border: 1px solid #aeb8c4;
  text-align: left;
  vertical-align: top;
}

.table-completion-table th {
  background: #f3f6fa;
  font-weight: 800;
}

.table-completion-blank {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  margin: 0 3px;
  white-space: nowrap;
}

.table-completion-number {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.table-completion-input {
  width: 86px !important;
  margin-top: 0 !important;
  padding: 0 0 2px !important;
  border: none !important;
  border-bottom: 2px solid #111827 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  text-align: center;
}

.reading-review-mode .table-completion-input:disabled {
  color: inherit !important;
  opacity: 1 !important;
  -webkit-text-fill-color: currentColor;
}

.reading-review-mode .table-completion-input.reading-review-correct,
.reading-review-mode .table-completion-input.reading-review-wrong {
  border-radius: 8px !important;
  border-bottom-color: currentColor !important;
  font-weight: 900;
}
