/* Main container styling */
.dbv-barometers-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1em;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
}

/* Each barometer block */
.dbv-barometer-item {
    width: 100%;
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: 1px solid #ccc;
}

/* Title styling */
.dbv-barometer-item h3 {
    color: #951B81;
    margin-bottom: 0.5em;
}

/* Progress bar container */
.dbv-progress-bar-container {
    display: flex;
    gap: 10px;
    margin-bottom: 0.5em;
}

/* The label on the right side */
.dbv-progress-label {
    font-weight: bold;
    color: #951B81;
    white-space: nowrap;
}

/* Base progress bar styles */
.dbv-progress-bar {
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

/* Horizontal Bar Styling */
.orientation-horizontal .dbv-progress-bar {
    width: 100%;
    height: 20px;
}

.orientation-horizontal .dbv-progress-fill {
    height: 100%;
    width: 0;
    background-color: #008A84;
    transition: width 1s ease;
}

/* Center the progress bar inside the container */
.orientation-vertical .dbv-progress-bar-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    /* Centers the progress bar */
    justify-content: center !important;
    /* Centers the bar vertically if needed */
    text-align: center;
}

/* Vertical Bar Styling */
.orientation-vertical .dbv-progress-bar {
    width: 30px;
    /* Make it thinner */
    height: 200px;
    /* Control the height */
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: center;
    /* Center the fill inside */
}

/* Ensure the fill expands upwards */
.orientation-vertical .dbv-progress-fill {
    width: 100%;
    height: 0%;
    background-color: #008A84;
    transition: height 1s ease;
    position: absolute;
    bottom: 0;
}

/* Adjust label position */
.orientation-vertical .dbv-progress-label {
    text-align: center;
    font-weight: bold;
    color: #951B81;
    margin-top: 5px;
    /* Adds spacing between bar and text */
}