:root {
    --bg-main: #000000;
    --bg-card: rgba(255, 255, 255, 0.08);
    --bg-chart: rgba(20, 20, 20, 0.85);
    --accent-color: #ff9800;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --radius: 12px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    gap: 20px;
}

/* Tarjeta de Sensores */
.card {
    background: var(--bg-card);
    padding: 16px 24px;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.sensor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sensor-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sensor-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.sensor-value small {
    font-size: 0.9rem;
    font-weight: 400;
}

.sensor-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
}

/* Gráfica */
.chart-container {
    width: 100%;
    max-width: 800px;
    background: var(--bg-chart);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Imagen de cámara */
#snapshot {
    max-width: 100%;
    width: 800px;
    max-height: 70vh;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
