
body {
    font-family: sans-serif;
    /*background-color: #f4f4f4;*/
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.container h1{
    margin-bottom: 40px;
    border-bottom: thin solid #e4e4e4;
    padding-bottom: 10px;
}

.movie-item {
    margin-bottom: 1.5rem;
}

.avg-rating {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.star {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

/* On hover, color all stars */
.rating-stars:hover .star {
    color: #ffc107;
}

/* Then, un-color the stars after the hovered one */
.rating-stars .star:hover ~ .star {
    color: #ccc;
}

.rating-stars .star.filled {
    color: #ffc107;
}

.rating-stars.rated {
    cursor: default;
    pointer-events: none;
}
