/* BT Locate Mode Styles */ /* Environment preset grid */ .btl-env-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .btl-env-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; cursor: pointer; transition: all 0.2s; color: var(--text-secondary); } .btl-env-btn:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); } .btl-env-btn.active { background: rgba(0, 255, 136, 0.1); border-color: var(--accent-green, #00ff88); color: var(--text-primary); } .btl-env-icon { font-size: 18px; line-height: 1; } .btl-env-label { font-size: 10px; font-weight: 600; text-transform: uppercase; } .btl-env-n { font-size: 9px; font-family: var(--font-mono); color: var(--text-dim); } /* ============================================ PROXIMITY HUD — main visuals area ============================================ */ .btl-hud { display: flex; flex-direction: column; gap: 0; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; flex-shrink: 0; overflow: hidden; } .btl-hud-top { display: flex; align-items: center; gap: 20px; padding: 14px 20px; } .btl-hud-band { font-size: 22px; font-weight: 800; font-family: var(--font-mono); letter-spacing: 2px; padding: 14px 20px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); border: 2px solid rgba(255, 255, 255, 0.1); color: var(--text-dim); text-align: center; min-width: 130px; transition: all 0.3s; flex-shrink: 0; } .btl-hud-band.immediate { color: #ef4444; border-color: #ef4444; background: rgba(239, 68, 68, 0.15); box-shadow: 0 0 20px rgba(239, 68, 68, 0.2); animation: btl-pulse 1s ease-in-out infinite; } .btl-hud-band.near { color: #f97316; border-color: #f97316; background: rgba(249, 115, 22, 0.12); box-shadow: 0 0 15px rgba(249, 115, 22, 0.15); animation: btl-pulse 2s ease-in-out infinite; } .btl-hud-band.far { color: #eab308; border-color: #eab308; background: rgba(234, 179, 8, 0.1); box-shadow: 0 0 10px rgba(234, 179, 8, 0.1); } @keyframes btl-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } } .btl-hud-metrics { display: flex; gap: 20px; flex: 1; align-items: flex-start; } .btl-hud-separator { width: 1px; height: 40px; background: rgba(255, 255, 255, 0.08); align-self: center; flex-shrink: 0; } .btl-hud-metric { display: flex; flex-direction: column; align-items: center; min-width: 60px; } .btl-hud-metric-lg .btl-hud-value { font-size: 28px; } .btl-hud-value { font-size: 22px; font-weight: 700; font-family: var(--font-mono); color: var(--text-primary); line-height: 1.1; } .btl-hud-unit { font-size: 10px; color: var(--text-dim); font-family: var(--font-mono); } .btl-hud-label { font-size: 9px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; } .btl-hud-controls { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; } .btl-hud-audio-toggle { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-secondary); cursor: pointer; white-space: nowrap; } .btl-hud-audio-toggle input[type="checkbox"] { margin: 0; } .btl-hud-clear-btn { padding: 4px 10px; font-size: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 4px; color: var(--text-dim); cursor: pointer; transition: all 0.2s; } .btl-hud-clear-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-secondary); } /* Bottom info bar */ .btl-hud-bottom { display: flex; justify-content: space-between; align-items: center; padding: 6px 20px; background: rgba(0, 0, 0, 0.3); border-top: 1px solid rgba(255, 255, 255, 0.05); } .btl-hud-info { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .btl-hud-info-item { font-size: 10px; font-family: var(--font-mono); color: var(--text-dim); } .btl-hud-info-sep { color: rgba(255, 255, 255, 0.15); font-size: 10px; } .btl-hud-diag { display: none; font-size: 9px; color: var(--text-dim); font-family: var(--font-mono); opacity: 0.5; white-space: nowrap; } .btl-hud-diag:not(:empty) { display: block; } /* ============================================ VISUALS AREA — map + chart ============================================ */ .btl-visuals-container { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 8px; } .btl-map-container { flex: 1; min-height: 250px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); } #btLocateMap { width: 100%; height: 100%; background: #1a1a2e; } .btl-rssi-chart-container { height: 100px; background: rgba(0, 0, 0, 0.3); border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); padding: 8px; position: relative; flex-shrink: 0; } .btl-rssi-chart-container .btl-chart-label { position: absolute; top: 4px; left: 8px; font-size: 9px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; } #btLocateRssiChart { width: 100%; height: 100%; } /* ============================================ LOCATE BUTTON — Bluetooth device cards ============================================ */ .bt-locate-btn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent-green, #00ff88); background: rgba(0, 255, 136, 0.1); border: 1px solid rgba(0, 255, 136, 0.3); border-radius: 3px; cursor: pointer; transition: all 0.2s; } .bt-locate-btn:hover { background: rgba(0, 255, 136, 0.2); border-color: var(--accent-green, #00ff88); } .bt-locate-btn svg { width: 10px; height: 10px; } /* ============================================ IRK DETECT BUTTON + DEVICE PICKER ============================================ */ .btl-detect-irk-btn { padding: 5px 10px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent-cyan, #00d4ff); background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.3); border-radius: 4px; cursor: pointer; transition: all 0.2s; white-space: nowrap; flex-shrink: 0; } .btl-detect-irk-btn:hover { background: rgba(0, 212, 255, 0.2); border-color: var(--accent-cyan, #00d4ff); } .btl-detect-irk-btn:disabled { opacity: 0.5; cursor: wait; } .btl-irk-picker { margin-top: 6px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; overflow: hidden; } .btl-irk-picker-status { padding: 8px 10px; font-size: 10px; color: var(--text-dim); text-align: center; } .btl-irk-picker-list { max-height: 160px; overflow-y: auto; } .btl-irk-picker-item { padding: 7px 10px; cursor: pointer; transition: background 0.15s; border-top: 1px solid rgba(255, 255, 255, 0.05); } .btl-irk-picker-item:first-child { border-top: none; } .btl-irk-picker-item:hover { background: rgba(0, 255, 136, 0.08); } .btl-irk-picker-name { font-size: 11px; font-weight: 600; color: var(--text-primary); } .btl-irk-picker-meta { font-size: 9px; font-family: var(--font-mono); color: var(--text-dim); margin-top: 1px; } /* ============================================ RESPONSIVE — stack HUD vertically on narrow ============================================ */ @media (max-width: 900px) { .btl-hud { flex-wrap: wrap; gap: 10px; } .btl-hud-band { min-width: unset; width: 100%; font-size: 20px; } .btl-hud-metrics { width: 100%; justify-content: space-around; } .btl-hud-controls { flex-direction: row; width: 100%; justify-content: center; } }