/* TürkAnime Detail Page Styles */

.rating-star {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-star:hover,
.rating-star.active {
    color: #ffc107;
}

.rating-bar {
    height: 15px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background-color: #ffc107;
    transition: width 0.3s ease;
}

.comment-item {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
}

.comment-item:last-child {
    border-bottom: none;
}

.user-rating-badge {
    font-size: 0.75rem;
}

.default-avatar {
    background: linear-gradient(45deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

/* Rating distribution styles */
.rating-distribution {
    margin-top: 1rem;
}

.rating-distribution .d-flex {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rating-star {
        font-size: 1.2rem;
    }
    
    .default-avatar {
        font-size: 14px;
    }
    
    .user-rating-badge {
        font-size: 0.65rem;
    }
}

/* Animation for smooth transitions */
.rating-star,
.rating-bar-fill,
.default-avatar {
    transition: all 0.3s ease;
}

/* Hover effects */
.comment-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin: 0 -1rem;
}

/* Alert animations */
.alert {
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}