/*
  Shared CSS for scpsmp.site
  Dark theme matching GitHub's design language
*/

/* CSS Custom Properties (Design Tokens) */
:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #21262d;
  --bg-card: rgba(22, 27, 34, 0.95);
  --bg-hover: #30363d;
  --bg-input: #161b22;
  --border-primary: #30363d;
  --border-secondary: #484f58;
  --border-focus: #58a6ff;
  --text-primary: #f0f6fc;
  --text-secondary: #c9d1d9;
  --text-muted: #8b949e;
  --text-disabled: #6e7681;
  --accent-primary: #58a6ff;
  --accent-secondary: #a371f7;
  --accent-success: #3fb950;
  --accent-warning: #d29922;
  --accent-danger: #f85149;
  --accent-danger-bg: #da3633;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-inset: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", Menlo, Consolas, monospace;
  --z-navbar: 10;
  --z-modal: 100;
  --z-toast: 200;
}

/* Reset & Base */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-secondary);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-secondary);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background: rgba(13, 17, 23, 0.95);
  border-bottom: 1px solid var(--border-primary);
  padding: 12px 24px;
  display: flex;
  gap: 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  backdrop-filter: blur(20px);
}

.navbar a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.navbar a:hover {
  background: var(--bg-tertiary);
  color: var(--accent-primary);
  text-decoration: none;
}

.navbar a.active {
  background: var(--bg-tertiary);
  color: var(--accent-primary);
}

.navbar a.admin {
  background: #3d1a1a;
  color: var(--accent-danger);
}

.navbar a.admin:hover {
  background: #4d1f1f;
  color: var(--accent-danger);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-success), #4ac260);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #4ac260, var(--accent-success));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(63, 185, 80, 0.3);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-primary);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-secondary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.btn-ghost:hover:not(:disabled) {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.btn-danger {
  background: var(--accent-danger-bg);
  color: #fff;
}

.btn-danger:hover:not(:disabled) {
  background: var(--accent-danger);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(248, 81, 73, 0.3);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-warning), #e3b341);
  color: var(--bg-primary);
}

.btn-accent:hover:not(:disabled) {
  background: linear-gradient(135deg, #e3b341, #f0c455);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(210, 153, 34, 0.3);
}

/* Button sizes */
.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
}

/* Full width button */
.btn-block {
  width: 100%;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15);
}

.form-input::placeholder {
  color: var(--text-disabled);
}

.form-input:disabled {
  background: var(--bg-tertiary);
  color: var(--text-disabled);
  cursor: not-allowed;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent-primary);
  cursor: pointer;
}

.checkbox-group a {
  color: var(--accent-primary);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg), var(--shadow-inset);
  backdrop-filter: blur(20px);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
}

.card-subtitle {
  color: var(--text-muted);
  margin: 0 0 28px;
  font-size: 14px;
}

.card-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--bg-tertiary);
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 12px;
  color: var(--text-disabled);
}

.card-footer a {
  color: var(--text-muted);
}

.card-footer a:hover {
  color: var(--accent-primary);
}

/* ============================================
   GAME CARDS
   ============================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-primary);
  border-color: var(--accent-primary);
}

.game-card:hover::before {
  opacity: 1;
}

.game-card.coming-soon {
  opacity: 0.7;
  border-style: dashed;
  border-color: rgba(255, 152, 0, 0.4);
}

.game-card.coming-soon:hover {
  border-color: #ff9800;
  box-shadow: var(--shadow-lg), 0 0 0 1px #ff9800;
}

.game-card.coming-soon::before {
  background: linear-gradient(90deg, #ff9800, #ffb74d);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge.playable {
  background: rgba(63, 185, 80, 0.15);
  color: var(--accent-success);
  border: 1px solid rgba(63, 185, 80, 0.3);
}

.badge.soon {
  background: rgba(255, 152, 0, 0.15);
  color: #ff9800;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.game-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.game-card.coming-soon h2 {
  color: #ff9800;
}

.game-card p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.game-card.coming-soon p {
  color: #ff9800;
}

.game-meta {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-tertiary);
  font-size: 12px;
  color: var(--text-disabled);
}

.game-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.game-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn var(--transition-fast);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  animation: slideUp var(--transition-normal);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-box h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-box .modal-subtitle {
  color: var(--text-muted);
  margin: 0 0 24px;
  font-size: 14px;
}

.modal-box h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 20px 0 10px;
}

.modal-box p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.modal-box ul {
  margin: 0 0 16px 20px;
  padding: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.modal-box li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--bg-tertiary);
}

.modal-actions .btn {
  flex: 1;
}

.version-badge {
  display: inline-block;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.warning-box {
  background: rgba(218, 54, 51, 0.1);
  border: 1px solid rgba(218, 54, 51, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
}

.warning-box .warning-title {
  color: var(--accent-danger);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.warning-box p {
  color: #ffa198;
  font-size: 13px;
  margin: 0;
}

/* ============================================
   POPUP (Maintenance, etc.)
   ============================================ */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn var(--transition-fast);
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 400px;
  width: 90%;
}

.popup-box p {
  font-size: 16px;
  margin: 0 0 24px;
  color: var(--text-secondary);
}

.popup-box .btn {
  width: auto;
  min-width: 120px;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-container {
  width: 100%;
  background: var(--bg-tertiary);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 1rem;
  display: none;
}

.progress-bar {
  height: 6px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transition: width 0.3s ease;
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--border-secondary);
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-primary);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  margin-bottom: 40px;
  text-align: center;
}

.page-header h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

/* ============================================
   TABLES (Admin)
   ============================================ */
.table-container {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-primary);
}

.table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg-tertiary);
  position: sticky;
  top: 0;
}

.table tbody tr {
  transition: background var(--transition-fast);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.table td {
  color: var(--text-secondary);
}

.table .text-muted {
  color: var(--text-muted);
}

.table .font-mono {
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ============================================
   BADGES (General)
   ============================================ */
.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-info {
  background: rgba(88, 166, 255, 0.15);
  color: var(--accent-primary);
  border: 1px solid rgba(88, 166, 255, 0.3);
}

.badge-success {
  background: rgba(63, 185, 80, 0.15);
  color: var(--accent-success);
  border: 1px solid rgba(63, 185, 80, 0.3);
}

.badge-warning {
  background: rgba(210, 153, 34, 0.15);
  color: var(--accent-warning);
  border: 1px solid rgba(210, 153, 34, 0.3);
}

.badge-danger {
  background: rgba(248, 81, 73, 0.15);
  color: var(--accent-danger);
  border: 1px solid rgba(248, 81, 73, 0.3);
}

.badge-neutral {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border: 1px solid var(--border-primary);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 400px;
  animation: slideInRight 0.3s ease;
  pointer-events: auto;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

.toast.success {
  border-left: 3px solid var(--accent-success);
}

.toast.error {
  border-left: 3px solid var(--accent-danger);
}

.toast.warning {
  border-left: 3px solid var(--accent-warning);
}

.toast.info {
  border-left: 3px solid var(--accent-primary);
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.toast-close:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

/* ============================================
   SEARCH INPUT
   ============================================ */
.search-input {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-primary);
  background: var(--bg-input);
  color: var(--text-primary);
  font-size: 13px;
  width: 240px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-disabled);
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  padding: 100px 24px 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 700px;
}

.container-wide {
  max-width: 1200px;
}

/* ============================================
   GRID BACKGROUND (Canvas)
   ============================================ */
#gridCanvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
}

/* Page types that need full-screen canvas */
html.has-canvas-bg {
  overflow: hidden;
  height: 100vh;
}

html.has-canvas-bg body {
  overflow: hidden;
  height: 100vh;
  background: transparent;
  position: relative;
  z-index: 1;
}

html.has-canvas-bg .navbar {
  position: relative;
  z-index: 10;
}

html.has-canvas-bg .container {
  position: relative;
  z-index: 1;
  overflow-y: auto;
  height: calc(100vh - 60px); /* Account for navbar height */
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
  .navbar {
    padding: 10px 16px;
    gap: 10px;
  }
  .navbar a {
    padding: 6px 12px;
    font-size: 13px;
  }
  .container {
    padding: 90px 16px 40px;
  }
  html.has-canvas-bg .container {
    height: calc(100vh - 56px); /* Adjust for mobile navbar */
  }
  .page-header h1 {
    font-size: 26px;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 1.5rem;
    margin: 10px;
    max-width: none;
  }
  .modal-box {
    padding: 1.5rem;
    margin: 10px;
  }
  .modal-actions {
    flex-direction: column;
  }
  .search-input {
    width: 100%;
  }
  .table th,
  .table td {
    padding: 10px 12px;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--accent-success); }
.text-warning { color: var(--accent-warning); }
.text-danger { color: var(--accent-danger); }
.text-primary { color: var(--accent-primary); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 32px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }

.w-full { width: 100%; }
.hidden { display: none !important; }

/* ============================================
   DROPDOWN MENU
   ============================================ */
.dropdown-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-modal);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  max-width: 360px;
  padding: 4px;
  display: none;
  animation: dropdownFadeIn var(--transition-fast);
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu.open {
  display: block;
}

.dropdown-item {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: normal;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--bg-hover);
  outline: none;
}

.dropdown-item:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: -2px;
}

.dropdown-item-desc {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.dropdown-item .badge {
  margin-left: 8px;
  margin-bottom: 0;
  font-size: 10px;
  padding: 2px 8px;
  flex-shrink: 0;
}