/**
 * Navbar Shortcuts Custom Styles
 */

.dropdown-shortcuts-item {
  position: relative;
  padding: 1.25rem;
  text-align: center;
  transition: background-color 0.2s ease;
}

.dropdown-shortcuts-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.dropdown-shortcuts-item .remove-shortcut {
  opacity: 0;
  transition: opacity 0.2s ease;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.dropdown-shortcuts-item .remove-shortcut:hover {
  background: #fff;
  color: #dc3545;
  border-color: #dc3545;
}

.dropdown-shortcuts-item:hover .remove-shortcut {
  opacity: 1;
}

.dropdown-shortcuts-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: rgba(var(--bs-primary-rgb), 0.08);
}

.dropdown-shortcuts-add {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.dropdown-shortcuts-add:hover {
  transform: scale(1.1);
}

.dropdown-shortcuts-list {
  max-height: 350px;
  overflow-y: auto;
}

/* Dark mode support */
[data-theme='dark'] .dropdown-shortcuts-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

[data-theme='dark'] .dropdown-shortcuts-item .remove-shortcut {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

[data-theme='dark'] .dropdown-shortcuts-item .remove-shortcut:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: #dc3545;
}
