/* ══════════════════════════════════════════════════════════════════════════
   RISKOS UNIVERSAL BLOOMBERG TERMINAL BUS & COMMAND PALETTE (terminalBus.css)
   ══════════════════════════════════════════════════════════════════════════ */

/* Bloomberg Mnemonic Command Bar Modal Overlay */
.bbm-command-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}

.bbm-command-box {
  width: 740px;
  max-width: 92vw;
  background: #020408;
  border: 1px solid #ffb000;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(255, 176, 0, 0.25), 0 0 0 1px rgba(255, 176, 0, 0.2);
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  animation: bbmBoxSlide 0.18s ease-out;
}

@keyframes bbmBoxSlide {
  from { transform: translateY(-20px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Command Header Strip */
.bbm-command-header {
  background: #0a0d14;
  border-bottom: 1px solid rgba(255, 176, 0, 0.25);
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
}

.bbm-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffb000;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.bbm-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #71717a;
  font-size: 0.68rem;
}

/* Command Input Field */
.bbm-input-row {
  display: flex;
  align-items: center;
  background: #000;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bbm-prompt-symbol {
  color: #ffb000;
  font-size: 1.15rem;
  font-weight: 800;
  margin-right: 12px;
}

.bbm-input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  width: 100%;
  outline: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bbm-input::placeholder {
  color: #52525b;
  font-weight: 500;
  text-transform: none;
}

.bbm-go-btn {
  background: #ffb000;
  color: #000;
  border: none;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.15s ease;
}

.bbm-go-btn:hover {
  background: #f59e0b;
  box-shadow: 0 0 10px rgba(255, 176, 0, 0.6);
}

/* Command Autocomplete / Suggestions List */
.bbm-results-list {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px 0;
  background: #04060a;
}

.bbm-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.bbm-result-item:hover, .bbm-result-item.selected {
  background: rgba(255, 176, 0, 0.1);
  border-left-color: #ffb000;
}

.bbm-res-cmd {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffb000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bbm-res-desc {
  font-size: 0.74rem;
  color: #a1a1aa;
}

.bbm-res-category {
  font-size: 0.65rem;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* Function Key Strip (F1 - F12) */
.bbm-fkey-ribbon {
  display: flex;
  overflow-x: auto;
  background: #080b12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  gap: 6px;
  font-size: 0.68rem;
}

.bbm-fkey-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bbm-fkey-pill:hover {
  background: rgba(255, 176, 0, 0.15);
  border-color: rgba(255, 176, 0, 0.4);
  color: #ffb000;
}

.bbm-fkey-name {
  color: #ffb000;
  font-weight: 800;
}

/* Floating Bottom Launchpad Mini-Dock removed per user preference */
.bbm-launchpad-dock {
  display: none !important;
}

@media (max-width: 768px) {
  .bbm-launchpad-dock { display: none; }
}
