#health-bar-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    width: 300px;
}

#health-bar {
    width: 100%;
    height: 25px;
    background-color: #333;
    border-radius: 5px;
    position: relative;
    border: 2px solid white;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: limegreen;
    border-radius: 5px 0 0 5px;
    transition: width 0.3s ease;
}

.health-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 1px 1px 2px black;
}
