﻿

/* The main container holding the entire gauge component */
.gauge-container {
    width: 460px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Container for the percentage ticks above the gauge */
.gauge-ticks {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 0 2px; /* Align with gauge body */
    font-size: 12px;
    color: #555;
}

    .gauge-ticks span {
        align-self: center;
        text-align: center;
    }

.gauge-caption {
    padding-bottom: 8px;
}

.gauge-caption strong {
    font-weight: 500;
}

/* The main bar with the multi-color background */
.gauge-body {
    position: relative;
    height: 30px;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* The blue bar representing the actual value */
.gauge-value {
    /* Positioning */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* Appearance */
    height: 18px;
    background-color: #3498db;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: solid 1px #333;
    /* Text Styling */
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    /* Text Centering */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The black vertical marker */
.gauge-marker {
    /* Positioning */
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%); /* Centers the marker on its 'left' coordinate */
    z-index: 1; /* Ensures it's on top of the blue bar */
    /* Appearance */
    height: 28px;
    width: 4px;
    background-color: #2c3e50;
    border-radius: 1px;
}
