/* public/css/ratings.css */

.rating-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.rating-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.rating-modal-content {
    background: var(--base-white);
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.rating-modal-overlay.show .rating-modal-content {
    transform: scale(1);
}

.rating-modal-content h2 {
    color: var(--konectomi-purple);
    margin-top: 0;
}

.rating-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
}

.compliment-section {
    background-color: #f8f9fa;
    border: 1px solid #eee;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}