/* public/assets/css/system/ble-health.css */

.ble-wrapper { padding: 32px; border-radius: var(--radius-lg); position: relative; }
.ble-header { text-align: center; margin-bottom: 32px; }
.ble-title { font-size: 2rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; letter-spacing: -0.5px; }
.ble-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; line-height: 1.6; }

.ble-workspace { max-width: 1000px; margin: 0 auto; background: #0f172a; border: 1px solid #1e293b; border-radius: 16px; padding: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); color: #f8fafc; }

/* 顶部操作面板 */
.ble-control-panel { display: flex; justify-content: space-between; align-items: center; background: #1e293b; padding: 16px 24px; border-radius: 12px; margin-bottom: 24px; border: 1px solid #334155; }
.ble-device-info { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem; font-family: monospace; }
.ble-status-dot { width: 12px; height: 12px; border-radius: 50%; background: #64748b; box-shadow: 0 0 8px rgba(100, 116, 139, 0.5); transition: 0.3s; }
.ble-status-dot.active { background: #10b981; box-shadow: 0 0 12px rgba(16, 185, 129, 0.8); }

.ble-actions { display: flex; gap: 12px; }
.ble-btn-primary { padding: 10px 20px; font-weight: 700; background: #3b82f6; color: #fff; border: none; border-radius: 8px; cursor: pointer; transition: 0.2s; }
.ble-btn-primary:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); }
.ble-btn-outline { padding: 10px 20px; font-weight: 600; background: transparent; color: #94a3b8; border: 1px solid #475569; border-radius: 8px; cursor: pointer; transition: 0.2s; }
.ble-btn-outline:hover { color: #f8fafc; border-color: #f8fafc; background: rgba(255,255,255,0.05); }
.ble-btn-danger { padding: 10px 20px; font-weight: 700; background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); border-radius: 8px; cursor: pointer; transition: 0.2s; }
.ble-btn-danger:hover { background: #ef4444; color: #fff; }

/* 数据卡片 */
.ble-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.ble-stat-card { background: #1e293b; padding: 20px; border-radius: 12px; border: 1px solid #334155; position: relative; overflow: hidden; }
.ble-stat-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; }
.bpm-card::before { background: #ef4444; }
.battery-card::before { background: #10b981; }
.location-card::before { background: #8b5cf6; }

.ble-stat-label { font-size: 0.85rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.ble-stat-value { font-size: 2.5rem; font-weight: 800; font-family: 'Courier New', Courier, monospace; display: flex; align-items: center; gap: 12px; }

/* 动态心跳图标 */
.heart-icon { transition: transform 0.1s ease; opacity: 0.2; }
.heart-icon.beat { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.8)); }

/* 图表容器 */
.ble-chart-container { background: #1e293b; padding: 16px; border-radius: 12px; border: 1px solid #334155; }

/* SEO Blocks */
.ble-info-card { background: var(--bg-surface); padding: 24px; border-radius: 16px; border: 1px solid var(--border-color); max-width: 1000px; margin: 0 auto; }
.ble-info-card h3 { color: var(--text-main); font-size: 1.15rem; margin-bottom: 16px; }
.ble-desc-text { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

@media (max-width: 768px) {
    .ble-control-panel { flex-direction: column; gap: 16px; align-items: stretch; text-align: center; }
    .ble-device-info { justify-content: center; }
    .ble-actions { flex-direction: column; }
    .ble-stats-grid { grid-template-columns: 1fr; }
}