body {
    font-family: 'Inter', sans-serif;
    background-color: #020617;
    overflow-x: hidden;
}

.heading-font {
    font-family: 'Sora', sans-serif;
}

.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    filter: blur(100px);
    opacity: 0.6;
}

.glass-panel {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary-glow {
    background: linear-gradient(90deg, #6366f1, #a855f7);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
}

.btn-primary-glow:hover {
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.6);
    transform: scale(1.02);
}

.sensor-value {
    transition: color 0.3s ease, transform 0.3s ease;
}

.capacity-meter {
    display: flex;
    gap: 0.25rem;
    justify-content: flex-end;
}

.capacity-segment {
    height: 0.375rem;
    width: 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.4s ease;
}

.capacity-segment.active {
    background: #3b82f6;
}

.water-level-track {
    position: absolute;
    inset: auto 0 0;
    height: 0.85rem;
    background: rgba(59, 130, 246, 0.15);
    overflow: hidden;
}

.water-level-fill {
    height: 100%;
    background: #3b82f6;
    animation: shimmer 2s infinite;
    transform-origin: left center;
    transition: width 0.5s ease;
}

@keyframes shimmer {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

.turbidity-bars div {
    transition: height 0.7s ease, background 0.3s ease;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.turbidity-bars {
    position: relative;
    overflow: hidden;
}

.turbidity-chart-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.turbidity-no-data.hidden {
    display: none;
}
