.vn-vote-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.vn-vote-up, .vn-vote-down {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 5px;
    transition: transform 0.2s ease;
}

.vn-vote-up:hover, .vn-vote-down:hover {
    transform: scale(1.2);
}

.vn-vote-up.active, .vn-vote-down.active {
    color: #0073aa;
}

.vn-vote-score {
    font-size: 18px;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

/* Animaciones */
@keyframes voteAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.vn-vote-up.active, .vn-vote-down.active {
    animation: voteAnimation 0.3s ease;
}

/* Tooltip */
.vn-vote-up[title], .vn-vote-down[title] {
    position: relative;
}

.vn-vote-up[title]:hover::after,
.vn-vote-down[title]:hover::after {
    content: attr(title);
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/* Estilos del Panel de Administración */
.vn-dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.vn-widget {
    background: white;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.vn-widget h2 {
    margin-top: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.vn-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vn-widget li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.vn-widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Estilos del Widget Frontend */
.vn-top-posts-widget {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vn-top-posts-widget li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.vn-top-posts-widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.vn-widget-score {
    color: #666;
    font-size: 0.9em;
}

/* Estilos de la tabla de Top Noticias */
.wp-list-table .column-score {
    width: 100px;
    text-align: center;
}

/* Responsive */
@media screen and (max-width: 782px) {
    .vn-dashboard-widgets {
        grid-template-columns: 1fr;
    }
}

.vn-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
}

/* Estilos para estadísticas */
.vn-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.vn-stat-card {
    background: white;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.vn-filters {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Top Users List */
#vn-top-users ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#vn-top-users li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

#vn-top-users li:last-child {
    border-bottom: none;
}

.vote-count {
    color: #666;
    font-weight: bold;
}

/* Trending Posts Table */
.vn-trending-posts {
    margin-top: 30px;
}

.sharing-buttons {
    display: flex;
    gap: 10px;
}

.share-twitter, .share-facebook {
    padding: 5px 10px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 12px;
}

.share-twitter {
    background: #1DA1F2;
}

.share-facebook {
    background: #4267B2;
}

/* Botones de compartir en el frontend */
.vn-share-buttons {
    display: flex;
    gap: 5px;
    margin-left: 10px;
}

.vn-share-twitter, .vn-share-facebook {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.vn-share-twitter:hover {
    background-color: rgba(29, 161, 242, 0.1);
}

.vn-share-facebook:hover {
    background-color: rgba(66, 103, 178, 0.1);
}

.vn-share-twitter .dashicons {
    color: #1DA1F2;
}

.vn-share-facebook .dashicons {
    color: #4267B2;
}

/* Responsive */
@media screen and (max-width: 782px) {
    .vn-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .vn-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sharing-buttons {
        flex-direction: column;
    }
}

/* votacion grid mas votadas */
.vn-votacion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.vn-votacion-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 0 0 1px #ddd;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    height: 100%;
}

.vn-votacion-item:hover {
    box-shadow: 0 0 0 2px #000;
}

.vn-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.vn-votacion-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.vn-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 15px;
}

.vn-title a {
    text-decoration: none;
    color: #111;
    transition: color 0.2s ease;
}

.vn-title a:hover {
    color: #0073aa;
}

.vn-votacion-footer {
    font-size: 14px;
    color: #555;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eee;
}