.upr-rating {
border: 1px solid #ddd;
padding: 20px;
max-width: 400px;
border-radius: 6px;
background: #fafafa;
margin: 20px 0;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}
.upr-rating label {
font-weight: 600;
display: block;
margin-bottom: 8px;
}
.upr-rating input[type="text"],
.upr-rating select {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
margin-bottom: 15px;
font-size: 15px;
}
.upr-submit {
background: #0073aa;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
}
.upr-submit:hover {
background: #005d8f;
}
.upr-stars {
font-size: 20px;
display: inline-block;
position: relative;
color: #ccc;
unicode-bidi: bidi-override;
}
.upr-stars span {
position: absolute;
top: 0;
left: 0;
overflow: hidden;
white-space: nowrap;
color: #f5a623;
}
.upr-star {
font-size: 18px;
color: #ddd; margin-right: 2px;
}
.upr-star.full {
color: #f1c40f; }
.upr-star.half {
color: #f1c40f;
position: relative;
}
.upr-star.half::after {
content: '★';
color: #ddd;
position: absolute;
left: 50%;
width: 50%;
overflow: hidden;
}
.upr-user-list {
margin-top: 15px;
padding-top: 10px;
border-top: 1px solid #ddd;
}
.upr-user-list ul {
list-style: disc;
padding-left: 20px;
margin-bottom: 10px;
}
.upr-view-all-btn {
background: #0073aa;
color: #fff;
border: none;
padding: 6px 12px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
}
.upr-view-all-btn:hover {
background: #005d8f;
}
.upr-star {
cursor: default; }
.upr-user-hidden {
transition: all 0.3s ease-in-out;
}
@media (max-width: 480px) {
.upr-rating {
padding: 15px;
max-width: 100%;
}
}