/* Sidebar Widget Enhancements - Popular List with Circular Gradient Numbers */

.popular-list {
    list-style: none;
    padding: 0;
    counter-reset: popular-count;
}

.popular-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.popular-item::before {
    counter-increment: popular-count;
    content: counter(popular-count);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    /* Circular */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Different gradient color for each number */
.popular-item:nth-child(1)::before {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    /* Red */
}

.popular-item:nth-child(2)::before {
    background: linear-gradient(135deg, #f89020, #ff7f00);
    /* Orange */
}

.popular-item:nth-child(3)::before {
    background: linear-gradient(135deg, #ffd93d, #ffb700);
    /* Yellow */
}

.popular-item:nth-child(4)::before {
    background: linear-gradient(135deg, #6bcf7f, #4caf50);
    /* Green */
}

.popular-item:nth-child(5)::before {
    background: linear-gradient(135deg, #4facfe, #00b4db);
    /* Blue */
}

.popular-title {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    transition: color 0.2s;
}

.popular-title:hover {
    color: #20429a;
}