/* Keyboard shortcuts styling */

kbd {
  background-color: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
  color: #333;
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.4;
  margin: 0 0.1em;
  padding: 0.1em 0.6em;
  text-shadow: 0 1px 0 #fff;
  white-space: nowrap;
}

/* Keyboard shortcut hints on buttons */
.button[data-shortcut]::after {
  content: " (" attr(data-shortcut) ")";
  font-size: 0.75em;
  opacity: 0.7;
  margin-left: 0.5em;
}

/* Help indicator */
.keyboard-help-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 1000;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.keyboard-help-indicator:hover {
  opacity: 1;
}

/* Modal improvements for keyboard shortcuts */
.modal-card-body .table td:first-child {
  width: 40%;
  font-family: monospace;
}

.modal-card-body .table td:last-child {
  width: 60%;
}

/* Highlight active shortcut context */
.shortcut-context-active {
  border-left: 3px solid #3273dc;
  padding-left: 1rem;
  background-color: #f8f9fa;
}
