.pts-rating-container {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.pts-rating-container h3 {
    margin-top: 0;
    color: #333;
    text-align: center;
}

.pts-rating-content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

.pts-rating-stars {
    font-size: 30px;
    color: #ddd;
    direction: ltr;
    margin-left: 20px;
}

.pts-star {
    cursor: pointer;
    transition: color 0.2s;
}

.pts-star.active, .pts-star:hover {
    color: #ffd700;
}

.pts-rating-info {
    text-align: center;
}

.pts-rating-average, .pts-vote-count {
    margin: 5px 0;
    font-size: 16px;
}

.pts-rating-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.pts-rating-button:hover {
    background-color: #45a049;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

@keyframes arrowAnimation {
    0%, 100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-10px) scale(1.1);
        opacity: 0.8;
    }
}

.pts-rating-arrow {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 20px;
    animation: arrowAnimation 1.5s ease-in-out infinite;
}

.pts-rating-container {
    position: relative;
    /* ... existing styles ... */
}

/* ... rest of the existing styles ... */