.speed-test{width:100%;max-width:640px;margin:0 auto}.gauges{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-bottom:1.5rem}.gauge-container{display:flex;flex-direction:column;align-items:center;flex:1;min-width:180px;max-width:250px}.gauge-svg{width:100%;max-width:200px}.gauge-label{font-size:.9rem;font-weight:600;margin-top:-.5rem;letter-spacing:.05em}.metrics-row{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap;margin-bottom:1.5rem}.metric-card{background:#1e293b99;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:.75rem 1.25rem;display:flex;flex-direction:column;align-items:center;min-width:100px}.metric-value{font-size:1.5rem;font-weight:800;font-variant-numeric:tabular-nums}.metric-value.ip-text{font-size:.75rem;color:#64748b;word-break:break-all}.metric-label{font-size:.7rem;color:#94a3b8;margin-top:.15rem;text-transform:uppercase;letter-spacing:.08em}.progress-container{width:100%;height:6px;background:#1e293bcc;border-radius:3px;overflow:hidden;margin-bottom:1.5rem}.progress-bar{height:100%;background:linear-gradient(90deg,#3b82f6,#34d399);border-radius:3px;transition:width .3s ease-out}.btn-start,.btn-stop,.btn-save,.btn-retry{display:block;width:100%;padding:1rem;border:none;border-radius:14px;font-size:1.2rem;font-weight:700;cursor:pointer;transition:transform .15s,box-shadow .15s,opacity .15s;font-family:inherit}.btn-start{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 4px 24px #3b82f64d}.btn-start:hover{transform:scale(1.02);box-shadow:0 6px 32px #3b82f680}.btn-stop{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.btn-save{background:linear-gradient(135deg,#34d399,#059669);color:#fff;margin-top:.75rem;box-shadow:0 4px 24px #34d3994d}.btn-save:disabled{opacity:.4;cursor:not-allowed;transform:none;box-shadow:none}.btn-retry{background:transparent;color:#94a3b8;border:1px solid rgba(255,255,255,.1);margin-top:.5rem;font-size:.95rem}.btn-retry:hover{background:#ffffff0d}.provider-form{margin-top:1.5rem;text-align:center}.provider-form h3{font-size:1.1rem;font-weight:600;margin-bottom:.75rem;color:#e2e8f0}.detected-info{background:#3b82f61a;border:1px solid rgba(59,130,246,.2);border-radius:10px;padding:.5rem .75rem;margin-bottom:.75rem;font-size:.85rem;color:#93c5fd}.detected-org{color:#64748b;font-size:.8rem}.device-type-selector{display:flex;gap:.5rem;margin-bottom:.75rem;flex-wrap:wrap}.device-type-btn{flex:1;min-width:120px;padding:.6rem .5rem;border-radius:10px;border:1px solid rgba(255,255,255,.1);background:#0f172a99;color:#94a3b8;font-size:.85rem;font-family:inherit;cursor:pointer;transition:all .15s}.device-type-btn:hover{background:#ffffff0d;border-color:#fff3}.device-type-btn.active{background:#3b82f626;border-color:#3b82f6;color:#60a5fa;font-weight:600}.device-type-input{width:100%;padding:.6rem .75rem;border-radius:10px;border:1px solid rgba(255,255,255,.15);background:#0f172acc;color:#f8fafc;font-size:.9rem;font-family:inherit;margin-bottom:.75rem}.device-type-input:focus{outline:2px solid #3b82f6;outline-offset:2px}.device-type-input::placeholder{color:#64748b}.provider-select{width:100%;padding:.75rem 1rem;border-radius:10px;border:1px solid rgba(255,255,255,.15);background:#0f172acc;color:#f8fafc;font-size:1rem;font-family:inherit;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;cursor:pointer}.provider-select:focus{outline:2px solid #3b82f6;outline-offset:2px}.saving-indicator{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-top:1.5rem;color:#94a3b8;font-size:1rem}.spinner{width:20px;height:20px;border:3px solid rgba(255,255,255,.1);border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-message{color:#ef4444;text-align:center;margin-top:1rem;font-size:.9rem}.connection-banner{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;background:#8b5cf626;border:1px solid rgba(139,92,246,.35);border-radius:12px;padding:.75rem 1rem;margin-bottom:.75rem;font-size:.9rem;color:#c4b5fd}.connection-banner span{flex:1;min-width:180px}.banner-btn{padding:.4rem .8rem;border-radius:8px;border:1px solid rgba(139,92,246,.4);background:#8b5cf633;color:#ddd6fe;font-size:.8rem;font-family:inherit;cursor:pointer;transition:background .15s;white-space:nowrap}.banner-btn:hover{background:#8b5cf659}.banner-dismiss{padding:.3rem .5rem;background:transparent;border:none;color:#94a3b8;font-size:.85rem;cursor:pointer;line-height:1}.connection-type-badge{display:inline-block;padding:.35rem .9rem;border-radius:999px;font-size:.85rem;font-weight:600;margin-bottom:.75rem;background:#3b82f61f;border:1px solid rgba(59,130,246,.25);color:#93c5fd}.connection-method-selector{margin-bottom:.75rem;text-align:left}.selector-label{display:block;font-size:.8rem;color:#94a3b8;margin-bottom:.4rem;font-weight:500;letter-spacing:.03em}.method-buttons{display:flex;gap:.5rem}.method-btn{flex:1;padding:.6rem .5rem;border-radius:10px;border:1px solid rgba(255,255,255,.1);background:#0f172a99;color:#94a3b8;font-size:.85rem;font-family:inherit;cursor:pointer;transition:all .15s}.method-btn:hover{background:#ffffff0d;border-color:#fff3}.method-btn.active{background:#34d3991f;border-color:#34d399;color:#6ee7b7;font-weight:600}
