/* public/assets/css/hardware/network-test.css */
.net-wrapper { --p-bg: #ffffff; --p-border: #e2e8f0; --p-primary: #0284c7; --p-primary-hover: #0369a1; --p-success: #10b981; --p-warning: #f59e0b; --p-danger: #ef4444; --p-info: #06b6d4; --p-text: #0f172a; --p-text-muted: #64748b; width: 100%; max-width: 1100px; margin: 0 auto; background: var(--p-bg); border-radius: 20px; padding: 24px; border: 1px solid var(--p-border); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.net-wrapper *, .net-wrapper *::before, .net-wrapper *::after { box-sizing: border-box; }

.net-header { text-align: center; margin-bottom: 24px; border-bottom: 1px solid var(--p-border); padding-bottom: 24px; }
.net-title { font-size: 1.7rem; font-weight: 800; color: var(--p-text); margin: 0 0 10px 0; }
.net-subtitle { font-size: 0.95rem; color: var(--p-text-muted); max-width: 800px; margin: 0 auto; line-height: 1.6; }

.net-workspace { display: flex; flex-direction: column; gap: 24px; }

/* Panels */
.net-panel { background: #f8fafc; border: 1px solid var(--p-border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; }
.net-panel-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--p-border); padding-bottom: 12px; margin-bottom: 20px; }
.net-panel-title { font-size: 1.1rem; font-weight: 800; color: var(--p-text); text-transform: uppercase; letter-spacing: 0.5px; }

/* Grid Stats (Hardware API) */
.net-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 800px) { .net-grid { grid-template-columns: repeat(2, 1fr); } }
.net-stat-box { background: #ffffff; border: 1px solid var(--p-border); padding: 16px; border-radius: 12px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.02); display: flex; flex-direction: column; gap: 8px; }
.net-label { font-size: 0.85rem; font-weight: 800; color: #64748b; text-transform: uppercase; }
.net-val { font-size: 1.5rem; font-weight: 900; font-family: monospace; color: #1e293b; }
.net-val.highlight { color: var(--p-primary); }
.net-val small { font-size: 0.9rem; color: #94a3b8; font-weight: 700; }

/* Active Probe Section */
.net-btn-primary { padding: 12px 30px; border-radius: 8px; font-weight: 800; font-size: 1.05rem; cursor: pointer; border: none; transition: 0.2s; background: var(--p-primary); color: #ffffff; box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3); display: flex; align-items: center; gap: 8px; }
.net-btn-primary:hover { background: var(--p-primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4); }

.net-probe-layout { display: flex; gap: 20px; align-items: stretch; }
@media (max-width: 850px) { .net-probe-layout { flex-direction: column; } }

.net-chart-container { flex: 2; position: relative; background: #020617; border-radius: 12px; border: 2px solid #1e293b; height: 280px; overflow: hidden; box-shadow: inset 0 5px 20px rgba(0,0,0,0.5); }
.net-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; }
.net-chart-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 3; display: flex; align-items: center; justify-content: center; background: rgba(2, 6, 23, 0.7); color: #cbd5e1; font-weight: 800; font-size: 1.1rem; letter-spacing: 1px; font-family: monospace; transition: opacity 0.3s; }

.net-results-board { flex: 1; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (max-width: 850px) { .net-results-board { grid-template-columns: repeat(2, 1fr); } }
.net-result-item { background: #0f172a; border-radius: 12px; padding: 16px; border: 1px solid #1e293b; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.net-res-label { font-size: 0.8rem; font-weight: 800; color: #94a3b8; text-transform: uppercase; }
.net-res-val { font-size: 1.6rem; font-weight: 900; font-family: 'Consolas', monospace; }
.text-info { color: var(--p-info); text-shadow: 0 0 10px rgba(6, 182, 212, 0.3); }
.text-warning { color: var(--p-warning); text-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
.text-danger { color: var(--p-danger); text-shadow: 0 0 10px rgba(239, 68, 68, 0.3); }
.text-success { color: var(--p-success); }

.net-hint-card { background: #fef2f2; border-left: 4px solid #ef4444; padding: 16px; border-radius: 0 10px 10px 0; font-size: 0.9rem; color: #7f1d1d; line-height: 1.6; }

/* Dark Mode */
[data-theme="dark"] .net-wrapper { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .net-title, [data-theme="dark"] .net-panel-title, [data-theme="dark"] .net-val { color: #f8fafc; }
[data-theme="dark"] .net-subtitle, [data-theme="dark"] .net-label { color: #94a3b8; }
[data-theme="dark"] .net-panel { background: #0f172a; border-color: #475569; }
[data-theme="dark"] .net-stat-box { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .net-hint-card { background: rgba(239, 68, 68, 0.1); border-left-color: #ef4444; color: #fca5a5; }