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

.container {
    text-align: center;
}

.rating {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin: 1em 0;
}

.star {
    font-size: 2em;
    cursor: pointer;
    color: #d3d3d3;
}

.star.selected,
.star:hover {
    color: #ffd700;
}

#selected-rating {
    margin-bottom: 1em;
    font-size: 1.2em;
    color: #333;
}

#submit-rating{
    padding: 0.5em 1em;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background: #53ce72;
    color: white;
    cursor: pointer;
}

#submit-rating:hover {
    background: #47b262;
}

#rating-details {
    margin-top: 1em;
    font-size: 1em;
    color: #333;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    border-radius: 20px;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
