/* Review Styles */
.review-stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.review-stars.small {
    font-size: 0.9rem;
}

.review-stars .bi-star-fill, 
.review-stars .bi-star-half {
    color: #ffc107;
}

.review-stars .bi-star {
    color: #e4e5e9;
}

/* Rating Form */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-input input {
    display: none;
}

.rating-input label {
    cursor: pointer;
    width: 30px;
    height: 30px;
    font-size: 25px;
    color: #e4e5e9;
    text-align: center;
}

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

/* Progress Bars */
.rating-bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.rating-bar-label {
    width: 40px;
    font-size: 14px;
}

.rating-bar-wrap {
    flex-grow: 1;
    height: 8px;
    background-color: #f1f1f1;
    border-radius: 4px;
    margin: 0 10px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background-color: #ffc107;
    border-radius: 4px;
}

.rating-bar-count {
    width: 30px;
    font-size: 12px;
    color: #6c757d;
}

/* Review Card */
.review-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: bold;
    margin-right: 10px;
}

.verified-badge {
    color: #198754;
    font-size: 12px;
    margin-right: 10px;
}

.review-date {
    color: #6c757d;
    font-size: 12px;
}

.review-body {
    margin-bottom: 15px;
}

/* Media Upload Preview */
.media-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.media-preview-item {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #dee2e6;
}

/* Store Reply */
.review-reply {
    background-color: #f8f9fa;
    border-right: 3px solid #0d6efd;
    padding: 10px 15px;
    margin-top: 15px;
    border-radius: 4px;
}

.review-reply-header {
    font-weight: bold;
    font-size: 13px;
    color: #0d6efd;
    margin-bottom: 5px;
}

/* Actions */
.review-actions {
    display: flex;
    gap: 15px;
    font-size: 13px;
}

.review-btn {
    background: none;
    border: none;
    color: #6c757d;
    padding: 0;
    cursor: pointer;
}

.review-btn:hover {
    color: #0d6efd;
}

.review-btn.active {
    color: #0d6efd;
    font-weight: bold;
}
