
.dpeGraph {
    background: #fff;
    border: 4px solid #fff;
    margin-bottom: 16px;
    font-family: sans-serif;
    overflow: hidden;
    display: flex;
    align-items: flex-start; /* Align items at the top */
    position: relative;
    max-width: 440px;
}

.dpeGraph * {
    box-sizing: border-box; 
    white-space: nowrap;
}

.dpeGraph h5 {
    margin-top: 0;
}

.dpeBar {
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    height: 30px; /* Default height for all bars */
    position: relative;
}

.dpeBar.highlight {
    height: 50px; /* Height for the highlighted bar */
}

.dpeBar:before {
    font-size: 12px;  
    content: attr(data-rating);
    position: absolute;
    left: 10px; /* Adjust position as needed */
    font-weight: bold;
}

.dpeBar.dpeA {
    background: #198B59;
    width: 40%;
}

.dpeBar.dpeB {
    background: #2EA949;
    width: 50%;
}

.dpeBar.dpeC {
    background: #95CA53;
    width: 60%;
}

.dpeBar.dpeD {
    background: #F0EB36;
    width: 70%;
}

.dpeBar.dpeE {
    background: #F6AE35;
    width: 80%;
}

.dpeBar.dpeF {
    background: #F0702F;
    width: 90%;
}

.dpeBar.dpeG {
    background: #E8262F;
    width: 100%;
}

.dpeGraph .overall {
    margin-left: 4px;
    width: 100%;
    height: 370px; /* Adjusted height to fit all bars */
}

.dpeGraph .overall span {
    font-size: 10px;
    font-weight: bold;
    display: block;
    height: 10px; /* Set height for the text */
    line-height: 10px; /* Align text vertically */
}

.dpeGraph .overall span:first-child {
    margin-bottom: 4px;
}

.dpeGraph .overall span:last-child {
    margin-top: 4px;
}

.dpeGraph .current {
    width: 250px; /* Adjusted width */
    height: 370px; /* Adjusted height */
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background: #fff;
}

.dpeGraph .header {
    height: 30px; /* Set header height */
    line-height: 30px; /* Align text vertically */
}

.dpeGraph .chart {
    position: relative;
    width: 100%;
    height: 340px; /* Adjusted height to exclude header and text */
    flex-grow: 1;
    display: flex;
    align-items: flex-start; /* Align items at the top */
}

.dpeGraph .chart .chartPointer {
    position: absolute; /* Position absolute for easier alignment */
    /* background: #fff; */
    border: 1px solid #0F739A;
    color: #000;
    font-weight: bold;
    width: 100%;
    height: 50px; /* Height for the marker */
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    padding: 4px;
}

.dpeGraph .chart .chartPointer .description,
.dpeGraph .chart .chartPointer .units {
    font-size: 10px;
}

.dpeGraph .chart .chartPointer .values {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.dpeGraph .chart .chartPointer .values .value {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 0 4px; /* Padding for the dividing line */
    border-left: 1px solid #0F739A; /* Vertical line between values */
}

.dpeGraph .chart .chartPointer .values .value:first-child {
    border-left: none; /* Remove left border from the first value */
}
