#review-container {
    text-align: center;
    padding-bottom: 20px;
    position: relative;
    min-height: 200px;
}

.review {
    display: none !important; /* Standaard verborgen */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    margin: 0 auto;
    max-width: 100%;
    word-wrap: break-word;
}

.review.active {
    display: block !important; /* Forceer display: block voor de actieve review */
    opacity: 1 !important;
}

#review-container .rating-stars {
    color: #f5c518; /* Goudkleur voor sterren */
    font-size: 24px;
    margin-top: 10px;
}

/* Stijlen voor de voortgangsbalk */
#progress-bar {
    width: 100%;
    height: 5px;
    background-color: #e0e0e0; /* Achtergrondkleur */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

#progress-bar-fill {
    width: 0%;
    height: 100%;
    background-color: #f5c518; /* Goudkleur */
    transition: none; /* Verwijder de transitie om breedte-berekening betrouwbaarder te maken */
}

@media (max-width: 768px) {
    .review {
        font-size: 16px;
        padding: 10px;
    }
    
    #review-container .rating-stars {
        font-size: 20px;
        color: #f5c518; /* Herbevestig kleur */
    }

    #progress-bar {
        height: 4px; /* Iets dunner op mobiel */
    }
}

@media (max-width: 480px) {
    #progress-bar {
        height: 3px; /* Nog dunner op kleine schermen */
    }
}