/* Gauge Styles */
.gauge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.gauge {
    width: 300px;
    margin-bottom: 5px;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gauge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gauge-title {
    font-weight: bold;
    font-size: 16px;
}

.gauge-value {
    font-size: 18px;
    font-weight: bold;
}

.gauge-unit {
    font-size: 14px;
    margin-left: 4px;
    color: #666;
}

.gauge-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gauge-min, .gauge-max {
    font-size: 12px;
    color: #666;
    width: 40px;
}

.gauge-min {
    text-align: right;
}

.gauge-max {
    text-align: left;
}

.gauge-bar-container {
    flex-grow: 1;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    position: relative;
}

.gauge-bar {
    height: 100%;
    transform-origin: left;
    transition: transform 0.3s ease;
}

.gauge-bar-positive {
    background-color: #ccc;
}

.gauge-bar-negative {
    background-color: #ccc;
    transform-origin: right;
}

.gauge-zero-marker {
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: #333;
    z-index: 2;
}

/* Color classes */
.gauge-bar.ok {
    background-color: #4caf50;
}

.gauge-bar.warning {
    background-color: #ff9800;
}

.gauge-bar.danger {
    background-color: #f44336;
}

/* Threshold indicator styles */
.gauge-threshold-indicator {
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: #000000;
    z-index: 2;
}
