/* Keyboard Shortcuts Modal Styles */

.shortcuts-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 30, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  animation: shortcutsFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes shortcutsFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.shortcuts-modal-container {
  width: 100%;
  max-width: 520px;
  background: rgba(18, 24, 40, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.shortcuts-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shortcuts-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
}

.shortcuts-title svg {
  color: var(--accent, #6366f1);
}

.shortcuts-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.shortcuts-close-btn:hover {
  color: #fff;
}

.shortcuts-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 70vh;
  overflow-y: auto;
}

.shortcuts-section-title {
  font-size: 0.775rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #818cf8;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.shortcut-row:last-child {
  border-bottom: none;
}

.shortcut-label {
  font-size: 0.9rem;
  color: #cbd5e1;
  font-weight: 500;
}

.shortcut-keys {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.shortcut-keys kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}
