﻿.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

    .star-rating input {
        display: none;
    }

    .star-rating label {
        cursor: pointer;
        font-size: 2rem;
        color: #ddd;
        transition: all 0.2s ease;
    }

        .star-rating label:hover,
        .star-rating label:hover ~ label,
        .star-rating input:checked ~ label {
            color: #ffc107;
            transform: scale(1.1);
        }

        .star-rating label:hover {
            transform: scale(1.2);
        }

.rating-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    min-height: 30px;
    margin-top: 10px;
}

.char-counter {
    text-align: right;
    font-size: 0.875rem;
    color: #6c757d;
}

    .char-counter.warning {
        color: #dc3545;
    }

.new-review-highlight {
    animation: highlightFade 2s ease-in-out;
}

@keyframes highlightFade {
    0% {
        background-color: #d1ecf1;
    }

    100% {
        background-color: transparent;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
