/**
 * AmStats Pro - Frontend Styles
 * Version 2.0.0
 */

/* View Counter */
.amstats-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9em;
    color: #666;
}

.amstats-views::before {
    content: '👁️';
}

/* Trending Badge */
.amstats-trending-badge {
    display: inline-block;
    margin-right: 4px;
}

/* Popular Posts Shortcode */
.amstats-popular-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.amstats-popular-posts li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.amstats-popular-posts li:last-child {
    border-bottom: none;
}

.amstats-popular-posts a {
    text-decoration: none;
}

.amstats-popular-posts a:hover {
    text-decoration: underline;
}

.amstats-post-views {
    color: #888;
    font-size: 0.85em;
}

/* Trending Posts Shortcode */
.amstats-trending-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.amstats-trending-posts li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.amstats-trending-posts li:last-child {
    border-bottom: none;
}

.amstats-trending-posts a {
    text-decoration: none;
}

/* Widget Styles */
.widget .amstats-widget-popular {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget .amstats-widget-popular li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.widget .amstats-widget-popular li:last-child {
    border-bottom: none;
}

.widget .amstats-widget-popular a {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.widget .amstats-widget-views {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    color: #666;
    margin-left: 8px;
}
