body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.glass-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.connection-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.connected {
    background: rgba(34, 197, 94, 0.2);
    border: 2px solid #22c55e;
    color: #22c55e;
}

.disconnected {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid #ef4444;
    color: #ef4444;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.data-value {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.data-label {
    font-size: 0.875rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#canvas-container {
    width: 100%;
    height: 500px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    overflow: hidden;
}

.gauge-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.gauge-svg {
    transform: rotate(-90deg);
}

.gauge-circle-bg {
    fill: none;
    stroke: rgba(148, 163, 184, 0.2);
    stroke-width: 10;
}

.gauge-circle {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s ease;
}

.suspension-bar {
    width: 40px;
    height: 200px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.suspension-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, #06b6d4, #3b82f6);
    border-radius: 20px;
    transition: height 0.3s ease;
}

.steering-wheel {
    width: 200px;
    height: 200px;
    border: 8px solid #3b82f6;
    border-radius: 50%;
    position: relative;
    transition: transform 0.3s ease;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent);
}

.steering-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 80px;
    background: #ef4444;
    transform-origin: bottom center;
    transform: translate(-50%, -100%);
}

.imu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.imu-data-item {
    background: rgba(15, 23, 42, 0.5);
    padding: 0.75rem;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.chart-container {
    position: relative;
    height: 250px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quaternion-display {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}