/* WiFi Locate Mode Styles */ /* Environment preset grid */ .wfl-env-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .wfl-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); } .wfl-env-btn:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); } .wfl-env-btn.active { background: rgba(0, 255, 136, 0.1); border-color: var(--accent-green, #00ff88); color: var(--text-primary); } .wfl-env-icon { font-size: 18px; line-height: 1; } .wfl-env-label { font-size: 10px; font-weight: 600; text-transform: uppercase; } .wfl-env-n { font-size: 9px; font-family: var(--font-mono); color: var(--text-dim); } /* ============================================ VISUALS CONTAINER ============================================ */ .wfl-visuals-container { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; overflow: hidden; padding: 8px; } /* ============================================ PROXIMITY HUD ============================================ */ .wfl-hud { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 16px; position: relative; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; overflow: hidden; } .wfl-hud-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .wfl-hud-target { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; } .wfl-target-ssid { font-size: 14px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .wfl-target-bssid { font-size: 11px; font-family: var(--font-mono); color: var(--text-dim); } .wfl-hud-audio-toggle { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-secondary); cursor: pointer; white-space: nowrap; } .wfl-hud-audio-toggle input[type="checkbox"] { margin: 0; } .wfl-hud-stop-btn { padding: 5px 12px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #ff3366; background: rgba(255, 51, 102, 0.1); border: 1px solid rgba(255, 51, 102, 0.3); border-radius: 4px; cursor: pointer; transition: all 0.2s; white-space: nowrap; } .wfl-hud-stop-btn:hover { background: rgba(255, 51, 102, 0.2); border-color: #ff3366; } /* ============================================ RSSI DISPLAY — big dBm number ============================================ */ .wfl-rssi-display { font-size: 64px; font-weight: 800; font-family: var(--font-mono); text-align: center; line-height: 1; color: var(--text-dim); transition: color 0.3s; padding: 8px 0; } .wfl-rssi-display.good { color: #22c55e; text-shadow: 0 0 20px rgba(34, 197, 94, 0.3); } .wfl-rssi-display.medium { color: #eab308; text-shadow: 0 0 20px rgba(234, 179, 8, 0.2); } .wfl-rssi-display.weak { color: #ef4444; text-shadow: 0 0 20px rgba(239, 68, 68, 0.2); } /* ============================================ DISTANCE ESTIMATE ============================================ */ .wfl-distance { text-align: center; font-size: 16px; font-family: var(--font-mono); color: var(--text-secondary); margin-top: -4px; } /* ============================================ SIGNAL BAR — 20 horizontal segments ============================================ */ .wfl-bar-container { display: flex; gap: 3px; padding: 8px 0; align-items: center; justify-content: center; } .wfl-bar-segment { width: 100%; height: 28px; flex: 1; border-radius: 2px; background: rgba(255, 255, 255, 0.06); transition: background 0.15s; } .wfl-bar-segment.active:nth-child(-n+7) { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.3); } .wfl-bar-segment.active:nth-child(n+8):nth-child(-n+14) { background: #eab308; box-shadow: 0 0 6px rgba(234, 179, 8, 0.3); } .wfl-bar-segment.active:nth-child(n+15) { background: #22c55e; box-shadow: 0 0 6px rgba(34, 197, 94, 0.3); } /* ============================================ RSSI CHART — canvas wrapper ============================================ */ .wfl-rssi-chart-container { height: 120px; 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; } .wfl-rssi-chart-container .wfl-chart-label { position: absolute; top: 4px; left: 8px; font-size: 9px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; } #wflRssiChart { width: 100%; height: 100%; } /* ============================================ STATS — 4-column grid ============================================ */ .wfl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 8px 0; } .wfl-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; } .wfl-stat-value { font-size: 16px; font-weight: 700; font-family: var(--font-mono); color: var(--text-primary); } .wfl-stat-label { font-size: 9px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; } /* ============================================ SIGNAL LOST OVERLAY ============================================ */ .wfl-signal-lost { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.7); color: #ef4444; font-size: 24px; font-weight: 800; font-family: var(--font-mono); letter-spacing: 4px; text-transform: uppercase; z-index: 10; animation: wfl-pulse 2s ease-in-out infinite; } @keyframes wfl-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } /* ============================================ WAITING STATE ============================================ */ .wfl-waiting { display: flex; align-items: center; justify-content: center; flex: 1; color: var(--text-dim); font-size: 13px; text-align: center; padding: 20px; } /* ============================================ LOCATE BUTTON — WiFi detail drawer ============================================ */ .wfl-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; } .wfl-locate-btn:hover { background: rgba(0, 255, 136, 0.2); border-color: var(--accent-green, #00ff88); } .wfl-locate-btn svg { width: 10px; height: 10px; } /* ============================================ RESPONSIVE ============================================ */ @media (max-width: 1023px) { .wfl-rssi-display { font-size: 48px; } .wfl-bar-segment { height: 22px; } .wfl-stats { grid-template-columns: repeat(2, 1fr); } .wfl-hud-header { flex-wrap: wrap; gap: 8px; } .wfl-rssi-chart-container { height: 90px; } }