/* Chip styles for the session's word-by-word attempts table.
   - `.correction-chip*` renders the two distinct correction counts in
     coloured squares (spelling = purple, typo = orange).
   - `.coin-chip` is a coin-shaped amber pill with the coin count inside.
   - `.session-icon-chip` wraps the input-method / presentation icons
     with a consistent size + hover treatment and pairs with a tooltip.
*/

.correction-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  tabular-nums: true;
  cursor: default;
}

.correction-chip-spelling {
  background: #EDE9FE;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
}

.correction-chip-typo {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.coin-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #B45309;
  background: radial-gradient(circle at 30% 30%, #FEF3C7 0%, #FCD34D 80%);
  box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.2);
  cursor: default;
}

.coin-chip-empty {
  color: #CBD5E1;
  background: #F1F5F9;
  box-shadow: inset 0 0 0 1px #E2E8F0;
}

.session-icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  color: #475569;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  cursor: default;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.session-icon-chip:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
}

.session-icon-chip svg {
  width: 16px;
  height: 16px;
}
