/* VATI Verificación de Noticias - Estilos */

.vati-verification-container {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.vati-verification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.vati-verification-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5em;
}

.vati-status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
}

.vati-status-badge.status-verified {
    background: #4caf50;
    color: white;
}

.vati-status-badge.status-pending {
    background: #ff9800;
    color: white;
}

.vati-status-badge.status-disputed {
    background: #f44336;
    color: white;
}

.vati-verification-score {
    margin: 20px 0;
}

.vati-score-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.vati-score-fill {
    height: 100%;
    background: linear-gradient(90deg, #f44336 0%, #ff9800 50%, #4caf50 100%);
    transition: width 0.5s ease;
    border-radius: 15px;
}

.vati-score-text {
    text-align: center;
    color: #666;
    font-size: 0.95em;
}

.vati-voting-section {
    margin: 25px 0;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

.vati-voting-section h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.vati-vote-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.vati-vote-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 25px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    font-size: 1em;
}

.vati-vote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.vati-vote-btn.active {
    border-color: #2196F3;
    background: #e3f2fd;
}

.vati-vote-btn.vati-upvote.active {
    border-color: #4caf50;
    background: #e8f5e9;
}

.vati-vote-btn.vati-downvote.active {
    border-color: #f44336;
    background: #ffebee;
}

.vati-vote-icon {
    font-size: 2em;
    margin-bottom: 5px;
}

.vati-vote-count {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin: 5px 0;
}

.vati-vote-label {
    font-size: 0.9em;
    color: #666;
}

.vati-login-prompt {
    text-align: center;
    padding: 20px;
    background: #fff3cd;
    border-radius: 8px;
    color: #856404;
}

.vati-login-prompt a {
    color: #0073aa;
    font-weight: bold;
    text-decoration: none;
}

.vati-login-prompt a:hover {
    text-decoration: underline;
}

.vati-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 8px;
}

.vati-stat-item {
    text-align: center;
}

.vati-stat-label {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 5px;
}

.vati-stat-value {
    display: block;
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
}

.vati-info-box {
    margin-top: 20px;
    padding: 15px;
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    border-radius: 4px;
    font-size: 0.9em;
    line-height: 1.6;
}

.vati-info-box p {
    margin: 10px 0;
}

.vati-info-box ul {
    margin: 10px 0 10px 20px;
}

.vati-info-box li {
    margin: 5px 0;
}

/* Badges en títulos */
.vati-badge-verified,
.vati-badge-disputed {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8em;
    margin-right: 5px;
    vertical-align: middle;
}

.vati-badge-verified {
    background: #4caf50;
    color: white;
}

.vati-badge-disputed {
    background: #f44336;
    color: white;
}

/* Responsive */
/* Tabla de Clasificación */
.vati-leaderboard-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.vati-leaderboard-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95em;
    line-height: 1.6;
}

.vati-leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.vati-leaderboard-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.vati-leaderboard-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.vati-leaderboard-table tr:hover {
    background: #f5f5f5;
}

.vati-leaderboard-table tr.vati-top-three {
    background: #fff9e6;
    font-weight: bold;
}

.vati-rank {
    font-size: 1.2em;
    font-weight: bold;
}

.vati-username {
    font-weight: 600;
}

.vati-total-points {
    font-size: 1.3em;
    color: #667eea;
}

/* Estadísticas del usuario */
.vati-my-stats {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.vati-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.vati-stat-box {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vati-stat-label {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 5px;
}

.vati-stat-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #667eea;
}

/* Badge de autor */
.vati-author-badge {
    background: #e3f2fd;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vati-author-label {
    color: #666;
    font-size: 0.9em;
}

.vati-author-name {
    font-weight: bold;
    color: #333;
}

.vati-author-points {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: bold;
}

.vati-author-rank {
    background: #ffd700;
    color: #333;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: bold;
}

/* Panel de puntos del usuario */
.vati-user-points-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
}

.vati-user-points-panel h3 {
    margin: 0 0 15px 0;
    color: white;
}

.vati-points-summary {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.vati-points-total,
.vati-points-rank {
    display: flex;
    flex-direction: column;
}

.vati-points-label,
.vati-rank-label {
    font-size: 0.9em;
    opacity: 0.9;
    margin-bottom: 5px;
}

.vati-points-value,
.vati-rank-value {
    font-size: 2em;
    font-weight: bold;
}

.vati-points-breakdown {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.vati-points-breakdown ul {
    margin: 10px 0;
    padding-left: 20px;
}

.vati-points-breakdown li {
    margin: 5px 0;
}

@media (max-width: 768px) {
    .vati-verification-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .vati-vote-buttons {
        flex-direction: column;
    }
    
    .vati-vote-btn {
        width: 100%;
    }
    
    .vati-stats {
        flex-direction: column;
    }
    
    .vati-leaderboard-table {
        font-size: 0.9em;
    }
    
    .vati-leaderboard-table th,
    .vati-leaderboard-table td {
        padding: 8px;
    }
    
    .vati-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vati-points-summary {
        flex-direction: column;
        gap: 15px;
    }
}

